yahooquery
Python wrapper for an unofficial Yahoo Finance API
Decision gist · record as of 2026-08-14
Yes, if you need quick access to Yahoo Finance data and can tolerate the unofficial API's stability risks. The low install friction and pandas integration make it convenient for financial analysis scripts. However, the aging maintenance status (last release 456 days ago) means the unofficial API could break without timely fixes, so verify current reliability before depending on it in production systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Yahoo Finance API endpoints are unofficial and subject to change without notice.
- Low install friction with six runtime dependencies (beautifulsoup4, curl-cffi, lxml, pandas, requests-futures, tqdm).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute yahooquery with minimal restrictions, though you must retain the license notice.
last release 2025-05-15 (456 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,598 downloads/mo, #10,594 on PyPI
Alternatives
Verify before relying
pip install yahooquery
from yahooquery import Ticker
aapl = Ticker('aapl')
print(aapl.summary_detail)- Whether the unofficial Yahoo Finance API remains stable and accessible, or if endpoint changes have broken functionality since the last release 456 days ago.
- Whether asynchronous request support mentioned in the description is fully functional and documented in current version.
- Premium subscriber features (Selenium-based login) and their current reliability with Yahoo's authentication.
What it is and what it does
Yahooquery is a Python wrapper around Yahoo Finance's unofficial API endpoints, letting you fetch stock quotes, company fundamentals, and market data without web scraping. It returns data as pandas DataFrames, making it easy to work with financial datasets in analysis pipelines. The package supports both single ticker lookups and batch requests for multiple symbols, and can use asynchronous requests for faster data retrieval.
The package depends on pandas for data structures, requests-futures for async HTTP, beautifulsoup4 and lxml for parsing, and curl-cffi for HTTP requests. It targets Python 3.9+. Premium Yahoo Finance subscribers can optionally install Selenium support to authenticate and access subscription-only data, though the core package works without it.
Use it for
- Fetch current stock quotes and historical price data for a portfolio of ticker symbols into a single DataFrame.
- Build a financial analysis script that retrieves company fundamentals (earnings, revenue, ratios) for comparison across multiple stocks.
- Populate a pandas-based backtesting system with real-time market data from Yahoo Finance without maintaining a separate data feed.
- Create a monitoring dashboard that periodically pulls updated financial metrics for a watchlist of stocks.
- Access premium Yahoo Finance data (if subscribed) programmatically for institutional or professional analysis workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need quick access to Yahoo Finance data and can tolerate the unofficial API's stability risks.
The low install friction and pandas integration make it convenient for financial analysis scripts. However, the aging maintenance status (last release 456 days ago) means the unofficial API could break without timely fixes, so verify current reliability before depending on it in production systems.
Install
yahooquery on PyPI
Before you install
Low install friction with six runtime dependencies (beautifulsoup4, curl-cffi, lxml, pandas, requests-futures, tqdm). Maintenance status is aging—last release was 456 days ago—so expect slower response to issues or breaking API changes from Yahoo Finance.
Requires Python 3.9 or later. Yahoo Finance API endpoints are unofficial and subject to change without notice.
License in practice
MIT license is permissive; you can use, modify, and distribute yahooquery with minimal restrictions, though you must retain the license notice.
Quickstart
pip install yahooquery
from yahooquery import Ticker
aapl = Ticker('aapl')
print(aapl.summary_detail)
Verify before relying
- Whether the unofficial Yahoo Finance API remains stable and accessible, or if endpoint changes have broken functionality since the last release 456 days ago.
- Whether asynchronous request support mentioned in the description is fully functional and documented in current version.
- Premium subscriber features (Selenium-based login) and their current reliability with Yahoo's authentication.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesbeautifulsoup4curl-cffilxmlpandasrequests-futurestqdm |
| Maintenance | Aging 456 days since the last release |
| First released | |
| Downloads | 162,598 / month, #10,594 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: yahooquery-2.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “yahoo finance api wrapper”
- yahooqueryRetrieves financial data from Yahoo Finance through an unofficial…
- openbb-yfinanceIntegrates Yahoo!Finance data into the OpenBB Platform, enabling…
- yfinanceFetches financial and market data from Yahoo Finance's public APIs,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also alpha-vantage · tickflow · yfinance · efinance · Nasdaq-Data-Link · finnhub-python · pykrx · baostock · Quandl · openbb-yfinance