Yahoo Finance Webservice API is down?

I've been using the Yahoo Finance Webservice for a few months now to fetch stock data in JSON format using the following URL: http://finance.yahoo.com/webservice/v1/symbols/JPM
However, as of today this is simply hitting a 404 error and I can't seem to find a possible work around. I understand Yahoo has made some changes to Yahoo finance and their other APIs. Does anyone have a potential solution?
Thanks.

5 Comments

Andrew B.
Andrew B. on 22 May 2017
Edited: Andrew B. on 22 May 2017
In times when Yahoo! Finance API is broken you can use CityFALCON's API for free.
Yes, historical data from http://ichart.finance.yahoo.com/table.csv is no longer working. I tried to find free or at least cheap alternative and found this one: https://eodhistoricaldata.com/ . It provides the data with CSV, exactly the same format as Yahoo Finance, then it's easy to switch, just by replacing URLs.
Yes we can forget Yahoo, :( I tried this, and is working! https://www.quandl.com/api/v1/datasets/WIKI/AAPL.csv?column=4&sort_order=asc&collapse=quarterly&trim_start=2012-01-01&trim_end=2013-12-31
Also used this one's News Scraper Api. This guy I know personally. He's a developer

Sign in to comment.

Answers (2)

Steven Lord
Steven Lord on 28 Apr 2017
According to this Answer, Yahoo changed part of the protocol of their API. That Answer includes a link to a bug report where you can apply a workaround for Datafeed Toolbox. Since it sounds like you are directly trying to access Yahoo via a URL rather than using Datafeed Toolbox, a little searching suggests to me that you want to try https:// instead of http://. If that doesn't work you may want to contact Yahoo directly to ask how to update the URL you are using.
Artem Lensky
Artem Lensky on 29 Aug 2018
There is a solution available, take a look at https://www.mathworks.com/matlabcentral/fileexchange/68361-yahoo-finance-data-downloader

Asked:

on 28 Apr 2017

Commented:

on 26 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!