v1
latestOpenAPI 3.0.32026-08-0615081.4 KBGet market status ("open" or "closed") for a date or range of dates.
Query parameters
The format parameter is used to specify the format for your data. We support JSON and CSV formats. The default format is JSON.
Use to lookup status from a specific trading day. Accepted date inputs: ISO 8601, unix, spreadsheet.
Limit the status to dates after from (inclusive). Should be combined with to to create a range. Accepted date inputs: ISO 8601, unix, spreadsheet.
Limit the status to dates before to (inclusive). Should be combined with from to create a range. Accepted date inputs: ISO 8601, unix, spreadsheet.
Countback will fetch a number of dates before (to the left of) to. If you use from, countback is not required.
Use to specify the country of the exchange. Use the two digit ISO 3166 country code. If no country is specified, US exchanges will be assumed.
The dateformat parameter allows you specify the format you wish to receive date and time information in.
The limit parameter allows you to limit the number of results for a particular API call or override an endpoint's default limits to get more data.
The offset parameter is used together with limit to allow you to implement pagination in your application. Offset will allow you to return values starting at a certain value.
The headers parameter is used to turn off headers when using CSV output.
The columns parameter is used to limit the results and only request the columns you need. The most common use of this feature is to embed a single numeric result from one of the end points in a spreadsheet cell.
Use human-readable attribute names in the JSON or CSV output instead of the standard camelCase attribute names.