Retrieve the Market Calendar
GET {{baseUrl}}/v1/calendar
The calendar API serves the full list of market days from 1970 to 2029. It can also be queried by specifying a start and/or end time to narrow down the results. In addition to the dates, the response also contains the specific open and close times for the market days, taking into account early closures.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start | string | The first date to retrieve data for. (Inclusive) in YYYY-MM-DD format | |
end | string | The last date to retrieve data for. (Inclusive) in YYYY-MM-DD format | |
date_type | string | ‘trading’ or ‘settlement’. Default value is ‘trading’. Indicates to filter by trade date or settlement date if start or end are specified. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"date":"1970-01-02","open":"09:30","close":"16:00","session_open":"0400","session_close":"2000","settlement_date":"1970-01-06"},{"date":"1970-01-05","open":"09:30","close":"16:00","session_open":"0400","session_close":"2000","settlement_date":"1970-01-07"},{"date":"1970-01-06","open":"09:30","close":"16:00","session_open":"0400","session_close":"2000","settlement_date":"1970-01-08"},{"date":"1970-01-07","open":"09:30","close":"16:00","session_open":"0400","session_close":"2000","settlement_date":"1970-01-09"}]