Skip to content
DataOpen sourceApache-2.0

yfinance

The ubiquitous Python library for Yahoo Finance data, and the default feed in most agent demos

By Ran Aroussi

Live GitHub metrics

Live GitHub data · Oct 11, 2026
Stars
25,489
Stars · 7d
+74
Stars · 30d
+320
30d momentum
+1.3%
Forks
3,438
Open issues
107
Language
Python
Last push
6 days ago

Latest release 1.7.0 on Aug 26, 2026. Repository created May 21, 2017.

19.9k20.1k20.3kJun 14Oct 11
Cumulative GitHub stars, Jun 14, 2026 to Oct 11, 2026. Source: OSSInsight star history.

What it is

yfinance downloads prices, fundamentals and options data from Yahoo Finance. It is free and unofficial, which is why almost every open-source agent uses it for demos and why none of them should rely on it in production.

In the maintainers' words: “Download market data from Yahoo! Finance's API”

Tags

  • Market data
  • Unofficial
  • Python
  • #financial-data
  • #fix-yahoo-finance
  • #market-data
  • #pandas
  • #python
  • #stock-data
  • #yahoo-finance
  • #yahoo-finance-api