achannarasappa / ticker

Terminal stock ticker with live updates and position tracking
GNU General Public License v3.0
4.94k stars 264 forks source link

Yahoo break their endpoint again? #250

Closed chrisswanda closed 1 year ago

chrisswanda commented 1 year ago

curl https://query1.finance.yahoo.com/v6/finance/quote?symbols=GOOG

{"finance":{"result":null,"error":{"code":"Not Found","description":"HTTP 404 Not Found"}}}

juanandresgs commented 1 year ago

I noticed intermittent results as of a day ago, total outage as of today. :(

eriknh commented 1 year ago

Looks like Yahoo is moving to a paid model for this API endpoint per this Google Form: https://docs.google.com/forms/d/e/1FAIpQLSeyb7xMtZFjoNYI7XG1rjlhUopKAxdLAfSRcaPxg9p-9ii-_g/viewform

"Yahoo Finance | API Feedback We’re sorry for the inconvenience, but API-level access to Yahoo Finance quotes data has been disabled."

This can be seen sourced from the JSON in the reply from https://query1.finance.yahoo.com/v7/finance/quote?symbols=MSFT

image

image

ktpx commented 1 year ago

Yeah. Some posted a cookie crumb workaround for v7 of the API, but that doesn't seem to work either anymore 8for me atleast). This sucks. Any other free tier APis? I used alpha vantage, before, but they made most useful calls premium.

achannarasappa commented 1 year ago

Thanks for reporting this - the latest release (v4.5.13) implements a fix that works with the latest API. Please re-open if this resurfaces.

ktpx commented 1 year ago

Thanks for reporting this - the latest release (v4.5.13) implements a fix that works with the latest API. Please re-open if this resurfaces.

What fix..this doesnt work anymore at all afaik....?

chrisswanda commented 1 year ago

It is working for me on version 4.5.13.

ktpx commented 1 year ago

It is working for me on version 4.5.13. Ok, ,interesting...im not using this software, just wondered what change was implemented, as the ones Ive found aren't working.

achannarasappa commented 1 year ago

I've left a more detailed comment here on the fix: https://github.com/achannarasappa/ticker/issues/247#issuecomment-1566457082