v1

latestOpenAPI 3.0.32026-07-263871106.2 KB
Pools

Historical Volume

Returns historical volume for a pool aggregated into time buckets

Notes

  • If both start_time and end_time are provided, the result covers 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}/volume/history

Path parameters

addressstring required

Base58-encoded pool address

Query parameters

timeframe'5m' | '30m' | '1h' | '2h' | '4h' | '12h' | '24h'

Timeframe

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_VolumeHistoryResponse:properties:timeframe","oasType":"schema","type":"unknown"}