yfinance

Pythonic way to download market and financial data from Yahoo Finance.

EstablishedOpen SourceLow lock-in

Pricing

See website

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Overview

What is yfinance?

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.

Key differentiator

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.

Capability profile

Strength Radar

Easy access to h…Supports downloa…Simple API for f…

Honest assessment

Strengths & Weaknesses

↑ Strengths

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.

Fit analysis

Who is it for?

✓ Best 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.

✕ Not a fit for

Users requiring data from sources other than Yahoo Finance.

Projects needing real-time streaming data (yfinance is primarily for historical data).

Cost structure

Pricing

Free Tier

None

Starts at

See website

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Next step

Get Started with yfinance

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →