GET /api/v1/token_candles/{chain}/{address}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/gmgn/api/v1/token_candles/{chain}/{address}Cache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeToken USD price OHLCV candlestick history
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | path | string | required | Blockchain slug: sol, eth, base, bsc, tron default: solexample: sol |
address | path | string | required | Token contract or mint address default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 |
resolution | query | string | optional | Bar resolution: 1m, 5m, 15m, 1h, 4h, 1d default: 1hexample: 1h |
limit | query | integer | optional | Max candles default: 100example: 100 |
Response
type: object
pagination: none
sample: {
"_debug_tpool": null,
"_debug_tpool_desc": "exchange orca not support tpool",
"list": "list(100)"
}
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/gmgn/api/v1/token_candles/sol/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263?resolution=1h&limit=100"