# Crypto Fear & Greed Index API

> Crypto Fear & Greed Index API is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the live Crypto Fear & Greed Index (0-100) with market sentiment classification and AI-generated contrarian trading interpretation

## Facts

- Endpoint: GET https://losbeto-production-dd7c.up.railway.app/fear-greed
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-api-b513e22e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n6UQnDSRP_u4QV5gPOAAa

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

Example prompt: What's the current crypto Fear & Greed Index score right now, and what does it mean for a contrarian trading strategy?

## When to prefer this

Choose this endpoint when you need a real-time, single-call snapshot of the crypto market's emotional state with built-in AI interpretation for contrarian trading logic. Prefer this over raw index feeds when you want the classification label and a ready-to-use trading signal narrative without post-processing.

## Known failure modes

- Upstream data source unavailable — returns 503 or error body
- Rate limiting or payment verification failure — returns 402 or 429
- Invalid format query parameter — may return 400 or default to JSON
- Service cold-start on Railway deployment — elevated latency or timeout

## How this service works

Live Crypto Fear & Greed Index (0-100) with classification and AI interpretation. Contrarian signal for trading agents.

## Output

A JSON object containing the live Fear & Greed Index score (0-100), a sentiment classification label (e.g. 'Extreme Fear', 'Greed', 'Extreme Greed'), and an AI-generated interpretation providing contrarian trading context based on the current index value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Is the crowd greedy or fearful right now? The Fear & Greed Index (0-100) at this exact instant, with classification — a point-in-time reading your model's training data cannot contain. [Commodity wrapper over a public source (https://api.alternative.me/fng/ (public, free)) — buy it only for the convenience of one schema and one payment rail. The differentiated product here is the Brazilian point-in-time archive: /br-asof.]"
    }
   }
  }
 }
}
```

## More

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