# Financial Data x402 — Fear & Greed Index

> Financial Data x402 — Fear & Greed Index is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current crypto Fear & Greed Index value, classification, and recent trend data (7-day and 30-day) via pay-per-call over the x402 protocol.

## Facts

- Endpoint: GET https://x402financialdata.com/fear-greed
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-fear-greed-index-b27ccdfc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uRd2V-k3-cWi5NgNYCqOE

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 financial-data-x402-fear-greed-index-b27ccdfc
```

Example prompt: What's the current crypto fear and greed index, and has sentiment been rising or falling over the past 30 days?

## When to prefer this

Choose this endpoint when you need real-time or near-real-time crypto market sentiment without committing to an API subscription. It is ideal for agents making pay-per-call requests in USDC on Base or Solana via the x402 protocol, and for workflows that only occasionally need sentiment data. Prefer this over subscription-based Fear & Greed APIs when cost-per-call economics matter or when the agent wallet infrastructure is already x402-compatible.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Network or provider outage — returns 5xx error with no data
- Stale data if upstream sentiment provider is delayed — response still returns but date may lag
- Malformed x402 payment header — payment rejected before data is returned

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

Returns a JSON object with: (1) current — today's date, numeric fear/greed value (0–100), and text classification (e.g. 'Fear', 'Extreme Fear', 'Greed'); (2) history — array of recent daily {date, value, classification} entries; (3) trend_7d — 7-day summary with change, oldest value, average, and direction ('rising'/'falling'/'flat'); (4) trend_30d — same structure for the 30-day window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "current": {
   "date": "2026-07-30",
   "value": 28,
   "classification": "Fear"
  },
  "history": [
   {
    "date": "2026-07-30",
    "value": 28,
    "classification": "Fear"
   },
   {
    "date": "2026-07-29",
    "value": 29,
    "classification": "Fear"
   }
  ],
  "trend_7d": {
   "days": 7,
   "change": 0,
   "oldest": {
    "date": "2026-07-24",
    "value": 28,
    "classification": "Fear"
   },
   "average": 28.1,
   "direction": "flat"
  },
  "trend_30d": {
   "days": 30,
   "change": 17,
   "oldest": {
    "date": "2026-07-01",
    "value": 11,
    "classification": "Extreme Fear"
   },
   "average": 25.3,
   "direction": "rising"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-fear-greed-index-b27ccdfc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
