v1

latestOpenAPI 3.0.32026-08-0615081.4 KB
v1

Get market status ("open" or "closed") for a date or range of dates.

get/v1/markets/status/

Query parameters

format'csv' | 'json'

The format parameter is used to specify the format for your data. We support JSON and CSV formats. The default format is JSON.

datestring date

Use to lookup status from a specific trading day. Accepted date inputs: ISO 8601, unix, spreadsheet.

fromstring date

Limit the status to dates after from (inclusive). Should be combined with to to create a range. Accepted date inputs: ISO 8601, unix, spreadsheet.

tostring date

Limit the status to dates before to (inclusive). Should be combined with from to create a range. Accepted date inputs: ISO 8601, unix, spreadsheet.

countbackinteger

Countback will fetch a number of dates before (to the left of) to. If you use from, countback is not required.

countrystring

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.

dateformat'spreadsheet' | 'timestamp' | 'unix'

The dateformat parameter allows you specify the format you wish to receive date and time information in.

limitinteger

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.

offsetinteger

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.

headersboolean

The headers parameter is used to turn off headers when using CSV output.

columnsstring

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.

humanboolean

Use human-readable attribute names in the JSON or CSV output instead of the standard camelCase attribute names.

Response

object required
All 15 operations