GET /pool/candles/{chain}/{pair}/{sym}/{resolution}/{amount}/amount

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/dextools/pool/candles/{chain}/{pair}/{sym}/{resolution}/{amount}/amountCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical OHLCV candlesticks for a pair paginated by candle count.

Parameters

nameintypedescription
chainpathstrrequiredNetwork name or alias (ethereum, eth, matic, 137, solana, …)
example: ethereum
pairpathstrrequiredPair (pool) address.
example: 0xa43fe16908251ee70ef74718545e4fe6c5ccec9f
sympathstr
usd | eth | native
requiredQuote unit (usd or native pair quote).
default: usd
example: usd
resolutionpathstr
1s | 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 12h | 1d
requiredCandle timeframe resolution.
default: 15m
example: 15m
amountpathintrequiredFixed candle batch size enforced per resolution by Dextools (800 for 5m, 650 for 15m, 350 for 1h, 100 for 1d, other values return HTTP 400 'Parameter amount out of range').
default: 650
example: 650
tsqueryintoptionalEnd unix timestamp in seconds (auto-defaults to current time if omitted).
example: 1795562000
tzqueryintoptionalUTC timezone offset in hours (auto-defaults to 0 if omitted).
default: 0
example: 0

Response

type: object
count key: total
cursor key: next
pagination: cursor
sample: {
  "statusCode": "int",
  "data": "object"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/dextools/pool/candles/ethereum/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/usd/15m/650/amount?ts=1795562000&tz=0"