# 2s Fear & Greed Index Watcher

> 2s Fear & Greed Index Watcher is a paid API for AI agents from 2s.io, paid per call via x402, $0.125/call, status unknown (last checked 2026-11-28).

Registers a webhook watcher that fires when the Crypto Fear & Greed Index crosses a user-defined threshold (above or below), posting a signed callback to any URL.

## Facts

- Endpoint: POST https://2s.io/api/watchers/fear-greed?utm_source=zero.xyz
- Price: $0.125/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-fear-greed-index-watcher-8dae20d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dWe-XmYb-N8tH17qjV8wR

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 2s-fear-greed-index-watcher-8dae20d5 -d '<json body>'
```

Example prompt: Set up a watcher on the Crypto Fear & Greed Index and POST to https://myapp.example.com/hooks/sentiment when the index goes above 75 — fire up to 5 times and expire after 30 days, tag it 'greed-alert'.

## When to prefer this

Use this endpoint when you need event-driven, asynchronous notification the moment crypto market sentiment crosses a meaningful threshold, rather than polling the Fear & Greed Index repeatedly. It is ideal for triggering trading signals, portfolio rebalancing workflows, or dashboard updates without maintaining a polling loop. Prefer it over a raw Fear & Greed lookup endpoint when you want fire-and-forget automation with guaranteed callback delivery and signature verification.

## Known failure modes

- Invalid or unreachable callbackUrl — watcher created but callbacks silently fail or return error
- threshold out of 0–100 range — validation error returned
- conditionType missing or invalid enum value — request rejected
- expiresInSeconds exceeds 7,776,000 (90 days) — capped or rejected
- maxFires exceeds 1000 — rejected
- Callback endpoint fails to verify X-2s-Signature — user-side issue, not API fault
- Payment failure via x402 — watcher not registered

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns a watcher registration object with a unique watcher ID, confirmation of the threshold and condition, and the callback URL. Subsequently, whenever the Fear & Greed Index crosses the specified threshold in the specified direction, 2s POSTs a signed event (with X-2s-Signature header for verification) to the callbackUrl containing the current index value, timestamp, and any echoed payload. The watcher auto-expires after the configured window or after maxFires callbacks.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "label": {
   "type": "string",
   "maxLength": 64,
   "description": "Optional free-text tag."
  },
  "payload": {
   "type": "object",
   "description": "Arbitrary JSON echoed back in every callback.",
   "additionalProperties": {}
  },
  "maxFires": {
   "type": "integer",
   "maximum": 1000,
   "minimum": 1,
   "description": "Stop after this many callbacks (default 1)."
  },
  "threshold": {
   "type": "number",
   "maximum": 100,
   "minimum": 0,
   "description": "Index value 0–100 to cross (e.g. 20 = extreme fear, 80 = extreme greed)."
  },
  "callbackUrl": {
   "type": "string",
   "maxLength": 2048,
   "description": "Signed event POSTed here (verify X-2s-Signature). Any http(s) URL."
  },
  "conditionType": {
   "enum": [
    "above",
    "below"
   ],
   "type": "string",
   "description": "Fire when the index goes above or below the threshold."
  },
  "expiresInSeconds": {
   "type": "integer",
   "maximum": 7776000,
   "minimum": 60,
   "description": "Active window in seconds (default 30d, max 90d)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-fear-greed-index-watcher-8dae20d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
