yfinance
Pythonic way to download market and financial data from Yahoo Finance.
- Status
- Generally available
- Last checked
- Checked · Oct 16, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
yfinance is a Python library that provides an easy-to-use interface for downloading historical market data from Yahoo Finance. It's essential for developers and analysts who need access to real-time and historical stock, currency, and other financial data.
yfinance stands out as a lightweight, easy-to-use Python library specifically designed to access Yahoo Finance's extensive market and financial datasets directly within Python scripts or applications.
When it fits — and when it doesn’t
A good fit for
Python developers who need to integrate Yahoo Finance data into their applications.
Financial analysts looking to automate the retrieval and processing of financial data.
Educators teaching finance or programming courses that involve real-world market data.
Look elsewhere if
Users requiring data from sources other than Yahoo Finance.
Projects needing real-time streaming data (yfinance is primarily for historical data).
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited official support and documentation
Documentation is sparse, relies heavily on community contributions
- 02
Potential data reliability issues due to reliance on Yahoo Finance scraping
Yahoo Finance changes its website structure, which can break yfinance's functionality without updates
What it does well
Easy access to historical and real-time financial data from Yahoo Finance.
Supports downloading of stock prices, currency exchange rates, and more.
Simple API for fetching and manipulating financial data.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up yfinance
Setup steps, common gotchas and what to check after 30 days.
Get the badge
A small badge for yfinance’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.
Markdown
[](https://navigateaitools.com/explorer/tool/yfinance)HTML
<a href="https://navigateaitools.com/explorer/tool/yfinance"><img src="https://navigateaitools.com/badge/yfinance.svg" alt="yfinance — tracked on AI Navigator" height="58"></a>