# Crypto Fear & Greed Index

> Crypto Fear & Greed Index is a paid API for AI agents from agenttoll.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current Crypto Fear & Greed index value with a comparison to yesterday's value, plus optional daily history up to 30 days

## Facts

- Endpoint: GET https://agenttoll.app/api/feargreed
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-d38ae0fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EpTUmv-D-rkFl0spzPdPZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crypto-fear-greed-index-d38ae0fa
```

Example prompt: What's the current crypto fear and greed index, and how does it compare to yesterday? Also pull the last 7 days of history so I can see the trend.

## When to prefer this

Use this endpoint when you need a quick, single-call snapshot of crypto market sentiment including a built-in yesterday comparison and optional short-term history. It is ideal for trading agents, daily briefing bots, or sentiment monitors that need the fear and greed index without building their own aggregation logic.

## Known failure modes

- Invalid 'days' parameter outside 1-30 range returns a validation error
- Payment not processed (x402 payment required error) if USDC payment fails
- Service unavailability if upstream sentiment data source is down
- Empty or stale data if the index has not yet been updated for the current day

## How this service works

Crypto market sentiment check: the Fear and Greed index with yesterday's value; ?days=7 adds a daily history so you can see whether sentiment is turning

## Output

Returns the current Fear & Greed index numeric score and sentiment label (e.g. Fear, Extreme Greed), yesterday's score for comparison, and optionally an array of daily historical values for up to 30 prior days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 30,
       "minimum": 1,
       "description": "Optional. Add this many days of daily history"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "at": "2026-08-05T13:32:14.339Z",
  "days": 7,
  "value": 27,
  "history": [
   {
    "date": "2026-08-05T00:00:00.000Z",
    "value": 27,
    "classification": "Fear"
   }
  ],
  "yesterday": 25,
  "classification": "Fear"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-index-d38ae0fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.app](https://www.zero.xyz/host/agenttoll.app/llms.txt)
