# yfinance Alternative: 14 Stock APIs Ranked

> The best yfinance alternative depends on what you need. We ranked 14 free stock APIs on limits, delay, history and terms; Tradier ranks first, we rank sixth.

Source: https://www.marketdata.app/alternatives/yfinance-alternatives/

---

(image: The purple Yahoo! logo in raised letters on the white panelled facade of an office building.)

-   [Alternatives](/alternatives/)

# yfinance Alternative: 14 Free and Paid Stock APIs Ranked

The best yfinance alternative depends on what you need. We ranked 14 free stock APIs on limits, delay, history and terms; Tradier ranks first, we rank sixth.

-   [Max Nowak](/about/), Operations Manager
-   Last updated September 26, 2026

A yfinance alternative is worth switching to once the Python library’s rate limits, IP blocks or breaking changes cost you more time than a paid API would. yfinance scrapes Yahoo Finance’s own pages, and Yahoo’s terms forbid that kind of automated collection. We ranked 14 free stock APIs, official and documented, that replace it.

We are one of the 14, so we have a stake here. A search for a yahoo finance api alternative usually wants the same three things: a documented endpoint, a rate limit set on purpose rather than discovered by accident, and terms that allow a real app. We scored our own free plan with the same rubric as the rest, and it lost points on freshness.

## Which free stock API is the best yfinance alternative?

The [free stock API](/alternatives/free-stock-api/) ranking scores all 15, Yahoo Finance included; this table leaves it out.

| Rank | Provider | Score | Best for | Paid plans from |
| --- | --- | --- | --- | --- |
| 1 | Tradier | 7.1 | Free real-time stocks and options | $10/mo |
| 2 | Alpaca | 6.5 | Real-time free data via a brokerage | $99/mo |
| 4 | Tiingo | 6.4 | Generous free quota with deep history | $25/mo |
| 5 | Google Finance | 5.8 | Unlimited free quotes in Sheets | Not published |
| 6 | Market Data | 5.6 | Free forever, no card needed | $12/mo |
| 7 | EODHD | 5.4 | Small free quota, best reviews | $16.58/mo |
| 7 | ThetaData | 5.4 | Free EOD options and stock snapshots | $40/mo |
| 9 | Financial Modeling Prep | 5.1 | Free fundamentals and filings access | $22/mo |
| 10 | Massive | 4.8 | Free access to a broad multi-asset API | $23.20/mo |
| 11 | Twelve Data | 4.6 | Free trial-symbol access, generous quota | $66/mo |
| 12 | Finnhub | 4.4 | Broad data, undocumented free limit | $49.99/mo |
| 13 | Nasdaq Data Link | 4.2 | Free key to a broad marketplace | $9/mo |
| 14 | Alpha Vantage | 3.8 | Free access to global symbols | $41.58/mo |
| 15 | Marketstack | 3.5 | Cheap international EOD, small quota | $8.99/mo |

The four most relevant alternatives, with Yahoo Finance’s own free tier for comparison:

| Feature | Tradier | Alpaca | Tiingo | Yahoo Finance | Market Data |
| --- | --- | --- | --- | --- | --- |
| Free tier | Yes, $0 min., real-time data included 1 | Yes, IEX equities + indicative options 2 | 1,000 req/day, DOW 30 fundamentals 3 | Yes, real-time US quotes, no card 4 | 100 credits/day, 1yr history, delayed |
| Real-time US stocks | Yes, free with any account 5 | Free: IEX only. Paid: full-SIP 6 | IEX; full TOPS needs IEX agreement 7 | Yes, Nasdaq/NYSE/most Cboe, free 8 | SmartMid (API); IEX quote (Sheets) |
| Stock price history | Full company lifetime (daily) 9 | 7+ yrs (pages disagree on start) 2 | 30+ yrs EOD; 1-min bars since 2017 10 | 5yr free; 40+ yrs on Gold plan 4 | 2010 onward; 1-5yr free, unlimited paid |
| US options | Excellent, real-time OPRA, free 5 | Good, indicative free; OPRA paid | No | Basic, always 15m delayed 8 | Excellent, real-time OPRA (Trader+) |
| REST API | Yes 11 | Yes 12 | Yes 13 | No official API (shut down 2017) 14 | Yes |
| Official SDKs | None official (community only) 15 | Python, JS, Go, C#, Java 16 | None official; community only 17 | None official (yfinance, unofficial) 18 | Python, JS, TS, Java, C#, Go, PHP |
| Cheapest paid plan | $10/mo (Pro) 1 | $99/mo (Algo Trader Plus) 2 | $25/mo (Power, annual) 3 | $9.95/mo (Bronze) 4 | $12/mo (Starter, annual) |
| Cost of real-time stocks + options | Free, partial 1 | $99/mo 2 | Not offered 10 | Not offered 4 | $30/mo (annual) 19 |

