v2

latestOpenAPI 3.0.4MIT License2026-08-015029332.0 KB
OHLCV

Historical data

Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific symbol eg BITSTAMP_SPOT_BTC_USD, if you need to query timeseries by asset pairs eg. BTC/USD, then please reffer to the Exchange Rates Timeseries data

:::info The OHLCV Historical endpoint data can be delayed a few seconds. Use OHLCV real-time data stream to get data without delay. :::

get/v1/ohlcv/{symbol_id}/history

Path parameters

symbol_idstring required

Symbol identifier of requested timeseries (from the Metadata -> Symbols)

Query parameters

period_idstring required

Identifier of requested timeseries period (e.g. 5SEC or 2MTH)

time_startstring

Timeseries starting time in ISO 8601

time_endstring

Timeseries ending time in ISO 8601

limitinteger

Amount of items to return (mininum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)

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.