Get Exchange Volume Chart
Retrieves historical trading volume chart data for an exchange over a specified number of days. Returns [timestamp, volume_in_btc] pairs with auto-adjusted granularity (10m/hourly/daily). Ideal for: tracking exchange volume trends, comparing exchange activity, building analytics dashboards.
Catalog action Blockchain Data
Retrieves historical trading volume chart data for an exchange over a specified number of days. Returns [timestamp, volume_in_btc] pairs with auto-adjusted granularity (10m/hourly/daily). Ideal for: tracking exchange volume trends, comparing exchange activity, building analytics dashboards.
At a Glance
| Field | Value |
|---|---|
| Action ID | coingecko-get-exchange-volume-chart |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coingecko, exchange, volume, chart, historical, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchangeId | string | Yes | Exchange ID (e.g., 'binance', 'coinbase-exchange'). Also supports derivatives exchange IDs. Use /exchanges/list to find IDs. |
days | number | Yes | Number of days of data to retrieve. Allowed values: 1, 7, 14, 30, 90, 180, 365. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchangeId | string | Yes | Exchange ID. |
volumes | array | Yes | Array of volume data points |
Examples
json{ "type": "coingecko-get-exchange-volume-chart", "payload": { "exchangeId": "example-exchangeId", "days": 1 }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coingecko-get-exchange-volume-chart/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "exchangeId": "example-exchangeId", "days": 1 }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
