# Glassnode Fear & Greed Index

> Glassnode Fear & Greed Index is a paid API for AI agents from x402.glassnode.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the current and historical Fear & Greed Index (0–100) for Bitcoin, sourced from Alternative.me and delivered via Glassnode's x402 paid API.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/fear_greed
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-fear-greed-index-9fb15c48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uBDevR6CRhiXHkSGKOICy

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 glassnode-fear-greed-index-9fb15c48
```

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

## When to prefer this

Choose this endpoint when you need a single composite sentiment score summarizing the overall Bitcoin/crypto market mood in one number. Prefer this over on-chain metrics when the goal is understanding investor psychology (fear vs. greed) rather than raw blockchain activity. It is especially useful for market timing signals, dashboard widgets, or alerting workflows that track sentiment shifts.

## Known failure modes

- Missing required 'a' query param (must be 'BTC') returns 400 error
- Payment not attached or insufficient USDC balance triggers 402 Payment Required
- Unsupported interval or format enum value returns validation error
- Rate limiting or upstream Alternative.me data unavailability may cause 503

## How this service works

Fear & Greed Index — Fear & Greed Index is a third-party sentiment composite from Alternative.me that compresses inputs from multiple sources into a single 0-to-100 scalar capturing investor sentiment, where 0 denotes "extreme fear" (exaggerated negative sentiment) and 100 denotes "extreme greed" (maximum FOMO). Data by Glassnode.

## Output

Returns an array of timestamped data points, each containing a Unix timestamp ('t') and a Fear & Greed scalar value ('v') between 0 (extreme fear) and 100 (extreme greed), reflecting aggregated crypto investor sentiment.

## 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",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "enum": [
        "BTC"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "c": {
       "enum": [
        "native"
       ],
       "type": "string",
       "description": "Currency for denominated values, e.g. usd, native"
      },
      "f": {
       "enum": [
        "csv",
        "json"
       ],
       "type": "string",
       "description": "Response format: json or csv"
      },
      "i": {
       "enum": [
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "t": {
        "type": "number"
       },
       "v": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glassnode-fear-greed-index-9fb15c48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.glassnode.com](https://www.zero.xyz/host/x402.glassnode.com/llms.txt)
