v1

latestOpenAPI 3.1.02026-07-2410781551.8 KB
Price & OHLCV

OHLCV

Retrieve candlestick data in OHLCV format of a specified token. Maximum 1000 records.

get/defi/ohlcv

Query parameters

addressstring required

The address of the token contract.

type'1m' | '3m' | '5m' | '15m' | '30m' | '1H' | '2H' | '4H' | '6H' | '8H' | '12H' | '1D' | '3D' | '1W' | '1M' required

OHLCV time frame.

currency'usd' | 'native'

Currency in which OHLCV data is presented. Choose between usd or native token.

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 ohlcv data of a token

successboolean required