Skip to content

Old API URL doesn't work anymore. Here is a workaround.#28

Open
blahem wants to merge 3 commits intoAndrewRPorter:masterfrom
blahem:master
Open

Old API URL doesn't work anymore. Here is a workaround.#28
blahem wants to merge 3 commits intoAndrewRPorter:masterfrom
blahem:master

Conversation

@blahem
Copy link
Contributor

@blahem blahem commented Oct 1, 2024

The old API URL does not work anymore (https://query1.finance.yahoo.com/v7/finance/download/%s?period1=%s&period2=%s&interval=%s&events=%s)

However, this URL works : https://query2.finance.yahoo.com/v8/finance/chart/%s?period1=%s&period2=%s&interval=%s&events=%s

The difference is that the new URL returns the data in JSON format. I made sure that fetch.py can interpret the response, so yahoo-historical can work just as fine as before.

blahem.

blahem added 3 commits October 1, 2024 20:50
api url changed: now results are given in json format. adj close column doesn't exist anymore.
@blahem
Copy link
Contributor Author

blahem commented Jul 29, 2025

Hello, could we finally merge this after over 10 months?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant