# x402 Fear & Greed Index API

> x402 Fear & Greed Index API is a paid API for AI agents from x402-api-production-bd43.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Returns the current and historical Crypto Fear & Greed Index values, including sentiment classification, over a configurable number of days

## Facts

- Endpoint: GET https://x402-api-production-bd43.up.railway.app/fear-greed?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-fear-greed-index-api-f37cfbda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h_-jWETa3CnfPWtwe_e6_

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 x402-fear-greed-index-api-f37cfbda
```

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

## When to prefer this

Choose this endpoint when you need real-time or recent historical Crypto Fear & Greed Index data with a per-call micropayment model via x402/USDC, especially in agentic workflows where pay-per-use is preferred over subscription APIs. Ideal for crypto trading bots, sentiment dashboards, or any agent that needs to factor market psychology into decisions.

## Known failure modes

- Invalid or non-integer value for 'limit' parameter returns a 400 error
- Payment not included or insufficient USDC triggers a 402 Payment Required response
- Upstream data source unavailable may return 503 or stale data
- Requesting more days than available historical data may return a truncated result

## How this service works

Paid API endpoints for prices, weather, FX, news, gas, dominance, fear/greed, ATH, and more

## Output

Returns an array of daily Fear & Greed Index entries, each containing a numeric score (0–100), a sentiment label (e.g. 'Extreme Fear', 'Fear', 'Neutral', 'Greed', 'Extreme Greed'), and the corresponding date, covering the requested number of historical days up to today.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Days of history (default: 7)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-fear-greed-index-api-f37cfbda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-bd43.up.railway.app](https://www.zero.xyz/host/x402-api-production-bd43.up.railway.app/llms.txt)
