GET /defi/quotation/v1/{chain}/tokens/realtime_token_price

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/gmgn/defi/quotation/v1/{chain}/tokens/realtime_token_priceCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Real-time USD spot price for a single token address

Parameters

nameintypedescription
chainpathstringrequiredBlockchain slug: sol, eth, base, bsc, tron
default: sol
example: sol
addressquerystringrequiredToken contract address
default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263

Response

type: object
pagination: none
sample: {
  "usd_price": 2.0969273e-06
}

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/defi/quotation/v1/sol/tokens/realtime_token_price?address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"