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 freeMulti-horizon return performance (4h, 24h, 7d, 30d, 90d, 180d) for a coin
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: 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"