> ## 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 Global DeFi Data

Retrieves global DeFi market statistics including total market cap, volume, and dominance percentage. Returns DeFi-to-ETH ratio, top DeFi coin info, and sector comparison metrics. Ideal for: DeFi sector analysis, market sentiment tracking, comparing DeFi growth vs ETH.

![Get Global DeFi Data logo](https://ai-icon.b3.fun/logo/coingecko)
Catalog action Blockchain Data

Retrieves global DeFi market statistics including total market cap, volume, and dominance percentage. Returns DeFi-to-ETH ratio, top DeFi coin info, and sector comparison metrics. Ideal for: DeFi sector analysis, market sentiment tracking, comparing DeFi growth vs ETH.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coingecko-get-global-defi` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coingecko`, `defi`, `global`, `market-cap`, `read` |

## Payload Schema

This action does not declare payload fields.

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes | Global DeFi market data. |

## Examples

**Workflow node**

```json
{
  "type": "coingecko-get-global-defi",
  "payload": {},
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coingecko-get-global-defi/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.