FreeAPI.watch

Yahoo Finance API (v7)

Yahoo Finance's official public API was discontinued in 2017. Multiple unofficial endpoints have appeared since but break frequently. Tools like the yfinance Python library scrape the website and require constant maintenance to keep working.

Status
🟡 Unknown
30-day uptime
collecting…
Free tier
Officially discontinued 2017. Unofficial endpoints exist but are unstable.
Auth
No key required

Free alternatives (live ranking)

Paid alternatives

Frequently Asked Questions

Does Yahoo Finance API (v7) require an API key?

No, Yahoo Finance API (v7) is freely accessible without registration or an API key.

What is Yahoo Finance API (v7)'s free tier?

Officially discontinued 2017. Unofficial endpoints exist but are unstable.

Is Yahoo Finance API (v7) down right now?

We have not completed a check of Yahoo Finance API (v7) yet. We check every tracked API hourly.

Implementation notes

When to use Yahoo Finance API (v7)

Yahoo Finance never offered a supported public API in the modern sense. Its official developer API was discontinued in 2017, and what developers kept using afterwards was the undocumented endpoint the website itself calls, query1.finance.yahoo.com/v7/finance/quote, which returned prices, day change, market state and dozens of other fields for a comma-separated list of symbols in one keyless request. Libraries such as yfinance wrapped it and its sibling endpoints for years. It now breaks constantly: a plain request from our test machine was answered with HTTP 429 rather than a quote, and the wrappers that still work do so by imitating a browser session, against Yahoo's terms. Replace it by asset class rather than looking for one substitute. For equities, Twelve Data has the most generous keyed free tier at 800 calls a day and Alpha Vantage the most familiar at 25; Financial Modeling Prep and Finnhub cover fundamentals. For currencies, Frankfurter needs no key. For crypto, CoinGecko's Demo plan. For macroeconomic series, FRED.

Common pitfalls

Quick start (bash)

# equities: one symbol per Alpha Vantage call, 25 calls a day on the free key
curl -s 'https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=MSFT&apikey=YOUR_KEY' | jq '."Global Quote" | {price: ."05. price", change: ."10. change percent"}'
# Yahoo-style EURUSD=X pairs: Frankfurter, no key, ECB reference rates
curl -s 'https://api.frankfurter.dev/v1/latest?from=EUR&to=USD,GBP,JPY'
# Yahoo-style BTC-USD: CoinGecko Demo plan, coin IDs instead of tickers
curl -s 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd'

Embed this badge

Add a live status badge to your README, docs, or website.

Yahoo Finance API (v7) status badge

Markdown

[![Yahoo Finance API (v7) Status](https://api.freeapi.watch/badge/yahoo-finance-v7.svg)](https://freeapi.watch/yahoo-finance-v7)

HTML

<a href="https://freeapi.watch/yahoo-finance-v7"><img src="https://api.freeapi.watch/badge/yahoo-finance-v7.svg" alt="Yahoo Finance API (v7) Status"/></a>