# Crypto Fear & Greed Index

> Crypto Fear & Greed Index is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-20).

Returns the current and historical Crypto Fear & Greed Index score (0–100) with classification labels, sourced from alternative.me

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/crypto/fear-greed?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-7c7be627
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LwXe3wjosXg_me7pZvtDk

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-7c7be627
```

Example prompt: What's the current crypto fear and greed index, and can you also show me how sentiment has trended over the last 7 days?

## When to prefer this

Choose this endpoint when you need a quick, structured, pay-per-call crypto market sentiment score without requiring an API key or account. It is ideal for agents that need daily or recent historical Fear & Greed readings in JSON form and want to avoid scraping or managing API credentials. Prefer this over building your own scraper of alternative.me or over endpoints that only return the raw latest value without history.

## Known failure modes

- days parameter outside 1–30 range may return an error or be clamped
- Upstream alternative.me data may be delayed or unavailable, returning stale or empty history
- Payment failure via x402 if insufficient USDC balance on Base
- Response may reflect previous day's value if queried before 00:00 UTC daily update

## How this service works

Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.

## Output

A JSON object containing the scale description, the latest index entry (date, numeric value 0–100, classification such as 'Fear', 'Extreme Greed', 'Neutral'), an optional history array of up to 30 daily entries with the same fields, and an attribution string crediting 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer",
       "description": "1-30, default 1"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "scale": {
       "type": "string"
      },
      "latest": {
       "type": "object",
       "properties": {
        "date": {
         "type": "string"
        },
        "value": {
         "type": "number"
        },
        "classification": {
         "type": "string"
        }
       }
      },
      "history": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "date": {
          "type": "string"
         },
         "value": {
          "type": "number"
         },
         "classification": {
          "type": "string"
         }
        }
       }
      },
      "attribution": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "scale": "0 = extreme fear, 100 = extreme greed; updates daily 00:00 UTC",
  "latest": {
   "date": "2026-10-26",
   "value": 50,
   "classification": "Neutral"
  },
  "history": [
   {
    "date": "2026-10-26",
    "value": 50,
    "classification": "Neutral"
   },
   {
    "date": "2026-10-25",
    "value": 54,
    "classification": "Neutral"
   },
   {
    "date": "2026-10-24",
    "value": 51,
    "classification": "Neutral"
   }
  ],
  "attribution": "Crypto Fear & Greed Index by alternative.me (https://alternative.me/crypto/fear-and-greed-index/); not our index"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-index-7c7be627/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
