> ## 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 CGDI Index

Retrieves historical CGDI (CoinGlass Derivatives Index) data tracking overall derivatives market sentiment. CGDI is a composite index measuring derivatives market health and activity. Ideal for: market sentiment analysis, derivatives market health monitoring, trend confirmation.

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

Retrieves historical CGDI (CoinGlass Derivatives Index) data tracking overall derivatives market sentiment. CGDI is a composite index measuring derivatives market health and activity. Ideal for: market sentiment analysis, derivatives market health monitoring, trend confirmation.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-indicator-get-cgdi-index` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `indicator`, `cgdi`, `derivatives`, `sentiment`, `read` |

## Payload Schema

This action does not declare payload fields.

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `dataPoints` | `array` | Yes | Array of CGDI Index data points. |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-indicator-get-cgdi-index",
  "payload": {},
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-indicator-get-cgdi-index/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {}
}'
```

**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.