Skip to main content
GET
/
exchanges
/
{id}
/
volume_chart
/
range
Exchange Volume Chart within Time Range by ID
curl --request GET \
  --url https://pro-api.coingecko.com/api/v3/exchanges/{id}/volume_chart/range \
  --header 'x-cg-pro-api-key: <api-key>'
[
  [
    1767282600000,
    "100719.0303690094832477"
  ],
  [
    1767369000000,
    "132387.93566259711126"
  ]
]

Notes

  • Also works for derivatives exchanges (e.g. bitmex, binance_futures).
  • Data interval is fixed at daily.
  • The date range between from and to must be within 31 days.

SDK Examples

const response = await client.exchanges.volumeChart.getRange('binance', {
  from: 1767196800,
  to: 1769702400,
});

console.log(JSON.stringify(response, null, 2));

Authorizations

x-cg-pro-api-key
string
header
required

Learn how to set up your API key

Path Parameters

id
string
default:binance
required

Exchange ID or derivative exchange ID. *refers to /exchanges/list or /derivatives/exchanges/list.

Query Parameters

from
number
default:1767196800
required

Starting date in UNIX timestamp.

to
number
default:1769702400
required

Ending date in UNIX timestamp.

Response

200 - application/json

Exchange volume chart data within time range