
Posted on ยท Updated on ยท 4 min read
Free Stock Market APIs for Developers in 2026: Alpha Vantage, Twelve Data, Finnhub, Polygon and More
On this page ยท 10 sections
The short answer: for the most free calls, use Twelve Data (800 a day, 8 a minute, with real-time US equities on the free plan). For a fast real-time quote API on a free key, Finnhub is the usual pick. Alpha Vantage has the broadest free dataset (stocks, FX, crypto, fundamentals and indicators) but only 25 requests a day. Polygon.io, now Massive, gives you all US tickers with end-of-day data at 5 calls a minute.
Stock data is the hardest kind of "free API". Exchanges license real-time prices, so free tiers are tightly capped, delayed, end-of-day only, or personal-use only. Our directory tracks 96 finance APIs, 90 of which were online in our October 24, 2026 check. This guide compares the free tiers developers actually choose between.
#Free stock API comparison (October 2026)
API | Free limit | Data freshness on free | History on free | Notes |
|---|---|---|---|---|
100 calls/month | End-of-day | 1 year | Paid from $9.99/month | |
800 calls/day, 8/min | Real-time US equities, forex and crypto | Yes | Next plan "Grow" (pricing page shows conflicting $29/$79) | |
25 calls/day | Mostly end-of-day and delayed | Recent daily history (full history may need premium) | Huge dataset: fundamentals, FX, indicators | |
~60 calls/min (widely cited) | Real-time US quotes (limited) | Limited | Personal use; WebSocket trades | |
5 calls/min | End-of-day | 2 years | All US tickers, reference data | |
Free key with a daily cap | End-of-day on free | Limited | Strong fundamentals and statements |
Limits come from each provider's pricing or support page in October 2026, except Finnhub's, which is the widely cited figure (we couldn't load its official pricing page). Always confirm before you build.
#Marketstack: simple end-of-day data
Marketstack, from APILayer, offers end-of-day prices for global exchanges. The free plan is small (100 requests a month, 1 year of history); Basic is $9.99/month for 10,000 requests and adds 10 years of history and US intraday data via IEX.
#Twelve Data: the most generous free tier
Twelve Data's free Basic plan includes 8 API credits a minute and 800 a day, with real-time US equities and ETFs, forex and crypto. Most endpoints cost one credit per symbol. You can try it right now with the demo key, which works for AAPL:
import requests
res = requests.get(
"https://api.twelvedata.com/time_series",
params={"symbol": "AAPL", "interval": "1day", "outputsize": 5, "apikey": "demo"},
timeout=10,
)
res.raise_for_status()
for bar in res.json()["values"]:
print(bar["datetime"], bar["close"])Swap demo for your own free key to query any symbol.
#Alpha Vantage: huge dataset, tiny quota
Alpha Vantage covers "the majority of our datasets" on the free key: stock time series, fundamentals (income statements, earnings), forex, crypto, economic indicators and 50+ technical indicators. The catch is the quota: 25 requests a day. The demo key works for IBM:
curl "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=IBM&apikey=demo"{"Global Quote": {"01. symbol": "IBM", "05. price": "253.5600", "...": "..."}}Alpha Vantage returns 200 OK even when you've hit the limit, with an Information or Note field instead of data, so check for those keys rather than relying on the status code:
data = res.json()
if "Information" in data or "Note" in data:
raise RuntimeError(data.get("Information") or data.get("Note"))#Finnhub: real-time quotes and WebSockets
Finnhub is popular for live quotes and news. Its free key is widely documented at about 60 calls a minute for personal use, plus a WebSocket stream of US trades. Every request needs a token:
const res = await fetch(`https://finnhub.io/api/v1/quote?symbol=AAPL&token=${process.env.FINNHUB_KEY}`);
const q = await res.json(); // { c: current, h: high, l: low, o: open, pc: previous close, ... }
console.log(`AAPL ${q.c} (${(((q.c - q.pc) / q.pc) * 100).toFixed(2)}%)`);Without a key you'll get 401 {"error":"Please use an API key."}.
#Polygon.io, now Massive: all US tickers, end-of-day
Polygon rebranded as Massive, and existing keys and endpoints kept working. The free Basic plan covers every US stock ticker with end-of-day data, two years of history, reference data and corporate actions, capped at 5 calls a minute. Exceed it and you get 429.
curl "https://api.polygon.io/v2/aggs/ticker/AAPL/prev?apiKey=$POLYGON_KEY"The paid Stocks Starter plan was listed at $29/month in mid-2026.
#Financial Modeling Prep: fundamentals
Financial Modeling Prep is strongest on fundamentals: income statements, balance sheets, ratios and DCF data. It has a free key with a daily request cap; the shared demo key no longer worked in our October 2026 test, so sign up for your own.
#What about Yahoo Finance?
Yahoo Finance has no official public API. The endpoints that libraries like yfinance use are unofficial and undocumented, can change without notice, and Yahoo's terms restrict usage. They're fine for personal notebooks, but don't build a product on them.
#Tips for working within free stock API limits
- Batch symbols. Twelve Data and Finnhub accept multiple symbols or have batch endpoints. One call for 8 symbols beats 8 calls.
- Cache end-of-day data for 24 hours. Daily bars don't change after the close.
- Schedule, don't poll. Fetch once after the market closes with a cron job, not on every page view.
- Mix providers. Use Alpha Vantage for fundamentals once a day and Twelve Data or Finnhub for quotes.
- Read the licence. Several free tiers are personal or non-commercial use only. Displaying exchange data commercially usually requires a paid plan.
Rankings for all 96 finance APIs, updated daily by uptime, are on our finance API rankings.
#FAQ
#What is the best free stock market API?
Twelve Data for the largest free allowance (800 calls a day with real-time US equities). Finnhub for real-time quotes and WebSockets. Alpha Vantage for the broadest dataset, at 25 calls a day.
#Is there a free real-time stock API?
Yes, with limits. Twelve Data's free plan includes real-time US equities, and Finnhub's free key provides real-time quotes for personal use. Exchange licensing means commercial real-time data is almost always paid.
#Is the Alpha Vantage API still free?
Yes. The free key allows 25 requests a day and covers most of its datasets. Paid plans remove the daily cap.
#Is there an official Yahoo Finance API?
No. The endpoints used by unofficial libraries aren't documented or supported, and Yahoo's terms restrict their use.