Market dataCalendars
List trading days in a range
GET
/api/v1/calendars/{mic}/daysSessions for [from, to] inclusive. Range may not exceed 366 days.
Path Parameters
mic*string
ISO 10383 MIC of the venue, case-insensitive (e.g. XNAS). List them with GET /api/v1/calendars.
Query Parameters
from*string
First date of the range, inclusive, as ISO YYYY-MM-DD.
Format
dateto*string
Last date of the range, inclusive, as ISO YYYY-MM-DD. Must be on or after from, and at most 366 days later.
Format
dateResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v1/calendars/string/days?from=2019-08-24&to=2019-08-24"{ "mic": "string", "days": [ { "mic": "string", "date": "string", "is_trading_day": true, "segments": [ { "open": "string", "close": "string" } ], "reason": "string" } ]}Get a trading day GET
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").
Next trading session GET
The earliest trading day on or after from, within entered coverage. session=null when none exists in range.