# Crypto Fear & Greed Index API

> Crypto Fear & Greed Index API is a paid API for AI agents from srv1553682.hstgr.cloud, paid per call via x402, $0.0021/call, status unknown (last checked 2026-09-14).

Returns the current Crypto Fear & Greed index value, classification, and 7-day historical data sourced from Alternative.me

## Facts

- Endpoint: GET https://srv1553682.hstgr.cloud/fng/api/fear-greed
- Price: $0.0021/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-api-71fbb0e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DTCPAMR6HaQNukcIzMMIW

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-api-71fbb0e5
```

Example prompt: What's the current Crypto Fear & Greed index score and classification right now, and how has it trended over the past 7 days?

## When to prefer this

Choose this endpoint when you need a simple, low-cost, pay-per-call read of the Crypto Fear & Greed index without setting up your own Alternative.me integration. It is ideal for agents that need real-time crypto sentiment data infrequently and want verifiable on-chain settlement via x402. Prefer the sibling composite market brief endpoint if you also need BTC/ETH spot prices and funding rates in one call.

## Known failure modes

- Upstream Alternative.me API unavailability causing stale or missing data
- Network timeout from the hosting server
- Payment failure due to insufficient USDC balance for x402 microtransaction
- Rate limiting if called excessively in short intervals

## How this service works

Crypto Fear & Greed index: current value and classification plus 7-day history. Always-on, self-healing, verified onchain settlement. Source: Alternative.me.

## Output

A JSON object containing: the current Fear & Greed index value (integer 0-100), its classification label (e.g. 'Extreme Fear', 'Fear', 'Neutral', 'Greed', 'Extreme Greed'), a Unix timestamp, an array of the past 7 days of historical index entries (each with value, timestamp, classification), and an attribution string crediting Alternative.me.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "now": {
       "type": "object",
       "properties": {
        "value": {
         "type": "integer",
         "maximum": 100,
         "minimum": 0
        },
        "timestamp": {
         "type": "integer"
        },
        "classification": {
         "type": "string"
        }
       }
      },
      "history": {
       "type": "array"
      },
      "attribution": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-fear-greed-index-api-71fbb0e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from srv1553682.hstgr.cloud](https://www.zero.xyz/host/srv1553682.hstgr.cloud/llms.txt)
