Skip to main content
Beta ProductThis product is currently in beta. The schema and data may change as we refine our methodology.Historical coverage varies by venue — major venues reach back to 2013–2014, while newer venues start in 2026. See Venues supported for the earliest available date per venue.
OHLCV (Open, High, Low, Close, Volume) candlestick data aggregated from CEX spot trades, broken down by individual exchange venue. Each row represents a single trading pair on a single exchange during a specific time window. Use these tables for exchange-specific price analysis, comparing prices across venues, or as the source for cross-venue aggregation.

Available Tables

TableGranularityDescription
cex.prices.ohlcv_5min_beta5-minute5-minute candlesticks by venue (one row per venue, pair, 5-min window)
cex.prices.ohlcv_hourly_betaHourlyHourly candlesticks by venue (one row per venue, pair, hour)
cex.prices.ohlcv_daily_betaDailyDaily candlesticks by venue (one row per venue, pair, day)
cex.prices.ohlcv_weekly_betaWeeklyWeekly candlesticks by venue (one row per venue, pair, week)
cex.prices.ohlcv_monthly_betaMonthlyMonthly candlesticks by venue (one row per venue, pair, month)

Sample Query

Get hourly BTC/USD prices from Coinbase for the past 7 days:
select
    timestamp,
    venue,
    base_asset,
    quote_asset,
    open,
    high,
    low,
    close,
    volume,
    volume_quote
from cex.prices.ohlcv_hourly_beta
where base_asset = 'BTC'
  and quote_asset = 'USD'
  and venue = 'coinbase'
  and timestamp >= current_date - 7
order by timestamp desc

Table Columns

Unique Key: timestamp, base_asset, quote_asset, venue, granularity
ColumnData TypeDescription
timestampTIMESTAMP_NTZ(9)Start of the candle window (UTC, truncated to the candle boundary)
base_assetVARCHARBase asset of the trading pair (e.g. BTC, ETH)
quote_assetVARCHARQuote asset of the trading pair (e.g. USD, USDC)
venueVARCHARCEX venue identifier (e.g. coinbase, kraken, binance)
granularityVARCHARCandle granularity label (5min, 1h, 1d, 1w, 1m)
openFLOATFirst trade price within the candle period
highFLOATHighest trade price within the candle period
lowFLOATLowest trade price within the candle period
closeFLOATLast trade price within the candle period
volumeFLOATTotal base asset volume traded within the candle period
volume_quoteFLOATTotal notional volume in quote asset (sum of price × quantity) within the candle period
trade_countINTEGERNumber of individual trades aggregated into this candle
_created_atTIMESTAMP_NTZ(9)Row creation timestamp
_updated_atTIMESTAMP_NTZ(9)Row last-update timestamp

Venues Supported

The Data since column shows the earliest daily candle available for each venue.
VenuevenueData since
KrakenkrakenSeptember 2013
BitstampbitstampOctober 2014
CoinbasecoinbaseDecember 2014
BinancebinanceJuly 2017
Gate.iogateNovember 2017
OKXokxDecember 2017
Crypto.comcryptodotcomOctober 2021
BullishbullishNovember 2021
BybitbybitMarch 2022
DeribitderibitJanuary 2024
BitgetbitgetMarch 2026
BitMartbitmartMarch 2026
KuCoinkucoinMarch 2026
MEXCmexcMarch 2026
PionexpionexMarch 2026
PoloniexpoloniexMarch 2026
BackpackbackpackMarch 2026
Binance.USbinanceusaMarch 2026
BitsobitsoMarch 2026
BitvavobitvavoMarch 2026
CEX.IOcexioMarch 2026
LunolunoApril 2026
UpbitupbitApril 2026
WhiteBITwhitebitApril 2026
HashKeyhashkeyApril 2026
itBititbitApril 2026
LMAX DigitallmaxApril 2026
Binance Alphabinance-alphaJune 2026