Loading the API reference…

Browse the API reference

Get one market's schedule and exceptions

get https://quant-ws.prod.thinkalpha.io/markets/{marketIdentifierCode}

Returns the full schedule for a single market: its display name, time zone, the weekdays it never opens, its typical weekly schedule, and its schedule and day exceptions (holidays, early closes and full closures).

typicalSchedule is the recurring weekly pattern; scheduleExceptions lists the specific days that deviate from it (each covering a whole day, with a holiday name); dayExceptions lists the subset that close the market entirely.

Pass scheduleExceptionInterval to return only the schedule and day exceptions whose holiday date falls in that range; omit it for the full list. For the per-session phases over a range, use GET /markets/{marketIdentifierCode}/trading-hours; for every market at once, use GET /markets/master.

Authentication
Bearer token or Client credentials (HTTP Basic)

Path parameters

  • marketIdentifierCode string required

    The ISO 10383 market identifier code (MIC) exactly as listed in the market master.

Query parameters

  • scheduleExceptionInterval Interval

    Optional interval `<start>/<end>` (ISO 8601 instants). Each end is converted to a calendar date in the market time zone, and both dates are included, so an end at midnight still includes that day. When set, only schedule and day exceptions whose holiday date falls within it are returned; omit for all.

Responses

The schedule and exceptions for one market.

  • name string required

    The market's display name (its exchange name for canonical records).

  • micCode string required

    The ISO 10383 market identifier code (MIC) of the market.

  • timezone string required

    The IANA time zone of the market.

  • alwaysClosedDays DayOfWeek[] required

    Weekdays the calendar never opens.

  • TypicalTradingScheduleEntry[] required

    The recurring weekly schedule.

  • SpecificTradingSchedule[] required

    Specific days that deviate from the typical schedule, each covering a whole day.

  • DayInfo[] required

    Holidays on which the market is closed for the whole day, one entry per date (`isOpen` is always false). Early-close days appear only in `scheduleExceptions`.