# SwapHunt Fear & Greed Sentiment Comparison

> SwapHunt Fear & Greed Sentiment Comparison is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns Fear & Greed index values for today, yesterday, 7 days ago, and 30 days ago with deltas to reveal whether crypto market sentiment is improving or deteriorating over time.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/market/fear-greed/compare
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-fear-greed-sentiment-comparison-234debed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CQGEWHnYsRkv2KRcZI5qG

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 swaphunt-fear-greed-sentiment-comparison-234debed
```

Example prompt: Show me how crypto market sentiment has been shifting — I want to see today's Fear and Greed score compared to yesterday, a week ago, and a month ago, with the deltas so I can tell if mood is improving or deteriorating.

## When to prefer this

Choose this endpoint when you need multi-timeframe sentiment momentum rather than just today's Fear & Greed number. Ideal for trading agents that need to know whether sentiment is accelerating into fear or greed, not just the current reading. Prefer over a single-point Fear & Greed lookup when directional trend and delta context matter for a decision.

## Known failure modes

- Upstream Fear & Greed data source unavailable — service may return 503 or stale data
- Payment of $0.002 USDC not completed via x402 protocol — returns 402 Payment Required
- Rate limiting if called excessively in a short window
- No query parameters accepted so malformed requests are unlikely, but missing x402 payment header returns 402

## How this service works

Fear & Greed now vs yesterday, 7 days and 30 days ago — with the deltas — so an agent can see whether market sentiment is improving or deteriorating, not just today's number. Use for momentum-of-mood.

## Output

A structured response containing Fear & Greed index values at four time horizons (now, yesterday, 7 days ago, 30 days ago) plus the numeric deltas between them, enabling the agent to assess whether market sentiment momentum is positive (trending greedy) or negative (trending fearful).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "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/swaphunt-fear-greed-sentiment-comparison-234debed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
