ranaroussi/yfinance
Download market data from Yahoo! Finance's API observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 15.5
- age_days: 3391
- days_rel: 7
- days_push: 7
- n_releases_24m: 35
Adoption not part of the score
25084 stars · 3407 forks observed · 2026-08-28
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-08-28 · 02a8fcce97d4
- homepage: https://ranaroussi.github.io/yfinance · fetched 2026-08-29 · d6d4628e1f3f
- registry_pypi: https://pypi.org/pypi/yfinance/json · fetched 2026-08-29 · 452492b3eaa9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ranaroussi/yfinance | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="ranaroussi/yfinance")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem