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 free

Token USD price OHLCV candlestick history

Parameters

nameintypedescription
chainpathstringrequiredBlockchain slug: sol, eth, base, bsc, tron
default: sol
example: sol
addresspathstringrequiredToken contract or mint address
default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
resolutionquerystringoptionalBar resolution: 1m, 5m, 15m, 1h, 4h, 1d
default: 1h
example: 1h
limitqueryintegeroptionalMax candles
default: 100
example: 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"