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.
Query parameters
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_daysto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/notesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/periodto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
codeto the response with the401statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the429statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the503statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the401statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the429statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the503statusresponse-optional-property-added
- ○
added the optional property
planto the response with the401statusresponse-optional-property-added
- ○
added the optional property
planto the response with the429statusresponse-optional-property-added
- ○
added the optional property
planto the response with the503statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the401statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the503statusresponse-optional-property-added
- ○