Skip to main content
The OHLCV Tokens query returns historical Open, High, Low, Close prices and Volume for one or many tokens at configurable intervals as a one-shot response. Use this when you need a historical fetch rather than a live stream - the request and response shapes are identical to the OHLCV Tokens Stream subscription. The token_addresses input is limited to a maximum of 5 addresses per query.

Credit Cost

1 per call

Supported Chains

  • BASE_MAINNET
  • BSC_MAINNET
  • ETH_MAINNET
  • HYPERCORE_MAINNET
  • HYPEREVM_MAINNET
  • MEGAETH_MAINNET
  • MONAD_MAINNET
  • POLYGON_MAINNET
  • ROBINHOOD_MAINNET
  • SOLANA_MAINNET
Estimate your monthly cost for this API using the Pricing Calculator.

Supported Token Price Feeds

In addition to DEX-sourced prices, this query supports institutional-grade price feeds from the following providers: Pass the feed name in the token_addresses array with chain_name set to the feed’s chain name.

Parameters

chain_name
enum
required
Blockchain network to filter eventsType: ChainName
token_addresses
array<string>
required
Array of token addresses on supported DEXes and chains to track
interval
enum
required
Time interval between each OHLCV candleType: OhlcvTimeInterval
timeframe
enum
required
How far back to fetch historical OHLCV dataType: OhlcvTimeFrame
limit
int
Maximum number of items returned per stream message to control payload size

Query

You can query the ohlcvCandlesForToken endpoint to fetch a historical batch of OHLCV candles in a single response.

Response Format

Here’s an example of the response data structure:

Field Descriptions

pair_address
string
The address of the primary DEX pool with the most liquidity for the token
base_token
object
Information about the queried tokenType: TokenContractMetadata
volume
float
Trading volume during the interval
timeframe
enum
The requested timeframeType: OhlcvTimeFrame
high
float
Highest price during the interval
quote_rate
float
Exchange rate between base and quote tokens
low
float
Lowest price during the interval
quote_rate_usd
float
USD value of the quote rate
quote_token
object
Information about the paired token of the primary DEX poolType: TokenContractMetadata
interval
enum
The candle intervalType: OhlcvTimeInterval
id
string
Unique identifier for this candle
volume_usd
float
Trading volume in USD
close
float
Closing price for the interval
chain_name
enum
The blockchain network where the token existsType: ChainName
open
float
Opening price for the interval
timestamp
string
Candle timestamp (ISO-8601)