Sources for this table, checked 2026-09-26

1.  [tradier.com/pricing](https://tradier.com/pricing)
2.  [alpaca.markets/data](https://alpaca.markets/data)
3.  [tiingo.com/about/pricing](https://www.tiingo.com/about/pricing)
4.  [help.yahoo.com/kb/yahoo-finance-plus/select-plans-sln36623.html](https://help.yahoo.com/kb/yahoo-finance-plus/select-plans-sln36623.html)
5.  [docs.tradier.com/docs/market-data.md](https://docs.tradier.com/docs/market-data.md)
6.  [alpaca.markets/support/data-provider-alpaca](https://alpaca.markets/support/data-provider-alpaca)
7.  [tiingo.com/documentation/websockets/iex](https://www.tiingo.com/documentation/websockets/iex)
8.  [help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html](https://help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html)
9.  [docs.tradier.com/docs/historical-data.md](https://docs.tradier.com/docs/historical-data.md)
10.  [tiingo.com/products/](https://www.tiingo.com/products/)
11.  [docs.tradier.com/docs/getting-started.md](https://docs.tradier.com/docs/getting-started.md)
12.  [docs.alpaca.markets/us/docs/about-market-data-api](https://docs.alpaca.markets/us/docs/about-market-data-api)
13.  [tiingo.com/documentation/general/overview](https://www.tiingo.com/documentation/general/overview)
14.  [marketdata.app/alternatives/yahoo-finance-api/](/alternatives/yahoo-finance-api/)
15.  [docs.tradier.com/docs/libraries.md](https://docs.tradier.com/docs/libraries.md)
16.  [github.com/alpacahq](https://github.com/alpacahq)
17.  [tiingo.com/documentation/appendix/integrations](https://www.tiingo.com/documentation/appendix/integrations)
18.  [github.com/ranaroussi/yfinance](https://github.com/ranaroussi/yfinance)
19.  [marketdata.app/docs/account/plan-limits/index.md](/docs/account/plan-limits/index.md)

**Tradier**

7.1/10 Real-time US equities and OPRA options at no data fee, but only with a Tradier brokerage account and for personal use.

Free allowance ×2

6/10

Freshness on the free plan ×2

10/10

History on the free plan ×1.5

8/10

Terms that allow real use ×1

5/10

Cost of the first paid step ×1

9/10

Reliability ×1

2/10

Strengths

-   Real-time data included with any brokerage account, no extra fee
-   Full company lifetime of daily history

Weaknesses

-   Requires a Tradier brokerage account
-   Trustpilot 2.0/5 (28 reviews), the weakest here

Tradier ranks first. Real-time US stock and options data comes free with any Tradier brokerage account, and daily price history reaches back to each company’s first trading day. The API is for personal use, and Trustpilot rates Tradier 2.0 from 28 reviews, the lowest of the group.

**Alpaca**

6.5/10 200 calls a minute and real-time IEX equities at no data fee, but only with an Alpaca account and for personal use.

Free allowance ×2

9/10

Freshness on the free plan ×2

9/10

History on the free plan ×1.5

6/10

Terms that allow real use ×1

5/10

Cost of the first paid step ×1

2/10

Reliability ×1

3/10

Strengths

-   Real-time IEX equities free on Basic
-   200 API calls/minute, 30 websocket symbols free

Weaknesses

-   Requires opening a brokerage account
-   Trustpilot 2.2/5 (41 reviews)

Alpaca’s free Basic plan streams real-time IEX quotes and allows 200 calls a minute, more than any other free tier here. IEX carries only part of US trading volume, and the full consolidated feed costs $99 a month.

**Tiingo**

6.4/10 1,000 requests/day free with 30+ years of price history included.

Free allowance ×2

7/10

Freshness on the free plan ×2

1/10

History on the free plan ×1.5

10/10

Terms that allow real use ×1

10/10

Cost of the first paid step ×1

6/10

Reliability ×1

7/10

Strengths

-   1,000 requests/day, 50/hour free
-   30+ years of price history on the free Starter tier
-   5 years of DOW 30 fundamentals free

Weaknesses

-   No real-time on the free tier
-   No official SDK

Tiingo’s free Starter plan allows 1,000 requests a day against more than 30 years of daily history, the deepest free archive we found. Real-time quotes need the $25-a-month Power plan, and since February 2025 the full bid/ask feed needs its own signed agreement with the IEX exchange.

**Market Data**

5.6/10 100 credits/day free forever, but stocks and options are 24-hour delayed.

Free allowance ×2

4/10

Freshness on the free plan ×2

2/10

History on the free plan ×1.5

5/10

Terms that allow real use ×1

10/10

Cost of the first paid step ×1

9/10

Reliability ×1

9/10

Strengths

-   Never expires, no credit card required
-   1 year of history included free
-   Documented, official product

Weaknesses

-   Free plan is 24-hour delayed, not real-time
-   Only 100 credits/day

Our free plan gives 100 credits a day and one year of history, with stock and options prices 24 hours delayed. In August 2026 we onboarded an options research service that was explicitly replacing Yahoo Finance as its backend price source, feeding a scanner from our API instead of scraping one. A real-time price starts on the Starter plan at $12 a month billed annually; try our [stock market API](/api/) free plan first.

## Is yfinance still free to use in 2026?

Yes, but “free” only covers the price. Yahoo’s terms bar automated collection of its data, and [yfinance’s own GitHub issues](https://github.com/ranaroussi/yfinance/issues/2422) record HTTP 429 errors and multi-day IP blocks through 2026, with no published threshold for either.

## Is yfinance legal for a commercial app?

No. Yahoo’s [terms of service](https://legal.yahoo.com/us/en/yahoo/terms/otos/index.html) forbid using its content for any commercial purpose and bar building a product that substitutes for its own service. Our [Yahoo Finance API](/alternatives/yahoo-finance-api/) guide covers the scraping workaround and where it breaks.

## Which yfinance alternative fits which need?

For free real-time stock data, Alpaca, if a brokerage account is acceptable. For the longest free history, Tiingo. For options alongside stocks, ours or Tradier’s, since the options chains yfinance reads from Yahoo are always 15 minutes delayed.

We’ve told developers who assumed a Yahoo-style ticker meant global coverage that we cover US markets only, every year from 2022 through 2026, so anyone trading outside the US should look elsewhere on this list. Our broader [best stock API](/alternatives/best-stock-api/) ranking scores the paid tier here against 16 others, and the [ranking of financial data providers](/alternatives/financial-data-providers/) adds commercial pricing to the comparison.

## Is a product that shows only derived scores still commercial?

Yes, if other people see it. In August 2026 a startup building a paid options research service asked to use our API only on its servers, as a replacement for Yahoo Finance. Its customers would only ever see its own scanner scores and option picks, never our prices.

We still classed it as commercial use, because the output served a paid product to other people, and we referred it to our partner Intrinio. The same rule separates it from the personal case: a subscriber who feeds our data into an AI assistant for his own trading stays on a personal plan.

## What does a price mismatch with GOOGLEFINANCE usually mean?

In our support history, a different listing or a different adjustment, not bad data. In September 2025 a Sheets user reported a symbol more than 10% away from GOOGLEFINANCE, stamped 17:30 instead of the 4 p.m. close.

GOOGLEFINANCE was returning a Stockholm listing with the same ticker, and the customer confirmed it. His second symbol differed because we had adjusted its history for a January 2025 spin-off and the free source had not. Our STOCKDATA formula takes an unadjusted option when you want prices as traded.

## When should you stick with yfinance?

yfinance still makes sense for a class assignment, a weekend backtest, or a script that runs a few times a day and can absorb an occasional block. It needs no signup and no card.

Once a rate limit costs you data on a day that matters, or the code has to run in production, an API built for that is the safer bet.

If yfinance is one of several providers on your list, our pages on [IEX Cloud alternatives](/alternatives/iex-cloud-alternatives/) and [Alpha Vantage alternatives](/alternatives/alpha-vantage-alternatives/) use the same rankings.

For Yahoo Finance against Alpha Vantage alone, read [Alpha Vantage vs Yahoo Finance](/alternatives/alpha-vantage-vs-yahoo-finance/).
