Provides 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.
BitMEX Volume Calculation Warning
volume
field represents the number of contracts traded, not the volume in the base asset.To obtain the correct volume, users must adjust for contract size using the underlyingToPositionMultiplier
from our Reference endpoint.For details on this calculation and how to retrieve the correct values, see our Changelog Update.startDate
and endDate
) is:startDate
and endDate
, the API will return the most recent 62 days of daily data (not data older than 62 days from the current date).The exchange for which to retrieve the most current data.
[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
200
The response is of type object
.