The OHLCV Pairs stream provides real-time updates on the Open, High, Low, Close prices and Volume of one or many token pairs at configurable intervals. This documentation follows our standard streaming API structure. The pair_addresses input is limited to a maximum of 5 addresses per subscription.
Supported Chains
BASE_MAINNET
BSC_MAINNET
ETH_MAINNET
HYPERCORE_MAINNET
HYPEREVM_MAINNET
MEGAETH_MAINNET
MONAD_MAINNET
POLYGON_MAINNET
SOLANA_MAINNET
Parameters
Blockchain network to filter events Type: ChainName
Array of pair addresses on supported DEXes and chains to track
Maximum number of items returned per stream message to control payload size
Subscription
You can subscribe to the ohlcvCandlesForPair endpoint to receive the pricing events.
subscription {
ohlcvCandlesForPair (
chain_name : BASE_MAINNET
pair_addresses : [
"0x9c087Eb773291e50CF6c6a90ef0F4500e349B903"
"0x4b0Aaf3EBb163dd45F663b38b6d93f6093EBC2d3"
]
interval : ONE_MINUTE
timeframe : ONE_HOUR
limit : 1000
) {
pair_address
base_token {
contract_name
contract_address
contract_decimals
contract_ticker_symbol
}
volume
timeframe
high
quote_rate
low
quote_rate_usd
quote_token {
contract_name
contract_address
contract_decimals
contract_ticker_symbol
}
interval
id
volume_usd
close
chain_name
open
timestamp
}
}
Here’s an example of the response data structure:
{
"data" : {
"ohlcvCandlesForPair" : [
{
"chain_name" : "BASE_MAINNET" ,
"pair_address" : "0x4b0Aaf3EBb163dd45F663b38b6d93f6093EBC2d3" ,
"interval" : "ONE_MINUTE" ,
"timeframe" : "ONE_HOUR" ,
"timestamp" : "2025-05-29T19:53:00Z" ,
"open" : 4113151.389790023 ,
"high" : 4196665.022060752 ,
"low" : 4113151.389790023 ,
"close" : 4196665.022060752 ,
"volume" : 325.7615900713698 ,
"volume_usd" : 0.2079461510855417 ,
"quote_rate" : 4196665.022060752 ,
"quote_rate_usd" : 0.0006319231563715365 ,
"quote_token" : {
"contract_name" : "Wrapped Ether" ,
"contract_symbol" : "WETH" ,
"contract_address" : "0x4200000000000000000000000000000000000006" ,
"contract_decimals" : 18
},
"base_token" : {
"contract_name" : "Toshi" ,
"contract_symbol" : "TOSHI" ,
"contract_address" : "0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4" ,
"contract_decimals" : 18
}
}
]
}
}
Field Descriptions
The address of the primary DEX pool with the most liquidity for the token
Information about the queried token Type: TokenContractMetadata Name of the token contract
Address of the token contract
Number of decimal places for the token
Ticker symbol of the token
Trading volume during the interval
Highest price during the interval
Exchange rate between base and quote tokens
Lowest price during the interval
USD value of the quote rate
Information about the paired token of the primary DEX pool Type: TokenContractMetadata Name of the token contract
Address of the token contract
Number of decimal places for the token
Ticker symbol of the token
Unique identifier for this candle
Closing price for the interval
The blockchain network where the token exists Type: ChainName
Opening price for the interval
Candle timestamp (ISO-8601)