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 500).
- interval defines the granularity (e.g., 1h, 4h, 1d).
- inverted_price indicates whether to invert the main price ratio.
Path Parameters
Network slug or ID (e.g., 'solana'). You can find the list of supported networks with their IDs here: /networks.
Unique pool address or identifier. Such as 0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b
for WETH / USDT on ethereum
.
Query Parameters
Required start time for historical data. Can be ISO-8601, a simple date (yyyy-mm-dd), or a Unix timestamp in seconds (e.g., 1518671700
).
Optional end time for historical data (max 1 year from start). If not provided, the endpoint calculates or defaults based on limit
.
Number of rows (candlesticks or data points) to retrieve (max 366
).
Interval granularity for OHLCV data. Supported values: 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).