# Crypto Fear & Greed Sentiment Index

> Crypto Fear & Greed Sentiment Index is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns the current and historical crypto Fear & Greed Index value with trend, zone classification, and statistical summaries over up to 30 days.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/v1/crypto/sentiment?utm_source=zero.xyz
- Price: $0.001/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-sentiment-index-9a504450
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWPzhHm99GKI-s2AU1FeV

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-sentiment-index-9a504450
```

Example prompt: What's the current crypto Fear & Greed Index, and show me how sentiment has trended over the past 7 days — is the market in fear or greed right now?

## When to prefer this

Choose this endpoint when your agent needs crypto market sentiment context without managing API keys — ideal for trading bots, DeFi agents, or portfolio tools that want a pay-per-call Fear & Greed signal via x402 micropayments on Base. Prefer it over free alternatives when you need historical trend data (7/30-day stats, streaks, min/max) bundled in a single call and when operating in a keyless, agent-native payment environment.

## Known failure modes

- Upstream alternative.me API unavailable — stale or missing data returned
- days parameter out of range (>30 or <0) — validation error
- x402 payment not completed — 402 Payment Required response before data is served
- Network timeout on workers.dev edge — transient 5xx error

## How this service works

Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.

## Output

Returns a JSON object with the current Fear & Greed numeric value (0–100), zone label (e.g. 'Fear'), trend direction, 1-day/7-day/30-day changes, 7-day and 30-day averages, min/max over 30 days, a trading signal string, streak days in current zone, an array of historical daily readings, human-readable reasons, the previous day's reading, and an updated_at timestamp. Source is attributed to 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 30,
       "minimum": 0,
       "examples": [
        7
       ],
       "description": "History points to return (default 7, 0 = none)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "zone": "fear",
  "label": "Fear",
  "trend": "falling",
  "value": 34,
  "avg_7d": 39.4,
  "signal": "NEUTRAL",
  "source": "https://alternative.me/crypto/fear-and-greed-index/",
  "avg_30d": 47.1,
  "history": [
   {
    "date": "2026-10-30",
    "label": "Fear",
    "value": 34
   }
  ],
  "max_30d": 66,
  "min_30d": 28,
  "reasons": [
   "34 Fear, -12 vs 7d ago",
   "below 30d avg 47.1"
  ],
  "previous": {
   "label": "Fear",
   "value": 38
  },
  "change_1d": -4,
  "change_7d": -12,
  "change_30d": -20,
  "updated_at": "2026-10-30T00:00:00Z",
  "streak_days": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-sentiment-index-9a504450/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
