CoreyMSchafer/code_snippets

Yahoo Finance API not working

Opened this issue · 2 comments

Hi Schafer,

It seems the Yahoo Finances API is not working anymore, but I believe this link will work to you at least for your demo :

https://api.worldtradingdata.com/api/v1/stock?symbol=AAPL&output=json&api_token="YOUR API TOKEN"

You only need to create an account in https://www.worldtradingdata.com. But at least it is free! Or use any other API json file.

@Gomezrbz, thanks for that hint. Because its true, the Yahoo finance Api thorws a 502 response status_code.

I had similar issues with yahoo API even after trying the requests library.
Check out this link for free public API you use