cancel
Showing results for 
Search instead for 
Did you mean: 
Cancel

Help Community

Announcements
Yahoo Help Community is also available in Spanish and Chinese.

has yahoo stopped history data api service?

SOLVED
Highlighted
'Hoo Recruit

has yahoo stopped history data api service?

I used to download yahoo history data everyday with my program until this week. My code is as follows,

URL queryStockUrl = new URL(stockQueryURL);
HttpURLConnection connection = (HttpURLConnection) queryStockUrl
.openConnection();
connection.connect();
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream(),"utf-8"));

Now the reader can get nothing, no error, no exception thrown. If I enter the same stockQueryURL as above into chrome, I can download the history data file in chrome, but my program can't.

I guess yahoo has stopped the api service, if server finds your history data request is not from a web browser, it will offer you nothing. Is it true?

1 ACCEPTED SOLUTION

Accepted Solutions
Pro 'Hoo

Re: has yahoo stopped history data api service?

I've just figured out the problem 5 minutes ago. When I download the problematic link with wget, wget shows the redirect to the new link. The URLs have changed, your Chrome browser is following the re-direct, your app is not.

For me, my url has changed as follows:

http://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv   <--From

https://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv  <--To

Here's another example:

http://finance.yahoo.com/d/quotes.csv?s=AAPL&f=a      <--From
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL   <--To

 

Good luck!

18 REPLIES
'Hoo Recruit

Re: has yahoo stopped history data api service?

I have the same problem...please help us!!!!

Tags (2)
oqg
Established 'Hoo

Re: has yahoo stopped history data api service?

Something is happening, and people are reporting this issue in the MATLAB forum as me. Yahoo has changed something from last monday 17 April that not allow to get  the historical data as before.

 

*URL Removed - See the community guidelines for more information.*

Pro 'Hoo

Re: has yahoo stopped history data api service?

I've just figured out the problem 5 minutes ago. When I download the problematic link with wget, wget shows the redirect to the new link. The URLs have changed, your Chrome browser is following the re-direct, your app is not.

For me, my url has changed as follows:

http://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv   <--From

https://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv  <--To

Here's another example:

http://finance.yahoo.com/d/quotes.csv?s=AAPL&f=a      <--From
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL   <--To

 

Good luck!

New 'Hoo

Re: has yahoo stopped history data api service?

It is not working anymore as of 05/16/2017. The new downloading page seems to be pointing to

*Link Removed - See the community guidelines for more information.*

 

This requires cookie and the link can not work outside yahoo finance page.

Administratin' 'Hoo

Re: has yahoo stopped history data api service?

Hi All - unsupported API's have been discontinued for Yahoo Finance and is not something that we will be bringing back. 

 

The Yahoo Finance Feedback Forum is the place where you can make product suggestions and provide feedback. We’re always trying to improve our products and use your feedback to inform changes.  Here’s the url: https://yahoo.uservoice.com/forums/382977

If you see any helpful posts, give a Kudo! If you see a response that answers your question, please mark Accept as Solution!
Pro 'Hoo

Re: has yahoo stopped history data api service?

Very upsetting news.  I assume a consequence of the merger.

 

oqg
Established 'Hoo

Re: has yahoo stopped history data api service?

This is how a company evolve from bad to worst to finally crash and dissapear........from having products that everybody loves, that with time are changed or eliminate for one that nobody wants.  Eliminating ichart is like eliminating google maps and give instead a pictured of what I have in front of the car....completely useles. WITHOUT HISTORICAL DATA IS IMPOSSIBLE TO DO FINANCE.



 

'Hoo Recruit

Re: has yahoo stopped history data api service?

The financial site and API's were the only remaining areas where Yahoo was better than all others. Thank you, Yahoo for having provided this!. Instead of taking care of this asset they switched off the data API's without notice, and even posted a misleading page which says that they are fixing it. I hope Yahoo will think it over, otherwise it's time to say goodby, Yahoo. We will keep you in good memory, though, as a sympathetic competitor of the big brother.

'Hoo Recruit

Re: has yahoo stopped history data api service?

.."Hi All - unsupported API's have been discontinued for Yahoo Finance and is not something that we will be bringing back. "...

 

Well what is a SUPPORTED API then ???

 

Where is the info???