Skip to content
r.

yfinance

ranaroussi/yfinance · Public GitHub repository

Download market data from Yahoo! Finance's API

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

yfinance live demo screenshot
Captured from the live demo · 2026-11-06

About this project

Author-written excerpt from the project README.

yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance.

Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc. yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes. You should refer to Yahoo!'s terms of use (here, here, and here) for details on your rights to use the actual data downloaded. Remember - the Yahoo! finance API is intended for personal use only.

THE NEW DOCUMENTATION WEBSITE IS NOW LIVE! 🤘 Visit ranaroussi.github.io/yfinance

Requirements and intended audience

yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance.

Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc. yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes. You should refer to Yahoo!'s terms of use (here, here, and here) for details on your rights to use the actual data…

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/ranaroussi/yfinance/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-05. Saved release: 1.7.0 · 2026-08-26. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-06. This does not test every feature.

Browse related categories