yahoo-finance

Fetch market data and fundamentals from Yahoo Finance API endpoints.

173|28|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/gauss314/skills --skill yahoo-finance-gauss314
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yahoo-finance
Source: https://github.com/gauss314/skills/tree/main/skills/yahoo-finance
Command: npx skills add https://github.com/gauss314/skills --skill yahoo-finance-gauss314

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, curl_cffi, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the instability and dependency issues common with third-party wrappers by providing direct, low-level access to Yahoo Finance's internal API endpoints for financial data.

Core Features & Use Cases

  • Direct API Access: Retrieve real-time quotes, historical OHLCV data, fundamentals, and option chains without relying on heavy, often-broken libraries.
  • Batch Processing: Efficiently fetch data for multiple tickers simultaneously using a thread-safe token bucket rate limiter to prevent IP blocks.
  • Use Case: A quantitative analyst can use this skill to build a custom, robust data pipeline that fetches daily historical prices and fundamental metrics for a portfolio of 50 stocks while strictly respecting Yahoo's rate limits.

Quick Start

Use the yahoo-finance skill to fetch the latest quote and fundamental data for the ticker AAPL.

Frequently Asked Questions about yahoo-finance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch historical stock prices directly from Yahoo Finance without using a broken wrapper library?

Direct HTTP access to Yahoo Finance API endpoints retrieves historical prices without relying on third-party wrappers. By using Python requests and curl_cffi to manage session cookies and CSRF tokens, you fetch OHLCV data robustly.

How does direct API access handle rate limits when fetching market data for multiple tickers?

Batch processing uses a thread-safe token bucket rate limiter to fetch market data for multiple tickers simultaneously. This strictly respects Yahoo's rate limits, preventing IP blocks while efficiently retrieving quotes.

Can I retrieve corporate fundamentals and option chains using direct HTTP requests to Yahoo Finance?

Yes, direct HTTP access retrieves corporate fundamentals and option chains from Yahoo Finance. This low-level approach fetches real-time quotes and fundamental data without heavy library dependencies.

Why do I need curl_cffi and requests to access Yahoo Finance API endpoints?

The requests and curl_cffi dependencies manage session cookies and CSRF tokens required by Yahoo Finance's authenticated endpoints. They ensure stable, low-level HTTP access for retrieving market data and corporate fundamentals.

What's the best way to build a custom data pipeline for 50 stocks without getting my IP blocked by Yahoo Finance?

Optimized batch requests with a thread-safe token bucket rate limiter fetch historical prices and fundamentals for multiple stocks. This approach strictly respects Yahoo's rate limits, preventing IP blocks during quantitative analysis pipelines.

Does this approach to Yahoo Finance data work for backtesting quantitative trading strategies?

Direct access to historical OHLCV data and corporate fundamentals supports backtesting quantitative trading strategies. Rate-limited batch requests ensure stable data retrieval for building robust quantitative analysis pipelines.