# x402stock Crypto Fear & Greed Index

> x402stock Crypto Fear & Greed Index is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-22, last successful call 2026-09-02).

Returns the current Crypto Fear & Greed Index score and sentiment label for the cryptocurrency market

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/fear-greed/crypto?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-22
- Last successful call: 2026-09-02
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-crypto-fear-greed-index-9079a4a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_itFT5Nv3kAKoGfAw-2vTf

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 x402stock-crypto-fear-greed-index-9079a4a3
```

Example prompt: What's the current Crypto Fear & Greed Index score right now — is the market in fear or greed territory?

## When to prefer this

Use this endpoint when you need a quick, real-time sentiment pulse on the overall cryptocurrency market without constructing your own composite index. Ideal for agents making automated trading decisions, sentiment-gated workflows, or enriching financial reports with market mood context. Prefer this over raw price data endpoints when you need a human-readable sentiment classification rather than numeric price signals.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 payment protocol fails
- Upstream data provider unavailability returns a 503 or error response
- Stale data if the index provider has not updated recently
- Invalid or malformed requests may return a 400 error

## How this service works

The Crypto Fear & Greed index (0–100) with its rating, alongside the US stock Fear & Greed score for comparison, current BTC and ETH prices with 24h change, and ~90 days of crypto sentiment history. Pass `?days=N` to size the history. The crypto-sentiment companion to /api/v1/fear-greed (stocks). From x402stock, a market & economic data API (x402, USDC).

## Output

Returns the current Crypto Fear & Greed Index as a numeric score (0–100) and a corresponding sentiment label (e.g. Extreme Fear, Fear, Neutral, Greed, Extreme Greed), along with a timestamp indicating when the reading was last updated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "crypto",
  "stock",
  "prices",
  "history"
 ],
 "properties": {
  "as_of": {
   "type": "string"
  },
  "stock": {
   "type": "object",
   "required": [
    "score"
   ],
   "properties": {
    "score": {
     "anyOf": [
      {
       "type": "number"
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "crypto": {
   "type": "object",
   "required": [
    "score",
    "rating"
   ],
   "properties": {
    "score": {
     "anyOf": [
      {
       "type": "number"
      },
      {
       "type": "null"
      }
     ]
    },
    "rating": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "prices": {
   "type": "object",
   "propertyNames": {
    "type": "string"
   },
   "additionalProperties": {
    "type": "object",
    "required": [
     "price",
     "change",
     "change_percent"
    ],
    "properties": {
     "price": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "change": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "change_percent": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   }
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  },
  "history": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "date",
     "score"
    ],
    "properties": {
     "date": {
      "type": "string"
     },
     "score": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   }
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-crypto-fear-greed-index-9079a4a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
