Batch Historical

Delivers 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.

❗️

Important Notice: Upcoming Changes to Batch Endpoints

Please take a moment to review the change log details here!

📘

Time Range Limit

The maximum time range (difference between startDate and endDate) is:

  • 62 days of daily, hourly or minutely data

In order to get more than the maximum allowed, you can use the Historical endpoint found here .

🚧

Not specifying startDate and endDate

If the startDate and endDate query parameters are not provided, the API will return the previous 62 days of daily data.

RESPONSE DATA
JSON Field/PathField TypeDescription
payload.metadata.columnsarrayAn array of strings that represents the columns returned in the OHLCV data. Typically includes "timestamp", "open", "high", "low", "close", and "volume".
payload.metadata.startDatenumberThe timestamp in milliseconds representing the start date for the historical OHLCV data range.
payload.metadata.endDatenumberThe timestamp in milliseconds representing the end date for the historical OHLCV data range.
payload.data.{instrument}[{index}][0]numberThe timestamp in milliseconds for the OHLCV data at the specified index for the given instrument.
payload.data.{instrument}[{index}][1]numberThe opening price of the trading pair at the specified timestamp.
payload.data.{instrument}[{index}][2]numberThe highest price of the trading pair during the specified time period.
payload.data.{instrument}[{index}][3]numberThe lowest price of the trading pair during the specified time period.
payload.data.{instrument}[{index}][4]numberThe closing price of the trading pair at the specified timestamp.
payload.data.{instrument}[{index}][5]numberThe total volume of the trading pair traded during the specified time period, in the base currency.
Language
Credentials
Header
Click Try It! to start a request and see the response here!