Guide
Alt dataCryptoSentiment No key needed

Crypto Fear & Greed Index API guide

The Crypto Fear & Greed Index from alternative.me condenses volatility, momentum and volume, social media, dominance and search trends into one daily number from 0 (extreme fear) to 100 (extreme greed). It is free, keyless and has daily history back to early 2018.

Last verified

Quick answer

The alternative.me Crypto Fear & Greed Index API (api.alternative.me/fng/) returns a free, keyless daily 0–100 crypto sentiment score with history from February 2018; limit=0 returns everything.

Crypto Fear & Greed Index API at a glance

Pricing
Free, no key
Availability
Worldwide
Paper trading
Not applicable (data only)
Integration type
Public, no key
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
Endpoint
GET https://api.alternative.me/fng/?limit=0
Frequency
One value per day
History
February 2018 onwards (limit=0 returns all)
Used by
filters.sentiment with source fear_greed

Using it in a strategy

data_sources.fear_greed_index() returns {date: value}. Contrarian strategies buy extreme fear and trim extreme greed; trend strategies do the reverse and avoid entries in fear. Because the index is published once a day, act on yesterday’s value at today’s open to avoid look-ahead.

Use Crypto Fear & Greed Index in AlgoGP

Crypto Fear & Greed Index is read by the generated data_sources.py. Turn it on from config.json under filters.sentiment. In-app backtests replay news and sentiment from dated, keyless archives, so a key, if any, is only used when the exported live.py runs; store it in the project’s Keys & secrets or a local .env.

Crypto Fear & Greed Index needs no API key: the generated code calls its public endpoints directly.

Crypto Fear & Greed Index API: frequently asked questions

Does the Fear & Greed Index API need a key?

No. It is public and free; keep requests modest since it updates once a day.

Is there a stock market fear and greed index API?

CNN publishes a stock Fear & Greed Index, but it has no official public API. This index is crypto-specific.

Add Crypto Fear & Greed Index signals to a strategy

Combine price rules with news and sentiment filters, test them point-in-time so nothing leaks from the future, and export the code.

  • Sentiment filters that block entries on bad news
  • Point-in-time replay in every backtest
  • Exported Python reads the same feed live

Free plan, no card required.

Crypto Fear & Greed Index alternatives

Independent guide. AlgoGP is not affiliated with Crypto Fear & Greed Index. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.