Retrieve OHLCV (Open, High, Low, Close, Volume) candlestick data for one or multiple pools/markets.
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Pool/market contract address |
chainId | string | Yes | Chain identifier (e.g., "ethereum", "base", "solana") |
period | string | No | Candle resolution: 5m, 15m, 1h, 4h, 1d, 1w. Default: 5m |
from | number | No | Start timestamp (ms). Default: 0 |
to | number | No | End timestamp (ms). Default: current time |
amount | number | No | Maximum number of candles to return |
usd | boolean | No | Return USD prices. Default: true |
| Field | Type | Description |
|---|---|---|
t | number | Candle timestamp (ms) |
o | number | Opening price |
h | number | Highest price during the period |
l | number | Lowest price during the period |
c | number | Closing price |
v | number | Volume during the period |
5m - 5 minutes15m - 15 minutes1h - 1 hour4h - 4 hours1d - 1 day1w - 1 weekPool/market contract address
Chain identifier (e.g., 'ethereum', 'base', 'solana')
Candle resolution: 5m, 15m, 1h, 4h, 1d, 1w. Default: 5m
Start timestamp (ms)
End timestamp (ms). Default: current time
Maximum number of candles to return
Return USD prices. Default: true
OHLCV history response