The ultimate guide to stock market APIs for 2020

Andy Marvel
Jan 11 · 5 min read

With the shutdown of Yahoo finance API and Google finance API, retail traders have been rushing to find new alternatives. In this story, we will discuss all stock market API providers that I’ve found, done research on.

Background knowledge about Stock APIs

Stock market API provides traders with real-time and historical price across different markets. Some providers also support fundamental and alternative data for deeper analysis or commercial applications.

It’s surprisingly difficult in the 21st century to obtain high-quality financial data for the US, let alone global markets. That’s why many data providers have been working towards breaching this gap for retail investors.

Here is a list of Reputable, Free and Affordable options:

More expensive providers :

1. Finnhub.io

Coverage: Global markets (60+ stock exchanges), forex, crypto

Historical data: 20+ years EOD , intraday data

Tick data: 20 years

Fundamental data: Global coverage of Company profile, Financial statements, Analyst’s price target and recommendation, News v.v.

Alternative data: Earnings call transcript, News sentiment, Merger and Acquisition data

API Access : REST API and Websocket

Pricing : Free plan comes with 60 API calls/minute

Pros: Institutional-grade data with the most generous free plan. Finnhub is the most comprehensive financial dataset available for retail investors.

2. IEXcloud

Coverage: Global markets (22+ stock exchanges), forex, crypto

Historical data: 20+ years EOD , 30 days 1 minute data. No support for different OHLC timeframes.

Tick data: Not available

Fundamental data: US coverage of Company profile, Financial statements, Analyst’s price target and recommendation, news, split v.v.

Alternative data: Available through 3rd partners (Wall St Horizon, Fraud Factors, Extract Alpha). Sample data: extensive company’s events, same store sales, legal actions, ESG v.v.

API Access : REST API and SSE streaming.

Pricing : Message-based system. Free plan come with 50000 messages per month with “Limited access to Core Data”. This is probably the worst part of IEXcloud as the message-based system is so complicated and you might run out of messages before the month ends and you will have to pay more to continue using the service.

Pros: Reputable IEX exchange with quite comprehensive dataset for US market.

3. Worldtradingdata

Coverage: Global markets (60+ stock exchanges), forex, crypto

Historical data: 20+ years EOD , 1 month of intraday data

Tick data: Not available

Fundamental data: Not available

Alternative data: Not available

API Access : REST API

Pricing : 250 API calls/DAY

4. Alpha Vantage

Coverage: Global markets (60+ stock exchanges), forex, crypto

Historical data: 20+ years EOD , 1 month of intraday data

Tick data: Not available

Fundamental data: Not available

Alternative data: Not available

API Access : REST API

Pricing : 500 API calls/DAY

Pros: Has the most support from the open source community

5. Eodhistoricaldata

Coverage: Global markets (60+ stock exchanges), forex, crypto

Historical data: 20+ years EOD , intraday data for 5-minute resolution only. Intraday data is also updated at the end of the day

Tick data: Not available

Fundamental data: Global coverage of Company profile, Financial statements, Analyst’s price target.

Alternative data: Not available

API Access : REST API

Pricing : No free plan. Cheapest plan starts at $19.99/month which gives you 100000 API calls/DAY

6. Barchart On Demand

Coverage: US equity, futures, forex, crypto

Historical data: 6 months EOD , 1 month intraday data

Tick data: Supported

Fundamental data: US coverage of financial statements and company profile. Not available for free plan

Alternative data: Not available

API Access : REST API

Pricing : Free plan comes with 150 API calls/DAY

7. Quandl and Intrinio

Both companies are marketplace for different data providers and you need to purchase different packages to access their data

Coverage: Mostly US with limited international markets

Historical data: 20+ years EOD , intraday data.

Tick data: Supported.

Fundamental data: US coverage of Company profile, Financial statements, Analyst’s price target and recommendation, News v.v.

Alternative data: Only available for institutional clients on Quandl.

API Access : REST API and Websocket

Pricing: Multiple free packages on Quandl however US EOD data free package is not available anymore. Intrinio only offers free trial.

Pros: A lot of choices from different providers.

8. Tiingo

Coverage: US equity, China equity, forex, crypto

Historical data: 20 years EOD , intraday data

Tick data: Supported via IEX firehose

Fundamental data: US and China coverage.

Alternative data: Not available

API Access : REST API and Firehose from IEX

Pricing : Free plan comes with 500 API calls/hour and 500 unique symbols/month.

Pros: Very affordable. Premium plan only costs $10/month

More Expensive Options

Polygon is the new kid on the block and their API is super easy to use with support for tick data across 16 US exchanges and dark pools.

As for the other options, users have been generally happy with their data quality but since their technologies are old, it’s somewhat hard to integrate these services especially on a Linux server.

I will provide more details about these premium options when more information is available.

Wrap Up

I hope that this guide will be the go-to guide for any retail investors who are looking for financial data to either build their own strategies or create the next big financial application. If you have any questions or suggestions, feel free to comment below.

(This story will be actively edited to keep information up to date)

Andy Marvel

Written by

Software engineer and quant trader on Wall st

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade