Batch Historical
Changed onProvides batched historical OHLCV (Open, High, Low, Close, Volume) data for multiple futures instruments within a specified date range, including timestamps, price levels, and trading volumes across exchanges.
Request
- Base URLhttps://api.amberdata.com/markets
- URLhttps://api.amberdata.com/markets/futures/batch-ohlcv/{exchange}
- AuthAPI key in header x-api-key
Path parameters
The exchange for which to retrieve the most current data.
Query parameters
[Required] The instrument(s) for which to retrieve the most current data (comma separated). [Maximum] 50 instruments
[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Payload only includes data before this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Time interval. [Defaults] minutes | hours | days*
[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
Headers
Response
200
Changes
- info
endpoint added
- info