POST /api/v1/major_coin_prices

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/gmgn/api/v1/major_coin_pricesCache executed live on every call — a read-only POST answer is never cachedCost per_call · weight 1 · standard rate classSource billing free

Batch USD prices for major base assets (SOL, ETH, BNB, BTC)

Parameters

nameintypedescription
symbolsbodylist[str]requiredMajor coin ticker symbols
default: ['SOL', 'ETH', 'BNB', 'BTC']
example: ["SOL","ETH","BNB","BTC"]

Response

type: object
pagination: none
sample: {
  "prices": "list(4)"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/gmgn/api/v1/major_coin_prices" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"symbols": ["SOL", "ETH", "BNB", "BTC"]}'