v1
latestOpenAPI 3.1.02026-07-2410781551.8 KBPrice & OHLCV
OHLCV - Base/Quote
Retrieve candlestick data in OHLCV format of a specified base-quote pair. Maximum 1000 records.
get/defi/ohlcv/base_quote
Query parameters
base_addressstring required
The address of the base token.
quote_addressstring required
The address of the quote token.
type'1m' | '3m' | '5m' | '15m' | '30m' | '1H' | '2H' | '4H' | '6H' | '8H' | '12H' | '1D' | '3D' | '1W' | '1M' required
OHLCV time frame.
time_frominteger required
Specify the start time using unix timestamps in seconds
time_tointeger required
Specify the end time using unix timestamps in seconds
ui_amount_mode'raw' | 'scaled' | 'both'
Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana
Headers
x-chain'solana' | 'ethereum' | 'arbitrum' | 'avalanche' | 'bsc' | 'optimism' | 'polygon' | 'base' | 'zksync' | 'monad' | 'hyperevm' | 'aptos' | 'fogo' | 'mantle' | 'megaeth' | 'robinhood' | 'sui'
A chain name listed in supported networks.
Response
JSON object containing list of ohlc and volume of base and quote