GET /fapi/api/onchain/metrics
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/onchain/metricsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeOn-chain indicator catalog and metric metadata
Parameters
No parameters documented.
Response
type: object
pagination: none
sample: {
"count": 498,
"interval": "1d",
"metrics": "list(498)",
"minimumFractionDigits": 2,
"numberEncoding": "decimal-string",
"schemaVersion": 2
}
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/onchain/metrics"