GET /official/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/geckoterminal/official/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}Cache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

OHLCV candles for a pool. timeframe: day|hour|minute|second (aggregate for sub-periods).

Parameters

nameintypedescription
networkpathstrrequiredNetwork name or alias (ethereum, eth, matic, 137, solana, …) — mapped internally
example: ethereum
pool_addresspathstrrequiredPool (pair) address; EVM addresses are lowercased
example: 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
timeframepathstrrequiredCandle timeframe: day | hour | minute | second (NOT 15m/1h — use minute + aggregate)
example: day
aggregatequeryintoptionalAggregate N timeframes into one candle (e.g. minute + aggregate=15 = 15m candles)
example: 1
limitqueryintoptionalMax candles to return
example: 10

Response

type: object
pagination: none
sample: {
  "data": "object",
  "meta": "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/geckoterminal/official/networks/ethereum/pools/0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640/ohlcv/day?aggregate=1&limit=10"