zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Fear & Greed
Logo Fear & Greed

Fear & Greed

Market sentiment on a 0-100 scale for crypto and US equities, with history and the sub-indicators behind the score.

Endpoints
3
Requests
1.4k
Updated
2 months ago
For LLMs
llms.txt
Endpoint health20 hours ago
  • cryptopassing, 0.8s
  • stockspassing, 0.6s
  • crypto-historypassing, 1.0s
3/3 passingdaily 01:00 WIB

Playground

3 endpoints
GET/v1/finance:fear-greed/crypto15m cache1 paramchecking key…
Parameters
countnumber

Days of history. Default 30, max 365

·
Response
EXAMPLE
{
  "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
}

Code examples

Crypto sentiment
zpi-sdkrecommended
// 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);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/crypto?count=30" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

3 endpoints · plain text
GETCrypto sentiment/v1/finance:fear-greed/cryptoThe crypto Fear & Greed index, with history.

Parameters

countnumberoptional
Days of history. Default 30, max 365

Request

curl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/crypto?count=30" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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
}
GETStock sentiment/v1/finance:fear-greed/stocksUS equity sentiment plus its seven sub-indicators.

Parameters

countnumberoptional
Days of history. Default 30, max 365

Request

curl -X GET "https://api.zpi.web.id/v1/finance:fear-greed/stocks?count=30" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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
}
GETCrypto History/v1/finance:fear-greed/crypto-historyThe full daily crypto Fear & Greed series, back to 2018-02-01.

Parameters

limitnumberoptional
Readings to request from the upstream, newest first. 0 means every reading it has, back to 2018-02-01. Default 0.
fromnumberoptional
Keep readings at or after this UNIX second.
tonumberoptional
Keep readings at or before this UNIX second.

Request

curl -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"

Example response

{
  "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/"
}

Related APIs

More in finance

Pluang

finance/pluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.2M calls·1d cache

IDX (Bursa Efek Indonesia)

finance/idx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

512.3K calls·1d cache

TradingView

finance/tradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

215.3K calls·1d cache

Stockbit

finance/stockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

103.9K calls·1d cache

Binance Futures

finance/binance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

38.1K calls·10m cache

Bybit

finance/bybit

Bybit v5 market data: candles, 5-minute open interest and account ratios with cursor pagination, funding history and instrument specs.

22.3K calls·10m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026