Skip to main content
The Candles (OHLC) data product is the pre-aggregated bars (Open / High / Low / Close / Volume) you’d otherwise have to compute from Trades yourself. Bars are available at multiple intervals, for tokens, trading pairs and specific pools.

What’s inside

Intervals

Access

REST

/v2/token/{chain}/{tokenAddress}/candles, /v2/token/{chain}/pool/{poolAddress}/candles, /v2/token/{chain}/pair/{pair}/candles.

WebSocket

dex-candle:{chain}_{tokenAddress}_{resolution} (USD) and dex-candle-in-native:... (native). SDK: client.stream.subscribeTokenCandles({ chain, tokenAddress, resolution, callback }).

GraphQL

Fetch bars alongside token metadata in one query.

SDK

client.token.getCandles(chain, tokenAddress, { resolution }) returns typed arrays.

Common use cases

  • Render TradingView-style price charts
  • Feed backtesting engines with historical OHLC
  • Compute technical indicators (RSI, MACD, VWAP) downstream
  • Drive time-series anomaly alerts

Billing

REST / GraphQL: pagination-priced per bar returned. WebSocket: per-bar-update.

Next

Trades (tick-level)

Use if you need tick-level granularity or custom aggregation.

DEX Pools

Pool-specific OHLC is derived from pool trades.