MATLAB Answers

Yahoo Finance Webservice API is down?

39 ビュー (過去 30 日間)
John Gwyneth
John Gwyneth 2017 年 4 月 28 日
コメント済み: John Doe 2020 年 5 月 26 日
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 件のコメント
John Doe
John Doe 2020 年 5 月 26 日
Also used this one's News Scraper Api. This guy I know personally. He's a developer

サインインしてコメントする。

回答 (2 件)

Steven Lord
Steven Lord 2017 年 4 月 28 日
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 Lenskiy
Artem Lenskiy 2018 年 8 月 29 日
There is a solution available, take a look at https://www.mathworks.com/matlabcentral/fileexchange/68361-yahoo-finance-data-downloader

Community Treasure Hunt

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

Start Hunting!

Translated by