> ## 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 Crypto Fear & Greed Index

Get the Crypto Fear & Greed Index history. Values range from 0 (Extreme Fear) to 100 (Extreme Greed). Includes current value with classification and historical data. Ideal for: market sentiment analysis, contrarian trading signals, risk assessment.

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

Get the Crypto Fear &amp; Greed Index history. Values range from 0 (Extreme Fear) to 100 (Extreme Greed). Includes current value with classification and historical data. Ideal for: market sentiment analysis, contrarian trading signals, risk assessment.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-macro-get-fear-greed` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `macro`, `indicators`, `sentiment`, `fear-greed`, `read` |

## Payload Schema

This action does not declare payload fields.

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currentValue` | `number` | Yes | Current Fear &amp; Greed index value \(0-100\). |
| `currentClassification` | `string` | Yes | Classification: Extreme Fear, Fear, Neutral, Greed, or Extreme Greed. |
| `history` | `array` | Yes | Array of historical Fear &amp; Greed values \(most recent last\). |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-macro-get-fear-greed",
  "payload": {},
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-macro-get-fear-greed/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.