Endpoint overview
Retrieve historical OHLCV for a pool at granular intervals.FAQs
Which intervals are supported?
Which intervals are supported?
1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h with a max of 366 points per request.How to request a specific time range?
How to request a specific time range?
start (ISO or Unix). Optional end up to one year from the start.What does `inversed` change?
What does `inversed` change?
Path Parameters
Unique pool address or identifier. Such as 0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b for WETH / USDT on ethereum.
Query Parameters
Start time for the OHLCV data. Accepted formats:
- Unix timestamp
- RFC3339 timestamp (e.g., "2023-10-27T08:07:20Z")
- Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
"1741507640"
Start time for the OHLCV data. Accepted formats:
- Unix timestamp
- RFC3339 timestamp (e.g., "2023-10-27T10:00:00Z")
- Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
"1741508640"
Maximum number of OHLCV records to return.
1 <= x <= 366The time interval for each OHLCV record (candle).
1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h Whether to invert the price ratio in OHLCV calculations (e.g., quote token vs. base token).
Response
A list of OHLCV records successfully retrieved.
An array of OHLCV records (candlesticks) matching the query criteria.
The opening timestamp of the OHLCV period.
"2023-10-27T10:00:00Z"
The closing timestamp of the OHLCV period.
"2023-10-27T11:00:00Z"
The opening price for the period.
1500.5
The highest price reached during the period.
1525.75
The lowest price reached during the period.
1495.25
The closing price for the period.
1510
The total volume traded during the period.
1234567890123