Skip to content
FearGreedChart

Tools

Public API

Free JSON for every index, for dashboards, trading tools and research.

Base URL

Fair use

Data is cached on the server for 15 minutes, so polling faster returns the same response. Fetching once per page load, or every 15 minutes, is enough for most uses. Heavy automated traffic from one IP address may be throttled.

https://feargreedchart.com/api/

Endpoints

Open one to see its fields and try it live.

GET/?action=allEverything in one call.

The current score with all five signals, market data for the major indices and sector ETFs, the full score history, and notable past episodes.

Cache 15 min

FieldTypeWhat it is
score.scoreintComposite score, 0 to 100
score.componentsarrayFive signals, each with name, val, wt, desc and raw
marketobjectPrice, change, percent change and recent closes for each symbol
recentarrayFull score history: [{date, score}, …]
sectorsobjectSentiment score per sector ETF (XLK, XLF and others)
notablearrayNotable past sentiment episodes
tsintServer timestamp in milliseconds
GET/?action=historyEvery daily score as JSON.

An array of readings, oldest first: daily scores from October 2016, plus a few estimated points earlier in 2016.

FieldTypeWhat it is
[].datestringDate, YYYY-MM-DD
[].scoreintFear & Greed score, 0 to 100
GET/?action=history&format=csvThe same history as a CSV file.

Ready for Excel, Google Sheets or any analysis tool. Each row also carries the zone, the change from the prior day and the S&P 500 (SPY) close.

FieldTypeWhat it is
datestringYYYY-MM-DD
scoreint0 to 100
zonestringExtreme Fear to Extreme Greed
score_changeintChange from the previous reading
spy_closefloatSPY closing price
spy_change_pctfloatSPY daily change, %
GET/?action=marketPrices for every tracked symbol.

Current price, daily change and recent closes for the VIX, SPY, QQQ, DIA, IWM and 11 sector ETFs.

FieldTypeWhat it is
{SYM}.pricefloatCurrent or last price
{SYM}.chgfloatDaily change
{SYM}.pctfloatDaily change, %
{SYM}.closesarrayRecent daily closes
GET/?action=newsMarket headlines.

Up to seven deduplicated headlines from Yahoo Finance, MarketWatch and Reuters feeds, newest first.

Cache 15 min

FieldTypeWhat it is
[].titlestringHeadline
[].linkstringLink to the article
[].publisherstringSource name
[].timeintUnix timestamp
GET/?action=cryptoCrypto sentiment with BTC and ETH prices.

The crypto Fear & Greed Index from alternative.me, BTC and ETH prices from Yahoo Finance, the stock index for comparison and a year of crypto history.

Cache 10 min

FieldTypeWhat it is
crypto_fng.scoreintCrypto Fear & Greed score, 0 to 100
crypto_fng.labelstringExtreme Fear, Fear, Neutral, Greed or Extreme Greed
prices.BTCUSD.pricefloatBTC price in USD
prices.ETHUSD.pricefloatETH price in USD
stock_fng.scoreintStock market score, for comparison
crypto_history[]array365 days of crypto scores (date, score)
GET/?action=insiderInsider buying against selling.

Computed from SEC Form 4 filings on SEC EDGAR: open-market purchases against sales over a rolling 30 days.

Cache 30 min

FieldTypeWhat it is
score.scoreintInsider score, 0 to 100
score.labelstringHeavy Selling, Sell Pressure, Neutral, Accumulation or Strong Conviction
score.components[]arrayBuy/sell ratio, C-suite conviction, buy momentum and sell pressure
score.statsobjecttotal_buys, total_sells, total_buy_val, total_sell_val, csuite_buys
top_buys[]arrayNotable purchases: symbol, name, title, shares, value, date
top_sells[]arrayNotable sales
GET/?action=liquidityUS net liquidity from FRED.

Net liquidity = Fed balance sheet (WALCL) − Treasury General Account (WTREGEN) − reverse repo (RRPONTSYD).

Cache 6 hours

FieldTypeWhat it is
scoreint0 to 100: where net liquidity sits in its two-year range
labelstringVery Tight, Tight, Neutral, Loose or Very Loose
net_liquidityfloatNet liquidity, trillions of USD
trendfloatFour-week change, trillions
trend_labelstringExpanding, Contracting or Stable
components[]arrayFed balance sheet, TGA, RRP and M2, each with value, date and series ID
history[]arrayAbout two years of weekly net liquidity (date, net)
GET/?action=regimeThe current market regime.

Combines the Fear & Greed score, insider sentiment, the VIX and US liquidity into one regime, with every matching regime, the signal dashboard and similar past episodes.

Cache 10 min

FieldTypeWhat it is
regime.namestringCapitulation Phase, Liquidity Squeeze, Euphoria Zone, Complacency with Headwinds, Fear with Macro Support, Recovery Phase, Risk-On Environment, Consolidation Phase or Neutral with Undercurrents
regime.severitystringpositive, negative, caution, neutral, moderate or watch
currentobjectfg_score, fg_zone, velocity, vel_dir, vix, vix_level, insider_score, insider_label, liq_score, liq_trend, liq_label
all_regimes[]arrayEvery matching regime (several can be active)
history.episodesintPast episodes in the same zone
history.avg_fwd_5dfloatAverage 5-day change in the score after similar episodes
history.avg_fwd_22dfloatAverage 22-day change in the score

Regional indices

Each runs on its own subdomain with its own fields.

GETkospi.feargreedchart.com/api/?action=kospiKOSPI Fear & Greed Index

Korea. Momentum (KOSPI against its 125-day average), volatility, safe-haven demand (USD/KRW) and foreign flow (KRX investor data via Naver Finance).

Endpoints 3Cache 5 min live, 1 hour history

Refresh Daily after the Seoul close (15:30 KST)

?action=kospi ?action=kospi-history ?action=kospi-history.csv

Full KOSPI API docs
GETnikkei.feargreedchart.com/api/?action=nikkeiNikkei Fear & Greed Index

Japan. Momentum (Nikkei 225 against its 125-day average), volatility, currency (USD/JPY 20-day change) and foreign flow (JPX TSE Prime weekly investor data).

Endpoints 5Cache 5 min live, 1 hour history and rates

Refresh Daily after the Tokyo close (16:45 JST); foreign flow on Thursdays after JPX publishes

?action=nikkei ?action=nikkei-rates ?action=nikkei-history ?action=nikkei-flow ?action=health

Full Nikkei API docs
GETnifty.feargreedchart.com/api/?action=niftyNIFTY Fear & Greed Index

India. Momentum (NIFTY 50 against its 125-day average), volatility, currency (USD/INR 20-day change) and foreign flow (NSE FII cash net buying). Uses the first three equally until 100 days of FII history build up.

Endpoints 3Cache 5 min live, 1 hour history

Refresh Daily after the NSE close (15:30 IST), Monday to Friday

?action=nifty ?action=nifty-history ?action=nifty-history.csv

Full NIFTY API docs

Quick start

// Get today's score
fetch('https://feargreedchart.com/api/?action=all')
  .then(r => r.json())
  .then(data => {
    const score = data.score.score;
    const label = score <= 20 ? 'Extreme Fear'
                : score <= 40 ? 'Fear'
                : score <= 60 ? 'Neutral'
                : score <= 80 ? 'Greed'
                : 'Extreme Greed';
    console.log(`Fear & Greed: ${score} — ${label}`);
  });

Attribution appreciated. If you use the API in a public project, a link back to feargreedchart.com is welcome but not required. Data is provided as is, with no uptime guarantee. Not financial advice.

Trading playlist
Trading playlist
Loading...