Market sentiment on a 0-100 scale for crypto and US equities, with history and the sub-indicators behind the score.
cryptopassing, 0.8sstockspassing, 0.6scrypto-historypassing, 1.0s/v1/finance:fear-greed/crypto15m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("finance:fear-greed", "crypto", {
"count": 30
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/crypto?count=30" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/finance:fear-greed/cryptoThe crypto Fear & Greed index, with history.countnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/crypto?count=30" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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
}/v1/finance:fear-greed/stocksUS equity sentiment plus its seven sub-indicators.countnumberoptionalcurl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/stocks?count=30" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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
}/v1/finance:fear-greed/crypto-historyThe full daily crypto Fear & Greed series, back to 2018-02-01.limitnumberoptionalfromnumberoptionaltonumberoptionalcurl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/crypto-history?limit=0&from=1704067200&to=1767225600" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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/"
}