latestOpenAPI 3.0.32026-08-20129194195.0 KB
8f32977bfb50
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
currency'usd' | 'ton'
Currency the OHLC values are expressed in. Candles are stored in the pool's own quote token and converted by a single rate per bucket, so the candle shape is identical in every currency.
Response
candles of the pool, ascending by time