Agara
Market dataCalendars

Get a trading day

GET/api/v1/calendars/{mic}/days/{date}

Whether the venue is open on a date. is_trading_day=false is a definitive closed answer; a 404 means no data for that date (treat as "do not act", not "closed").

Path Parameters

mic*string

ISO 10383 MIC of the venue, case-insensitive (e.g. XNAS). List them with GET /api/v1/calendars.

date*string

Calendar date as ISO YYYY-MM-DD, in the venue's own timezone.

Formatdate

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/calendars/string/days/2019-08-24"
{  "mic": "string",  "date": "string",  "is_trading_day": true,  "segments": [    {      "open": "string",      "close": "string"    }  ],  "reason": "string"}