GET /fapi/api/spot/pricePerformance

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

Spot weekly, monthly, and quarterly price performance snapshot

Parameters

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

Response

type: object
pagination: none
sample: {
  "week": "list(4189)",
  "month": "list(4189)",
  "price": "list(4189)",
  "time": "list(4189)",
  "quarter": "list(4189)"
}

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/spot/pricePerformance?symbol=BTC"