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 free

Historical exchange trading volume in BTC as [timestamp_ms, volume_btc_str] rows.

Parameters

nameintypedescription
idpathstrrequiredExchange id (from /exchanges/list).
default: binance
example: binance
daysquerystr
1 | 7 | 14 | 30 | 90 | 180 | 365
requiredLook-back window in days.
default: 7
example: 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"