# Fear & Greed — Zapi reference > Market sentiment on a 0-100 scale for crypto and US equities, with history and the sub-indicators behind the score. **Base URL:** `https://api.zapi.ink` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zapi.ink/dashboard/keys. **Response envelope:** `{ content, message, errors }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zapi.ink/api/finance/fear-greed - Endpoint catalog: https://zapi.ink/category/finance - Concise index: https://zapi.ink/llms.txt - Full reference: https://zapi.ink/llms-full.txt --- ## Fear & Greed **Category:** finance · **Slug:** `fear-greed` **Detail page:** https://zapi.ink/api/finance/fear-greed Market sentiment on a 0-100 scale for crypto and US equities, with history and the sub-indicators behind the score. **Tags:** sentiment, crypto, stocks, index, market-mood ### Crypto sentiment The crypto Fear & Greed index, with history. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:fear-greed/crypto` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `count` | number | query | no | Days of history. Default 30, max 365 | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:fear-greed/crypto?count=30" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:fear-greed/crypto?count=30", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:fear-greed/crypto?count=30", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "date": "2026-08-21", "count": 30, "items": [ { "date": "2026-08-21", "score": 72, "rating": "Greed", "timestamp": 1787270400 }, { "date": "2026-08-20", "score": 62, "rating": "Greed", "timestamp": 1787184000 }, { "date": "2026-08-19", "score": 46, "rating": "Fear", "timestamp": 1787097600 }, { "date": "2026-08-18", "score": 41, "rating": "Fear", "timestamp": 1787011200 }, { "date": "2026-08-17", "score": 31, "rating": "Fear", "timestamp": 1786924800 }, { "date": "2026-08-16", "score": 34, "rating": "Fear", "timestamp": 1786838400 }, { "date": "2026-08-15", "score": 34, "rating": "Fear", "timestamp": 1786752000 }, { "date": "2026-08-14", "score": 29, "rating": "Fear", "timestamp": 1786665600 } ], "score": 72, "market": "crypto", "rating": "Greed", "nextUpdateIn": 77562 } ``` --- ### Stock sentiment US equity sentiment plus its seven sub-indicators. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:fear-greed/stocks` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `count` | number | query | no | Days of history. Default 30, max 365 | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:fear-greed/stocks?count=30" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:fear-greed/stocks?count=30", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:fear-greed/stocks?count=30", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "asOf": "2026-08-20T23:59:58+00:00", "count": 30, "items": [ { "date": "2026-08-20", "score": 52.49, "rating": "neutral" }, { "date": "2026-08-19", "score": 57.2, "rating": "greed" }, { "date": "2026-08-18", "score": 55.09, "rating": "greed" }, { "date": "2026-08-17", "score": 58.4, "rating": "greed" }, { "date": "2026-08-14", "score": 63.97, "rating": "greed" }, { "date": "2026-08-13", "score": 66.63, "rating": "greed" }, { "date": "2026-08-12", "score": 62.94, "rating": "greed" }, { "date": "2026-08-11", "score": 61.43, "rating": "greed" } ], "score": 52.49, "market": "stocks", "rating": "neutral", "weekAgo": 66.63, "yearAgo": 55.91, "monthAgo": 37.94, "indicators": { "junkBondDemand": { "score": 94.6, "rating": "extreme greed" }, "marketMomentum": { "score": 35.8, "rating": "fear" }, "putCallOptions": { "score": 40.2, "rating": "fear" }, "safeHavenDemand": { "score": 62.8, "rating": "greed" }, "marketVolatility": { "score": 50, "rating": "neutral" }, "stockPriceBreadth": { "score": 56.2, "rating": "greed" }, "stockPriceStrength": { "score": 28, "rating": "fear" } }, "previousClose": 56.34 } ``` --- ### Crypto History The full daily crypto Fear & Greed series, back to 2018-02-01. - **Method:** `GET` - **Endpoint:** `https://api.zapi.ink/v1/finance:fear-greed/crypto-history` - **Cache TTL:** 3600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `limit` | number | query | no | Readings to request from the upstream, newest first. 0 means every reading it has, back to 2018-02-01. Default 0. | | `from` | number | query | no | Keep readings at or after this UNIX second. | | `to` | number | query | no | Keep readings at or before this UNIX second. | **cURL:** ```bash curl "https://api.zapi.ink/v1/finance:fear-greed/crypto-history?limit=0&from=1704067200&to=1767225600" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zapi.ink/v1/finance:fear-greed/crypto-history?limit=0&from=1704067200&to=1767225600", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zapi.ink/v1/finance:fear-greed/crypto-history?limit=0&from=1704067200&to=1767225600", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 3120, "items": [ { "date": "2018-02-01", "time": 1517443200, "score": 30, "rating": "Fear" }, { "date": "2018-02-02", "time": 1517529600, "score": 15, "rating": "Extreme Fear" }, { "date": "2018-02-03", "time": 1517616000, "score": 40, "rating": "Fear" }, { "date": "2018-02-04", "time": 1517702400, "score": 24, "rating": "Extreme Fear" }, { "date": "2018-02-05", "time": 1517788800, "score": 11, "rating": "Extreme Fear" }, { "date": "2018-02-06", "time": 1517875200, "score": 8, "rating": "Extreme Fear" }, { "date": "2018-02-07", "time": 1517961600, "score": 36, "rating": "Fear" }, { "date": "2018-02-08", "time": 1518048000, "score": 30, "rating": "Fear" } ], "limit": 0, "total": 3120, "market": "crypto", "dataset": "crypto-history", "interval": "1d", "provider": "alternative-me", "sourceUrl": "https://alternative.me/crypto/fear-and-greed-index/" } ``` --- _Generated: 2026-09-25T14:30:50.636Z_