ranaroussi/yfinance
Some data may be outdated — see provenance labels.
Download market data from Yahoo! Finance's API observed · 2026-09-26
Health v2 · maintenance only
95/100
- Activity 96
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 15.5
- age_days: 3439
- days_rel: 55
- days_push: 25
- n_releases_24m: 33
Adoption not part of the score
25373 stars · 3427 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
yfinance is a Python library that fetches financial and market data from Yahoo! Finance's publicly available APIs, returning data as pandas DataFrames. It supports ticker history, fundamentals, options, funds, screener queries, and live WebSocket streaming.
Use cases
- download historical stock prices into pandas
- get company fundamentals and financial statements
- fetch options chains for a ticker
- stream live market quotes
- screen stocks by sector and industry
- download data for multiple tickers at once
When to choose
- you need quick programmatic access to Yahoo Finance market data in Python
- you want pandas-friendly DataFrames for research or backtesting
- you need fundamentals, options, or screener data without an API key
When to avoid
- you need guaranteed SLA or commercial licensing for market data
- you require real-time exchange-grade data feeds
- your use case must strictly comply with Yahoo's personal-use API terms
Facets
library · maturity stable
http-client data-science analytics fintech data-science apis python cross-platform yahoo-finance market-data stocks pandas financial-data trading
3 sources
- readme: https://github.com/ranaroussi/yfinance · fetched 2026-09-26 · 02a8fcce97d4
- homepage: https://ranaroussi.github.io/yfinance · fetched 2026-09-28 · d6d4628e1f3f
- registry_pypi: https://pypi.org/pypi/yfinance/json · fetched 2026-09-28 · 452492b3eaa9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ranaroussi/yfinance | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="ranaroussi/yfinance")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem