Cobweb Scripts Tools

Home Programs Tools Data About

Yahoo Finance Downloader

February 15, 2026: A redditor has pointed out an issue regarding dates. I believe I might have a fix, but I can't begin working on it until the weekend. You can read more about the issue at GitHub Issue #2.

February 08, 2026: I have pushed a fix to the yahoo finance downloader. A brief test showed files downloading successfully. Please let me know if you have any issues, as I will be monitoring this new backend service I created to replace the previous third party provider. You can contact me using one of the links on my About page.

Yahoo Finance provides stock data across thousands of tickers, but access to the data is not consistent. Originally this was a Python script, but I realized I could pinpoint the way I am accessing the data to create a client-side script so that people would not need to worry about installing Python and running code.

How to Use

The script does not currently have a repository of valid tickers in Yahoo Finance, so it may result in failed downloads if an invalid ticker is entered. Unfortunately, Yahoo Finance API was publicly shutdown 2017, but its underpinnings continue to function, which this script targets. If all data is entered correctly, it should initiate a download in a new tab for a csv file containing the desired information. If incorrect data is entered (invalid tickers, dates, etc.), it will ATTEMPT to notify you of the failure, but some failures may result in the program quietly failing. Certain tickers have symbols and you MUST include these symbols. For example, Yahoo Finance lists the SP500 ticker as "^GSPC" in their system, and thus you need to include the caret (^) symbol to download its data.

For the multiple download option, separate all tickers with either a space or a newline. You can mix and match newline and spaces but make sure there is only ONE of them separating each ticker. The final result of the multiple download option will be a zip file of csv files.

Acknowledgements and Notes

Special thanks to pwasystem, for whom without their elegant and small client-side zipping solution, this would not be possible. The GitHub to the pwasystem's repository can be found here: https://github.com/pwasystem/zip.

If you like this kind of stuff, please consider following one of my contacts on my About page. I enjoy hearing from people, and it gives me an avenue to speak with all of you and hear about any issues you may across. Thank you and hope this helps!

Yahoo Finance Downloader
Download Type
Ticker
Date Selection
Extra Data
Time Resolution

Progress: 0/0

Failed Downloads: