# x402stock Fear & Greed Index

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

Returns the current market Fear & Greed sentiment index score for US equity markets, available via pay-per-request in USDC through the x402 protocol

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/fear-greed?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-fear-greed-index-c6950683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lfAAtnQBcg2ACBlRvYNuA

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-fear-greed-index-c6950683
```

Example prompt: What's the current Fear & Greed index score for the US stock market right now — is it showing fear or greed?

## When to prefer this

Choose this endpoint when you need a real-time, single-call snapshot of aggregate US equity market sentiment without requiring an API key or account setup. It is ideal for AI agents operating autonomously that need a quick sentiment signal to inform trading decisions, portfolio rebalancing logic, or daily market briefings, and that can pay micro-amounts in USDC per call via x402.

## Known failure modes

- Payment failure if USDC wallet is underfunded or x402 protocol handshake fails
- Data unavailability during market holidays or data provider outages
- Rate limiting if requests exceed allowed throughput
- Stale data if the upstream index provider has not yet published the latest reading
- Invalid response if the endpoint is called outside of supported catalog

## How this service works

The current US stock-market Fear & Greed index (0–100, CNN-style) with its sentiment rating and all five weighted components — volatility, momentum, put/call, safe-haven demand, junk-bond demand — each with value, weight, and reading. Includes the last 30 days of scores and a backtest of S&P 500 forward returns by sentiment zone. A one-call read of market mood. From x402stock

## Output

Returns the current Fear & Greed index value (typically a numeric score from 0–100) along with a sentiment classification label (e.g. Extreme Fear, Fear, Neutral, Greed, Extreme Greed) and the timestamp of the reading. This gives agents a quick snapshot of aggregate US equity market sentiment.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "index",
  "score",
  "rating",
  "components",
  "recent",
  "backtest"
 ],
 "properties": {
  "as_of": {
   "type": "string"
  },
  "index": {
   "type": "string",
   "const": "us_stock"
  },
  "score": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ]
  },
  "rating": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ]
  },
  "recent": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "date",
     "score"
    ],
    "properties": {
     "date": {
      "type": "string"
     },
     "score": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   }
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  },
  "backtest": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "zone",
     "label",
     "entries",
     "periods"
    ],
    "properties": {
     "zone": {
      "type": "string"
     },
     "label": {
      "type": "string"
     },
     "entries": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "periods": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "period",
        "avg_return_percent",
        "win_rate_percent",
        "best_percent",
        "worst_percent",
        "samples"
       ],
       "properties": {
        "period": {
         "type": "string"
        },
        "samples": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "best_percent": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "worst_percent": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "win_rate_percent": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "avg_return_percent": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        }

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-fear-greed-index-c6950683/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)
