Frequently Asked Questions
The questions that come up most in GitHub issues and emails.
No. It’s an independent, open-source wrapper around Yahoo Finance’s unofficial API endpoints — the same ones the Yahoo Finance front-end uses. It is not affiliated with or endorsed by Yahoo.
The library reads data from publicly accessible endpoints rather than scraping pages. That said, Yahoo’s terms of service apply to the data itself — review them before using the data commercially, and be reasonable with request volume.
You’re being rate limited. Batch symbols into one Ticker instead of looping, enable retries with retry=5 and a status_forcelist, and add delays between large jobs. See the async guide for the retry configuration.
Usually not. Some modules are empty for certain symbol types (an index has no income statement, for example), and Yahoo occasionally gates or renames modules. Check the symbol on the Yahoo Finance site — if the data isn’t visible there, the API won’t have it either.
No — that’s a Yahoo limitation, not a yahooquery one. One-minute data covers roughly the last 30 days. For longer windows, use daily or weekly intervals via history().
Yes. Use Yahoo’s symbol conventions — BTC-USD for Bitcoin, EURUSD=X for euro/dollar. They can be mixed with stocks in the same multi-symbol Ticker.
Open an issue on the GitHub repository. Include your yahooquery version, Python version, the symbol you queried, and the full traceback if there is one.
Python 3.9 and newer for yahooquery 2.4.0+. If you’re pinned to an older Python, the 2.3.x line supports earlier versions.