v19

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-288570715.5 KB

Pool OHLCV Chart by Pool Address

To get the OHLCV chart (Open, High, Low, Close, Volume) of a pool based on the provided pool address on a network

get/onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}

Path parameters

networkstring required

Network ID. *refers to /onchain/networks.

pool_addressstring required

Pool contract address.

timeframe'day' | 'hour' | 'minute' | 'second' required

Timeframe of the OHLCV chart.

Query parameters

aggregatestring

Time period to aggregate each OHLCV. Available values (day): 1 Available values (hour): 1, 4, 12 Available values (minute): 1, 5, 15 Available values (second): 1, 15, 30 Default value: 1

before_timestampinteger

Return OHLCV data before this timestamp (integer seconds since epoch).

limitinteger

Number of OHLCV results to return, maximum 1000. Default value: 100

currency'usd' | 'token'

Return OHLCV in USD or quote token. Default: usd

tokenstring

Return OHLCV for token, use this to invert the chart. Available values: base, quote, or token address. Default: base

include_empty_intervalsboolean

Include empty intervals with no trade data. Default: false

Response

Pool OHLCV chart data