GET /exchanges/{id}/volume_chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/exchanges/{id}/volume_chartCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeHistorical exchange trading volume in BTC as [timestamp_ms, volume_btc_str] rows.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Exchange id (from /exchanges/list). default: binanceexample: binance |
days | query | str1 | 7 | 14 | 30 | 90 | 180 | 365 | required | Look-back window in days. default: 7example: 7 |
Response
type: array
pagination: none
sample: {
"[0]": "array[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/coingecko/exchanges/binance/volume_chart?days=7"