Aggregated OHLCV over an arbitrary range
Single aggregated OHLCV row spanning [from, to] (Unix ms) for the token’s top pair. Internally reads candles at the requested resolution (default 1m) and rolls them up: open = first candle open, close = last candle close, high/low = max/min across the range, volume_sol = sum, sample_count = number of candles aggregated.
Returns 400 if the window expands to more than 10,000 candles at the chosen resolution — bump to a coarser resolution or shrink the window.
Authorizations
Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).
Query Parameters
Token mint (base58).
Start of range (Unix ms, inclusive).
End of range (Unix ms, inclusive).
1m, 5m, 1h, 1d Response
Aggregated OHLCV across the range

