> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Spot CVD

Get historical CVD (Cumulative Volume Delta) data for a specific spot trading pair on an exchange. CVD measures the cumulative difference between buy and sell volume over time. Ideal for: trend confirmation, divergence detection, buy/sell pressure analysis, market sentiment.

![Get Spot CVD logo](https://ai-icon.b3.fun/logo/coinglass)
Catalog action Blockchain Data

Get historical CVD (Cumulative Volume Delta) data for a specific spot trading pair on an exchange. CVD measures the cumulative difference between buy and sell volume over time. Ideal for: trend confirmation, divergence detection, buy/sell pressure analysis, market sentiment.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-spot-get-cvd` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `spot`, `cvd`, `volume`, `delta`, `history`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `exchange` | `string` | Yes | Exchange name \(e.g., 'Binance', 'OKX'\). |
| `symbol` | `string` | Yes | Trading pair symbol \(e.g., 'BTCUSDT'\). |
| `interval` | `string` | Yes | Time interval \(e.g., '1m', '5m', '15m', '30m', '1h', '4h', '12h', '1d'\). |
| `limit` | `number` | No | Number of data points to return \(default: 100\). |
| `startTime` | `number` | No | Start timestamp in milliseconds. |
| `endTime` | `number` | No | End timestamp in milliseconds. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `exchange` | `string` | Yes | Exchange name |
| `symbol` | `string` | Yes | Trading pair symbol |
| `interval` | `string` | Yes | Time interval |
| `dataPoints` | `array` | Yes | Array of CVD \(Cumulative Volume Delta\) data points |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-spot-get-cvd",
  "payload": {
    "exchange": "example-exchange",
    "symbol": "ETH",
    "interval": "1m"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-spot-get-cvd/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "exchange": "example-exchange",
    "symbol": "ETH",
    "interval": "1m"
  }
}'
```

**Use expressions for dynamic values**

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.