Crypto

Classification band distribution over a lookback window

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

Query parameters

daysinteger

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

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"
    ],
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes

Changed in 2 of the 23 revisions of this API.15

    • added the optional property meta/data_age_days to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/notes to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/period to the response with the 200 status

      response-optional-property-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added