# Crypto Fear & Greed Index API

> Crypto Fear & Greed Index API is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Returns the current crypto Fear and Greed Index value (0–100) with sentiment classification and optional historical data as a real-time market sentiment signal.

## Facts

- Endpoint: GET https://api.x402node.dev/market/fear-greed
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-api-1f566b76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h_fA2zw3yNa7dKObIc4nu

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-1f566b76
```

Example prompt: What's the current crypto Fear and Greed Index right now — give me the number and whether the market is fearful or greedy?

## When to prefer this

Use this endpoint when you need a live, up-to-date crypto market sentiment reading that is beyond any LLM's training cutoff. Ideal for trading assistants, market dashboards, or any agent that needs to know whether crypto markets are currently in a fear or greed state. Prefer this over LLM-internal knowledge for any real-time sentiment signal.

## Known failure modes

- Upstream data source unavailable — 502 or 503 error
- Request rate limit exceeded — 429 Too Many Requests
- Payment not attached or insufficient — 402 Payment Required
- Invalid query parameters — 400 Bad Request

## How this service works

Current crypto Fear and Greed Index value (0-100) with classification and optional history, a real-time market sentiment signal not available in any LLM training data. fear greed index, crypto sentiment, market fear, greed index, sentiment indicator Accepts payment on Base or Solana — either network works.

## Output

Returns a numeric Fear and Greed Index value between 0 and 100, a text classification (e.g. 'Extreme Fear', 'Fear', 'Neutral', 'Greed', 'Extreme Greed'), the timestamp of the reading, and optionally a series of historical index values if requested.

## Example request

```json
{}
```

## 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": "string",
       "description": "Days of history, default 1, max 30"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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