GET /fapi/api/coin/performance

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coinglass/fapi/api/coin/performanceCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Multi-horizon return performance (4h, 24h, 7d, 30d, 90d, 180d) for a coin

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC

Response

type: object
pagination: none
sample: {
  "h4": 1.95,
  "h24": -0.7,
  "d7": -8.19,
  "d30": -25.55,
  "d90": -24.62,
  "d180": -18.98
}

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/coinglass/fapi/api/coin/performance?symbol=BTC"