v4

latestOpenAPI 3.0.32026-08-07129194194.6 KB
DexTrades

OHLCV candles for a token in a single pool (USD). Ascending by time.

get/v1/dextrades/{token}/candles

Path parameters

tokenstring required
Example:EQCl0S4xvoeGeFGijTzicSA8j6GiiugmJW5zxQbZTUntre-1

Query parameters

resolutioninteger required

Candle length in seconds

frominteger required

Unix timestamp in seconds

tointeger required

Unix timestamp in seconds

poolstring

Pool contract address; omitted — the primary pool is resolved by the backend

Response

candles of the pool, ascending by time

poolstring

Pool the candles were computed for; absent — no pool found for the token