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
Notes
- Use
timeframewithaggregatefor custom intervals (e.g.minute?aggregate=15for 15-minute OHLCV). - Timestamps use epoch/unix format (e.g.
1708850449). - Each
ohlcv_listelement: - Intervals with no swaps are skipped by default. Set
include_empty_intervals=trueto fill gaps (OHLC = previous close, volume = 0).
SDK Examples
Authorizations
Path Parameters
Network ID.
*refers to /onchain/networks.
Pool contract address.
Timeframe of the OHLCV chart.
day, hour, minute Query Parameters
Time period to aggregate each OHLCV.
Available values (day): 1
Available values (hour): 1, 4, 12
Available values (minute): 1, 5, 15
Default value: 1
Return OHLCV data before this timestamp (integer seconds since epoch).
Number of OHLCV results to return, maximum 1000. Default value: 100
Return OHLCV in USD or quote token.
Default: usd
usd, token Return OHLCV for token, use this to invert the chart.
Available values: base, quote, or token address.
Default: base
Include empty intervals with no trade data.
Default: false

