Home / Market & alternative data
yahoo-finance
Python module for stock data from Yahoo Finance
What it is
A Python module that fetches stock data from Yahoo! Finance, providing current quotes such as open, price, and trade datetime, along with historical OHLCV series over a date range. Data can be refreshed on demand and is retrieved through Yahoo's publicly available APIs. This makes it a practical choice for research and educational purposes, where developers need a lightweight way to pull market data into Python. As a caveat, the underlying Yahoo! Finance API is intended for personal use only, and the backend can occasionally produce YQL errors when the data service is down.
At a glance
Not recommendedOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Beginners |
|---|---|
| Used for | Data source |
| Markets | US equities, Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Low practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | No commits in over six months |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +7 over the period, now 1,452. Gaps mean no snapshot was taken that day.
Python module to get stock data from Yahoo! Finance.