Crypto

Classification band distribution over a lookback window

Changed on

Server-side aggregation over the last N days of Alternative.me Fear & Greed Index observations. Returns one count per classification band (Extreme Fear, Fear, Neutral, Greed, Extreme Greed), the arithmetic mean of the raw 0-100 value, and the inclusive period bounds. Useful for monitoring regime shifts without processing the full series.

get/api/v1/crypto/fear-greed/classification-breakdown

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/crypto/fear-greed/classification-breakdown
  • Auth: API key in header x-api-key

Query parameters

daysinteger

Lookback window in days. Upstream provides one observation per UTC day, so days also equals the number of observations aggregated.

Response

Per-band counts, average value, and the inclusive period bounds.

Example response

{
  "data": {
    "name": "Fear and Greed Index",
    "days": 30,
    "extreme_fear": 3,
    "fear": 7,
    "neutral": 4,
    "greed": 12,
    "extreme_greed": 4,
    "average_value": 58.3,
    "period_start": "2026-03-21T00:00:00Z",
    "period_end": "2026-04-19T00:00:00Z",
    "count": 30
  },
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes