v1

latestOpenAPI 3.1.02026-07-2410781551.8 KB
Price & OHLCV

OHLCV - Pair

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

get/defi/ohlcv/pair

Query parameters

addressstring required

The address of a pair contract

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

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 pair

successboolean required