Batch Historical

Changed on

Delivers historical OHLCV (Open, High, Low, Close, Volume) data in batch format for multiple Options market contracts, providing comprehensive price and volume history over specified time ranges for efficient analysis across multiple instruments.

get/options/batch-ohlcv/{exchange}

Request

  • Base URL
    https://api.amberdata.com/markets
  • URL
    https://api.amberdata.com/markets/options/batch-ohlcv/{exchange}
  • Auth
    API key in header x-api-key

Path parameters

exchangestring required

The exchange for which to retrieve the most current data.

Query parameters

instrumentsstring required

[Required] The instrument(s) for which to retrieve the most current data (comma separated). [Maximum] 50 instruments

startDatestring date-time

[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

endDatestring date-time

[Optional] Payload only includes data before this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

timeIntervalstring

[Optional] Time interval. [Defaults] minutes | hours | days*

timeFormatstring

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Headers

Accept-Encodingstring required
api-versionstring

Response

200

statusinteger
titlestring
descriptionstring

Changes