Calendar API

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.

[GET] Get the calendar

GET/v1/calendar
Returns the market calendar.

Parameters

Query Parameters

start
timestamp
The first date to retrieve data for (inclusive)
end
timestamp
The last date to retrieve data for (inclusive)

Response

An array of Calendar object

Calendar Entity

Example

{
  "date": "2018-01-03",
  "open": "09:30",
  "close": "16:00"
}

Properties

date
string
Date string in “%Y-%m-%d” format
open
string
The time the market opens at on this date in “%H:%M” format
close
string
The time the market closes at on this date in “%H:%M” format