With the rise of fintech and digital transformation in the financial industry, using APIs to obtain financial data has become a crucial part of investment research and analysis. Github, as the world’s largest open source community, contains numerous high-quality repositories that provide easy access to a wide range of investing APIs. In this article, I will recommend 5 best Github repositories for investing APIs based on popularity, documentation, and functionality.

yfinance – Easy access to Yahoo Finance API
yfinance is arguably the most popular Python package on Github for retrieving financial data from Yahoo Finance API. It provides a simple and reliable way to download historical stock prices, dividends, splits, earnings etc. One of the key advantages of yfinance is the coverage of international markets. It supports tickers from major stock exchanges such as NYSE, NASDAQ, London Stock Exchange, Tokyo Stock Exchange and more. The documentation is also very clear with many code examples.
IEX Cloud – Python SDK for IEX Cloud API
IEX Cloud provides a financial data API that covers US stocks and ETFs. Its Python SDK iexfinance on Github makes it very convenient to get real-time stock quotes, company fundamentals, technical indicators etc. One of the benefits of IEX Cloud is that it offers a free sandbox tier, so you can test the API before upgrading to a paid plan. The SDK implements all the endpoints and has detailed documentation.
pyEX – Unofficial Python Wrapper for IEX API
In addition to the official IEX Cloud SDK, there is also an unofficial wrapper called pyEX developed by community members. It implements the legacy IEX API which is now retired after IEX Cloud launch. But pyEX still works nicely and gives you free access to historical data. It has good documentation and a lot of handy utility functions built on top of the basic API.
tiingo – Clean and reliable financial data
Tiingo provides curated financial data for stocks, ETFs and cryptos. Its Python SDK tiingo on Github allows downloading daily OHLCV price data and much more. The free plan offers API access for end-of-day data. Tiingo stands out by providing clean and reliable historical datasets for backtesting research. The API documentation is excellent with examples in multiple languages including Python.
eodhistoricaldata – API for global market data
eodhistoricaldata is an API for historical end-of-day data across global capital markets. It covers stocks, ETFs, mutual funds, FOREX, and cryptocurrencies. The Python package eod-historical-data on Github implements the API in an easy-to-use manner. By default, it includes 3 years of OHLCV data for US equities. More countries, asset classes and longer history are available in paid plans. With eodhistoricaldata you get a quick start for backtesting strategies.
In summary, Github hosts some of the most popular investing APIs and makes them easily accessible to Python developers. No matter you are a beginner or professional, you can find useful repositories on Github to get clean, reliable, and global financial data. These APIs open the door to quantitative analysis, algorithmic trading, backtesting, fintech apps and more.