The Best Free Stock Market Data APIs Available in 2021

Friedrich Politz
Geek Culture
Published in
5 min readJan 23, 2021

--

Whether you’re building your own stock graphs or just trying to keep up with the latest market trends: You will probably find yourself in a situation where you need a free stock market API.

In this article, I will walk you through the most practical options I have tested and, of course, their caveats.

Two APIs emerged as the clear winners for my needs, but depending on what you are building, one of the other candidates could be a better fit.

Photo by Chris Liverani on Unsplash

Yahoo Finance and Google Finance

If you are using spreadsheets to track positions or checking financial news online daily, you will hardly get around Google or Yahoo Finance.

A lot of the stock market code examples are built upon them and Yahoo & Google were indeed offering APIs up until a couple of years ago.

However, both were retired and are officially dead today. Don’t waste your time here. Still, they get their fair mention in this article as you can use them in spreadsheets and Yahoo is still accessible via a scraper API (see below).

Quandl

If you’re looking for financial and economical data, Quandl offers a surreal amount of free databases to tap into. Needless to say: Stock market data is one of those.

--

--

Friedrich Politz
Geek Culture

Engineering Manager and code junkie by day, hobby chef, musician and learning enthusiast by night.