Token OHLCV Chart by Token Address
To get the OHLCV chart (Open, High, Low, Close, Volume) of a token based on the provided token address on a network
Notes
- Returns OHLCV data from the most liquid pool of the token. Use Top Pools by Token Address to check which pool is used.
- Timestamps use epoch/unix format (e.g.
1708850449). - Analyst plan and above can access data from September 2021 to present (depending on pool tracking start). Each call retrieves a max 6-month range — use
before_timestampfor older data. - 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
Learn how to set up your API key
Path Parameters
Network ID.
*refers to /onchain/networks.
Token contract address.
Timeframe of the OHLCV chart.
day, hour, minute, second Query Parameters
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
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 Include empty intervals with no trade data.
Default: false
Include token data from inactive pools using the most recent swap.
Default: false

