> ## 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 Market Cap Chart

Retrieves historical global crypto market cap and volume chart data (Pro plan exclusive). Returns [timestamp, value] pairs with auto-adjusted granularity; supports 1-365 days or 'max'. Ideal for: macro market analysis, tracking overall crypto growth, analyzing market cycles.

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

Retrieves historical global crypto market cap and volume chart data (Pro plan exclusive). Returns [timestamp, value] pairs with auto-adjusted granularity; supports 1-365 days or 'max'. Ideal for: macro market analysis, tracking overall crypto growth, analyzing market cycles.


## At a Glance

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

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `days` | `number \| string` | Yes | Number of days of data. Options: 1, 7, 14, 30, 90, 180, 365, or 'max' for all history. |
| `vsCurrency` | `string` | No | Target currency for market cap conversion \(default: 'usd'\). |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `marketCap` | `array` | Yes | Array of market cap data points |
| `volume` | `array` | Yes | Array of volume data points |

## Examples

**Workflow node**

```json
{
  "type": "coingecko-get-global-market-cap-chart",
  "payload": {
    "days": 1
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coingecko-get-global-market-cap-chart/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "days": 1
  }
}'
```

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