What is Yahoo Finance Scraper?
Yahoo Finance Scraper is an automated data extraction tool designed to retrieve stock market quotes and financial information from the Yahoo Finance platform. With CoreClaw, you can get structured financial data without coding, empowering investment analysis, financial research, and quantitative trading.
- ✅ Global Market Support - Supports US stocks, Hong Kong stocks, and A-shares, covering major global stocks
- ✅ Dual Operation Modes - Simple mode for quick data retrieval, advanced mode for complex queries
- ✅ Comprehensive Data Types - Covers 11 data types including historical OHLCV, company info, financial statements, dividends, splits, and more
- ✅ Flexible Time Periods - Supports multiple OHLCV periods from minute-level to year-level
- ✅ Batch Data Processing - Process multiple stocks simultaneously to efficiently build investment portfolio databases
What Data Can You Extract from Yahoo Finance?
| 📈 Historical OHLCV Data | 📋 Basic Company Information |
| 💰 Financial Statement Data | 📊 Balance Sheet |
| 💵 Cash Flow Statement | 📄 Quarterly Earnings Reports |
| 💸 Dividend History | ✂️ Stock Split History |
| 🎯 Analyst Rating Recommendations | 📰 Related News |
| 📅 Earnings Calendar | 🔍 Stock Search |
| 📥 Batch Data Download | 🌐 Multi-Market Stock Data |
How to Scrape Yahoo Finance Data?
CoreClaw Yahoo Finance Scraper handles proxy rotation, task scheduling, data standardization, and final delivery in the background. You can start getting data in minutes by following these steps:
- Create a free CoreClaw account using your email
- Open the Yahoo Finance Scraper dashboard
- Select operation mode (Simple mode or Advanced mode)
- Enter stock symbols and set parameters (time range, OHLCV period, etc.)
- Click "Start" and let our cloud servers complete the data retrieval
- Download the dataset in JSON or CSV format
➡️ Input
Stock Symbol Format
| Market | Format | Examples |
|---|
| US Stocks | SYMBOL | AAPL, MSFT, GOOGL, TSLA |
| Hong Kong Stocks | CODE.HK | 0700.HK (Tencent), 9988.HK (Alibaba) |
| Shanghai A-Shares | CODE.SS | 600519.SS (Moutai) |
| Shenzhen A-Shares | CODE.SZ | 000001.SZ (Ping An) |
Simple Mode Examples
Example 1: Get Apple Historical Quotes
- Stock Symbol: AAPL
- Operation Type: Historical Quotes (OHLCV)
- Time Range: 1 month
- OHLCV Period: Daily
- Result: Daily OHLCV data for the past month (open, high, low, close, volume)
Example 2: Get Company Information for Multiple Stocks
- Stock Symbols: AAPL, MSFT, GOOGL
- Operation Type: Company Information
- Result: Company name, industry, market cap, P/E ratio, and more for three stocks
Example 3: Get Financial Statements
- Stock Symbol: 0700.HK
- Operation Type: Income Statement
- Result: Tencent's income statement (revenue, net income, earnings per share, etc.)
Advanced Mode
Advanced users who need complete control over each API call can use Advanced mode, which supports:
- Different parameters for each stock
- Execute multiple operations in one run
- Access advanced yfinance features
- Custom API calls
Example 1: Different Stocks with Different Time Ranges
- Ticker: AAPL → history (period: 1mo, interval: 1d)
- Ticker: MSFT → history (period: 1y, interval: 1wk)
Example 2: Execute Multiple Operations on Same Stock
- Ticker: AAPL → info
- Ticker: AAPL → dividends
- Ticker: AAPL → recommendations
⬅️ Output
For easy viewing, output results are displayed in table and tab formats. You can choose to download results in CSV/JSON format.
Output Content Description
Historical OHLCV Data (history)
- Date, open, high, low, close, volume
Company Information (info)
- Company name, stock symbol, industry, sector
- Market cap, enterprise value, P/E ratio, forward P/E
- Dividend yield, 52-week high/low
- Employee count, company website, logo URL
Financial Statements (financials/balance_sheet/cashflow)
- Income statement: revenue, gross profit, operating income, net income
- Balance sheet: assets, liabilities, shareholders' equity
- Cash flow statement: operating/investing/financing cash flow
Other Data
- Dividend history: date and amount for each dividend payment
- Split history: date and ratio for each stock split
- Analyst ratings: buy/sell/hold recommendations
- Related news: recent news articles related to the stock
- Earnings calendar: upcoming earnings release dates
FAQ
Which markets are supported?
Supports US stocks, Hong Kong stocks, and A-shares:
- US stocks: AAPL, MSFT, GOOGL, TSLA, etc.
- Hong Kong stocks: 0700.HK (Tencent), 9988.HK (Alibaba), etc.
- A-shares: 600519.SS (Moutai), 000001.SZ (Ping An), etc.
What's the difference between Simple mode and Advanced mode?
Simple mode: Just enter stock symbols and select operation type. Suitable for most users to quickly get data.
Advanced mode: Complete control over each API call. Supports different parameters for each stock, execute multiple operations in one run, access advanced features. Suitable for advanced users to perform complex queries.
What operation types are supported?
Supports 11 operation types:
- history - Historical OHLCV data
- info - Company profile information
- financials - Income statement
- balance_sheet - Balance sheet
- cashflow - Cash flow statement
- earnings - Quarterly earnings reports
- dividends - Dividend history
- splits - Stock split history
- recommendations - Analyst ratings
- news - Related news
- calendar - Earnings calendar
- search - Search stocks
- download - Batch download
What are the limitations for intraday periods?
Time limitations for different OHLCV periods:
- 1 minute, 5 minutes: Only last 7 days
- 15 minutes, 30 minutes: Only last 60 days
- 1 hour: Only last 730 days
- Daily and above: No restrictions
Can I process multiple stocks in batch?
Yes. Simple mode supports entering multiple stock symbols (e.g., AAPL, MSFT, GOOGL). Advanced mode supports more flexible batch configuration, allowing different parameters for each stock.
How often is the data updated?
Each task retrieves the latest data from Yahoo Finance in real-time, ensuring data freshness. Historical data is not cached; each retrieval is real-time.
What export formats are supported?
Supports JSON and CSV formats:
- JSON: Suitable for developers and system integration
- CSV: Suitable for Excel analysis and BI tools
How do I search for stocks?
Use the "Search Stocks" operation type and enter keywords to search for related stocks. For example, searching "electric vehicle" will return a list of all stocks related to that keyword.