Get Exchange Volume Chart by Date Range
Retrieves historical trading volume for an exchange within a specific date range (max 31 days, Pro plan). Returns [timestamp, volume_in_btc] pairs with daily granularity for spot and derivatives exchanges. Ideal for: analyzing volume during events, custom period reports, investigating volume patterns.
Catalog action Blockchain Data
Retrieves historical trading volume for an exchange within a specific date range (max 31 days, Pro plan). Returns [timestamp, volume_in_btc] pairs with daily granularity for spot and derivatives exchanges. Ideal for: analyzing volume during events, custom period reports, investigating volume patterns.
At a Glance
| Field | Value |
|---|---|
| Action ID | coingecko-get-exchange-volume-chart-range |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coingecko, exchange, volume, chart, historical, range, 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. |
from | number | Yes | Start date as Unix timestamp (seconds). |
to | number | Yes | End date as Unix timestamp (seconds). Must be within 31 days of start date. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchangeId | string | Yes | Exchange ID. |
volumes | array | Yes | Array of daily volume data points |
Examples
json{ "type": "coingecko-get-exchange-volume-chart-range", "payload": { "exchangeId": "example-exchangeId", "from": 1, "to": 1 }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coingecko-get-exchange-volume-chart-range/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "exchangeId": "example-exchangeId", "from": 1, "to": 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.
