Definition

OHLCV is an aggregated form of market data standing for Open, High, Low, Close and Volume. OHLCV data includes 5 data points: the Open and Close represent the first and the last price level during a specified interval. High and Low represent the highest and lowest reached price during that interval. Volume is the total amount traded during that period. This data is most frequently represented in a candlestick chart, which allows traders to perform technical analysis on intraday values. We provide OHLCV data with minutely, hourly or daily granularity.


Details

For the OHLCV values, the price is always in quote and the volume unit is always in base. For example, if the pair was BTC-USD, then the price values returned are in USD and the volume value is in BTC.

One thing to note is that exchanges compute their daily candles differently; they don't all use midnight UTC. See table below for reference:

Spot ExchangeTime of daily compute
binance00:00:00
binanceus00:00:00
bitfinex00:00:00
bitget16:00:00
bithumb15:00:00
bitmex00:00:00
bitstamp00:00:00
bybit00:00:00
deribit08:00:00
dYdXN/A
ftx00:00:00
ftxus00:00:00
gdax00:00:00
gemini04:00:00 and 00:00:00
huobi16:00:00
kraken00:00:00
lmaxN/A (only provides minutely candles)
mexc00:00:00
mercadobitcoin00:00:00
okex16:00:00
poloniex00:00:00
zb16:00:00

API Endpoints

Spot

/markets/spot/ohlcv/information
/market/spot/ohlcv/{pair}/latest
/market/spot/ohlcv/{exchange}/exchange/latest
/markets/spot/ohlcv/{pair}/historical
/market/spot/ohlcv/{exchange}/exchange/historical

Futures

/markets/futures/ohlcv/information
/market/futures/ohlcv/{instrument}/latest
/market/futures/ohlcv/exchange/{exchange}/latest
/markets/futures/ohlcv/{instrument}/historical
/market/futures/ohlcv/exchange/{exchange}/historical

Options

/markets/options/ohlcv/information
/market/options/ohlcv/{instrument}/latest
/market/options/ohlcv/exchange/{exchange}/latest
/markets/options/ohlcv/{instrument}/historical
/market/options/ohlcv/exchange/{exchange}/historical

Swaps

/market/swaps/ohlcv/information
/market/swaps/ohlcv/{instrument}/latest
/market/swaps/ohlcv/exchange/{exchange}/latest
/market/swaps/ohlcv/{instrument}/historical
/market/swaps/ohlcv/exchange/{exchange}/historical


Availability

Our OHLCV endpoints are available via REST API for historical (time series) data as well as WebSockets for real-time data.

This table outlines how far back our OHLCV data goes across the different exchanges within the Spot, Futures, Options and Swaps market:

ExchangeSpot Start Date*Futures Start Date*Options Start Date*Swaps Start Date*
Bitstamp2011-08-18XXX
Bitfinex2013-01-14XXX
Bitget2024-09-262024-10-02XX
BitmexX2018-08-02X2016-03-29
Kraken2013-10-06XXX
DeribitX2018-08-132021-11-17X
dYdXX2024-11-22XX
GDAX2014-12-01XXX
Gemini2015-10-08XXX
Binance2017-08-172019-09-08XX
Binance.USX
Bithumb2018-10-09XXX
Huobi2019-02-012021-02-19X2020-12-31
ZB2019-04-05XXX
OKeX2019-10-012021-07-01X2021-01-01
FTX**2020-12-312019-07-20XX
LMAX2021-04-04XXX
Mercado Bitcoin***2024-03-20XXX
Bybit2021-09-012018-11-14XX
Poloniex2021-10-12XXX

*These dates represent the oldest start date we have for OHLCV data across all pairs/contracts
**As of 2022-11-12, we stopped supporting FTX, but historical data will remain available
***The OHLCV data for Mercado Bitcoin is currently available exclusively through S3


Frequently Asked Questions

What are your standard offered timeframes?

  • The standard offered timeframes are 1 minute, 1 hour and 1 day.

How is OHLCV data useful?

  • OHLCV data is useful because you can use it to create visual charts which can show increasing or decreasing momentum for a specific trading pair. When the open and close are far apart it shows strong momentum, and when the open and close are close together it shows indecision or weak momentum. The high and low show the full price range of the period, useful in assessing volatility. There several patterns traders watch for on OHLCV charts.