v2

latestOpenAPI 3.0.4MIT License2026-08-015029332.0 KB
OHLCV

Historical data by exchange

Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific exchange eg BITSTAMP

:::info The OHLCV Historical endpoint data can be delayed a few seconds. Use OHLCV real-time data stream to get data without delay. The difference between time_end and time_start cannot be higher than 1 day. The period_id cannot be higher than 1DAY. :::

get/v1/ohlcv/exchanges/{exchange_id}/history

Path parameters

exchange_idstring required

Exchange identifier of requested timeseries (from the Metadata -> Exchanges)

Query parameters

period_idstring required

Identifier of requested timeseries period (e.g. 5SEC or 1DAY)

time_startstring required

Timeseries starting time in ISO 8601

time_endstring required

Timeseries ending time in ISO 8601

Response

successful operation

time_period_startstring date-time

Gets or sets the start time of the time period.

time_period_endstring date-time

Gets or sets the end time of the time period.

time_openstring date-time nullable

Gets or sets the time when the price opened.

time_closestring date-time nullable

Gets or sets the time when the price closed.

price_opennumber double nullable

Gets or sets the opening price.

price_highnumber double nullable

Gets or sets the highest price during the time period.

price_lownumber double nullable

Gets or sets the lowest price during the time period.

price_closenumber double nullable

Gets or sets the closing price.

volume_tradednumber double

Gets or sets the total volume traded during the time period.

trades_countinteger

Gets or sets the number of trades executed during the time period.

symbol_id_exchangestring nullable
symbol_id_coinapistring nullable