Member-only story
The (Unofficial) Yahoo Finance API
A Python interface to endless amounts of data
Background
I work in the financial services industry as a data analytics manager. My role is to support my organization in any data-related need. One project we’re working on is an internal application that relies heavily on financial data; my job was to find a way to supply the relevant data.
Getting Lucky
If you search around the internet long enough you’ll be able to find solutions that will get you there (or partially there). I played around with IEX Cloud, Quandl, and others, which are great services but just aren’t free. So, like any developer looking for a solution, I started searching StackOverflow. I frequently came across Yahoo Finance as a possible solution, even though the note below sits at the top of the search results page for yahoo-finance:
PLEASE NOTE : THIS API HAS BEEN DISCONTINUED BY YAHOO. Yahoo! Finance is a service from Yahoo! that provides financial information. It is the top financial news and research website in the United States.
It looked like people were still utilizing the service though, either by web…