v1

latestOpenAPI 3.0.32026-07-263871106.2 KB
Pools

OHLCV

Returns OHLCV candles for a single pool over a time range

Notes

  • If both start_time and end_time are provided, candles are returned in the range [start_time, end_time]
  • If only one of start_time or end_time is provided, the missing bound is inferred using the selected timeframe
  • If neither is provided, a default range is used based on timeframe
get/pools/{address}/ohlcv

Path parameters

addressstring required

Base58-encoded pool address

Query parameters

timeframestring

Candle interval

Allowed values 5m 30m 1h 2h 4h 12h 24h

If omitted, the API uses 24h

start_timeinteger

Unix timestamp in seconds (inclusive)

If omitted, the API uses a default range based on timeframe

end_timeinteger

Unix timestamp in seconds (inclusive)

If omitted, the API uses "now" as the end

Response

end_timeinteger required
start_timeinteger required
{"stackTrail":"components:schemas:TimeseriesResponse_OHLCVResponse:properties:timeframe","oasType":"schema","type":"unknown"}