Pools
Get OHLCV data for a pool pair.
Retrieves Open-High-Low-Close-Volume (OHLCV) data for a specific pool, potentially over a specified time range.
- start is required to set the beginning of the data window.
- end is optional; if omitted, data is returned for the “start” date only.
- limit can control how many data points to retrieve (e.g., maximum of 100).
- interval defines the granularity (e.g., 1h, 4h, 1d).
- inverted_price indicates whether to invert the main price ratio.
GET
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)
Example:
"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)
Example:
"1741508640"
Maximum number of OHLCV records to return.
Required range:
1 <= x <= 366
The time interval for each OHLCV record (candle).
Available options:
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
200
application/json
A list of OHLCV records successfully retrieved.
An array of OHLCV records (candlesticks) matching the query criteria.