Skip to main content

v1/getHistoricalOHLCV RPC Method

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

Updated on
Jan 30, 2025

v1/getHistoricalOHLCV RPC Method

Parameters

symbol_id
string
REQUIRED
Symbol identifier of requested timeseries (from the Metadata -> Symbols)
period_id
string
REQUIRED
Identifier of requested timeseries period (required, e.g. 5SEC or 1HRS)
time_start
string
REQUIRED
Timeseries starting time in ISO 8601
time_end
string
REQUIRED
Timeseries ending time in ISO 8601
limit
integer
Amount of items to return (optional, 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)

Returns

result
array
Array of OHLCV timeseries data
time_period_start
string
The start time of the time period
time_period_end
string
The end time of the time period
time_open
string
The time when the price opened
time_close
string
The time when the price closed
price_open
integer
The opening price
price_high
integer
The highest price during the time period
price_low
integer
The lowest price during the time period
price_close
integer
The closing price
volume_traded
integer
The total volume traded during the time period
trades_count
integer
The number of trades executed during the time period
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free