Batch Historical
Changed onDelivers historical OHLCV (Open, High, Low, Close, Volume) data in batch format for multiple Spot market trading pairs, providing comprehensive price and volume history over specified time ranges for efficient analysis across multiple assets.
Request
- Base URLhttps://api.amberdata.com/markets
- URLhttps://api.amberdata.com/markets/spot/batch-ohlcv/{exchange}
- AuthAPI key in header x-api-key
Path parameters
The exchange for which to retrieve OHLCV
Query parameters
[Required] The pair(s) for which to retrieve the most current data (comma separated). [Maximum] 50 pairs
[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