# Crypto Fear & Greed Index (Current + 7-Day History)

> Crypto Fear & Greed Index (Current + 7-Day History) is a paid API for AI agents from opportunity-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the current Crypto Fear & Greed index value plus its 7-day historical readings as a market sentiment signal for trading decisions.

## Facts

- Endpoint: GET https://opportunity-api-production.up.railway.app/api/fear-greed
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-fear-greed-index-current-7-day-history-8ab09a8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_85TXcD8DHiMw2hZb3KSPa

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-current-7-day-history-8ab09a8a
```

Example prompt: What's the current crypto Fear & Greed index and how has it trended over the past 7 days?

## When to prefer this

Use this endpoint when a trading agent or workflow needs a quick, structured sentiment signal without building custom index logic. It covers both the current sentiment snapshot and short-term historical context in a single call, making it ideal for triggering trades, rebalancing, or filtering entry signals based on market mood.

## Known failure modes

- Upstream data source unavailable — returns 5xx error
- Payment not processed — returns 402 Payment Required
- Rate limiting — too many calls in short period returns 429

## How this service works

Crypto Fear & Greed index: current value plus 7-day history. Market sentiment signal for trading agents.

## Output

Returns the current Fear & Greed index numeric value (0-100) with its sentiment label (e.g. Extreme Fear, Fear, Neutral, Greed, Extreme Greed), plus the last 7 daily readings with their values, labels, and timestamps.

## 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",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-index-current-7-day-history-8ab09a8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opportunity-api-production.up.railway.app](https://www.zero.xyz/host/opportunity-api-production.up.railway.app/llms.txt)
