+Crypto Fear & Greed API
Get the Crypto Fear & Greed Index today, its 7- and 30-day averages and the full daily history as JSON.
The API.SH Crypto Fear & Greed API returns the Crypto Fear & Greed Index published by Alternative.me, on a scale from 0 (extreme fear) to 100 (extreme greed). One call gives today's value and classification, the seconds until the next update, the 7-day and 30-day averages and the daily history back to February 2018, newest first. Use limit for the most recent days or start and end for a date range.
- 1 endpoint
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/crypto/v1/ fear-greed
{ "success": true } What you can build with the Crypto Fear & Greed API
Trading bot signals
Read today's value and classification before each run and change position size or pause buying when the market is in extreme greed or extreme fear.
Backtesting with historical sentiment
Pull the daily history for a date range with start and end and join it to your price data to test sentiment-based strategies.
Dashboards and widgets
Show the current index, its label and the 7- and 30-day averages on a crypto dashboard, newsletter or Discord bot, and refresh when the next update is due.
Market sentiment in spreadsheets
Load the last 30 or 90 days into Google Sheets to chart sentiment next to your portfolio without writing code.
Crypto Fear & Greed data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Crypto Fear & Greed API endpoints and prices
Every Crypto Fear & Greed endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Crypto Fear & Greed Index /crypto/ | $1 · $2 PAYG 1 credit |
Call the Crypto Fear & Greed API
Crypto Fear & Greed Index: GET https://api.api.sh/crypto/
curl "https://api.api.sh/crypto/v1/fear-greed?limit=30" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/crypto/v1/fear-greed",
params={"limit": "30"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/crypto/v1/fear-greed");
url.searchParams.set("limit", "30");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/crypto/v1/fear-greed", "limit", "30")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Crypto Fear & Greed" and "Crypto Fear & Greed Index".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Crypto Fear & Greed data
- Public data only: no Crypto Fear & Greed login, cookies or account needed
- One key and one response shape for Crypto Fear & Greed and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Crypto Fear & Greed API
Alternative.me, which publishes the Crypto Fear & Greed Index, offers its own free public API for the index. API.SH returns the same index with the 7- and 30-day averages already computed, date-range filtering and the same key and JSON shape as the rest of API.SH, which helps if you already pull other market data through it.
Alternative.me's free endpoint is enough for a single script; Apify actors, RapidAPI listings and CoinMarketCap's index each need their own account and format. API.SH is worth it when you want the index next to other API.SH data, in Sheets, Zapier or n8n, or inside an AI agent through MCP.
Crypto Fear & Greed API questions
What data does the Crypto Fear & Greed API return?+
From /crypto/v1/fear-greed: today's value (0 to 100) and classification, seconds to the next update, the 7- and 30-day averages, and the daily history back to February 2018, newest first. Filter with limit, start and end.
How much does it cost?+
Every Crypto Fear & Greed endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free Fear and Greed Index API?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /crypto/v1/fear-greed at 1 credit each. Alternative.me also publishes the index through its own free API.
Where does the data come from?+
The index is published by Alternative.me. API.SH reads it and adds the averages and date filtering.
Do I need keys for the underlying sources?+
No. One API.SH key is all you need.
Is this the CNN Fear and Greed Index?+
No. CNN's index measures the US stock market. This endpoint returns the Crypto Fear & Greed Index, which tracks sentiment in the crypto market.
How often is the index updated?+
Once a day. Each response includes the seconds until the next update, so you can schedule your next call.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /crypto/v1/fear-greed with limit=30. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.