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 freeOHLCV candles for a pool. timeframe: day|hour|minute|second (aggregate for sub-periods).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
network | path | str | required | Network name or alias (ethereum, eth, matic, 137, solana, …) — mapped internally example: ethereum |
pool_address | path | str | required | Pool (pair) address; EVM addresses are lowercased example: 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640 |
timeframe | path | str | required | Candle timeframe: day | hour | minute | second (NOT 15m/1h — use minute + aggregate) example: day |
aggregate | query | int | optional | Aggregate N timeframes into one candle (e.g. minute + aggregate=15 = 15m candles) example: 1 |
limit | query | int | optional | Max 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"