GMGN token price candles

GET https://api.api.sh/gmgn/v1/token/chart
1 credit / call finance & crypto try it in the playground →

OHLC price candles of a token on GMGN: open, high, low, close, USD volume and token amount per candle. Choose the candle size and a from and to range.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
chain sol | eth | bsc | base | tron | blast Blockchain (default sol). Example: sol
addressrequired string Token contract address. Example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
resolution 1m | 5m | 15m | 30m | 1h | 4h | 1d Candle size (default 1h). Example: 1h
from string Start of the range (ISO date or unix seconds). Default: limit candles before to.
to string End of the range (ISO date or unix seconds). Default: now.
limit integer Maximum candles returned (1-2000, default 200).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/gmgn/v1/token/chart?address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.