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
Returns the market calendar.
The first date to retrieve data for (inclusive)
The last date to retrieve data for (inclusive)
An array of Calendar
Date string in “%Y-%m-%d” format
The time the market opens at on this date in “%H:%M” format
The time the market closes at on this date in “%H:%M” format
Suggestions or questions?
We're always happy to hear from you. You can contribute to
these docs on GitHub
or you can join our Community Slack
to get help from other community members and the Alpaca team.