
yfinance
yfinance is an open-source Python library that fetches market and financial data from Yahoo Finance's publicly available APIs.
- From
- Free
- Free plan
- Open source
- Platforms
- Code
- Markets
- Not recorded
- API
- None found
- MCP server
- None found
Plans
| Plan | Price | What it includes |
|---|---|---|
| Open source | Free | Apache-2.0, install with pip. Free. |
Free plan
Open source: free Python library under the Apache-2.0 licence source
Good to know
Not affiliated with or vetted by Yahoo; the project says it is for research and educational purposes and that the Yahoo Finance API is intended for personal use only source
Details
- Licence
- Apache-2.0 source
- Data use terms / personal vs commercial
- Users must check Yahoo's terms of use for rights to the downloaded data source
- Real-time vs delayed
- Includes WebSocket and AsyncWebSocket live streaming components source
- GitHub stars
- 25,972 on ranaroussi/yfinance source
- GitHub last push
- 18 Nov 2026 source
- Licence (GitHub)
- Apache-2.0 source