# Crypto Fear & Greed Index API

> Crypto Fear & Greed Index API is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns the current and historical Crypto Fear & Greed index values sourced from alternative.me, payable per-call in USDC on Base.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/fear-greed?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-api-9ecc67cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__b70qpjDQCU3J0rkxgzxW

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-api-9ecc67cb
```

Example prompt: What's the current Crypto Fear & Greed index, and can you show me how it's trended over the last 14 days?

## When to prefer this

Use this endpoint when you need the well-known alternative.me Crypto Fear & Greed index — either the current reading or a short historical series (up to 30 days) — for sentiment-aware trading logic, market monitoring, or enriching crypto analysis workflows. Prefer it over manual scraping of alternative.me or general web-fetch endpoints because it delivers clean, structured index data for a flat $0.01 USDC per call.

## Known failure modes

- Invalid or out-of-range 'days' parameter (outside 1–30) may return an error or default behavior
- Upstream alternative.me API unavailability causing fetch failure
- Payment failure on Base network blocking the request
- Rate limiting or quota issues on the underlying provider

## How this service works

Crypto Fear & Greed index, latest + history (alternative.me). 0.01 USDC/call on Base.

## Output

Returns the latest Crypto Fear & Greed index score (0–100) with a sentiment label (e.g. 'Extreme Fear', 'Greed'), plus a time series of historical daily readings for the requested number of days, as provided by alternative.me.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "string",
       "description": "History days 1-30 (default 7)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-index-api-9ecc67cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
