Yahoo Finance Scraper avatar

Yahoo Finance Scraper

Pricing

Pay per usage

Go to Apify Store
Yahoo Finance Scraper

Yahoo Finance Scraper

Extract comprehensive stock data from Yahoo Finance including real-time prices, financial statements, historical data, analyst recommendations, and company profiles. Supports batch processing of multiple tickers.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Stephan Corbeil

Stephan Corbeil

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

a day ago

Last modified

Categories

Share

Scrape real-time and historical stock market data from Yahoo Finance without official API limits. Extract financial statements, earnings reports, historical prices, and company fundamentals for investment analysis and trading research.

Features

  • Real-Time Quotes: Current price, bid/ask spreads, market cap, and trading volume
  • Financial Statements: Income statements, balance sheets, cash flow data (quarterly and annual)
  • Historical Price Data: Daily OHLCV (open, high, low, close, volume) data for any date range
  • Earnings Data: Historical earnings dates, actual vs. estimated EPS, earnings surprises
  • Company Fundamentals: P/E ratio, dividend yield, 52-week highs/lows, analyst ratings
  • Multi-Ticker Support: Process multiple stock symbols in a single run
  • Structured JSON Output: Ready for data warehouses, dashboards, or trading systems

Input Parameters

ParameterTypeRequiredDescriptionDefault
tickersArrayYesStock symbols to scrape (e.g., ["AAPL", "GOOGL", "MSFT"])[]
includeHistoricalBooleanNoInclude historical daily price datafalse
historicalDaysIntegerNoNumber of days of history (1-5000)250
includeFinancialsBooleanNoInclude financial statementstrue
includeEarningsBooleanNoInclude earnings data and estimatestrue

Output

FieldTypeDescription
symbolStringStock ticker symbol
nameStringCompany full name
priceNumberCurrent stock price
currencyStringPrice currency (USD, etc.)
marketCapStringMarket capitalization
peRatioNumberPrice-to-earnings ratio
dividendYieldNumberAnnual dividend yield
fiftyTwoWeekHighNumber52-week high price
fiftyTwoWeekLowNumber52-week low price
volumeIntegerDaily trading volume
earningsArrayHistorical earnings data
financialsObjectBalance sheet, income statement, cash flow
historicalPricesArrayDaily OHLCV data

Use Cases

  • Investment Portfolio Analysis: Track fundamentals and performance across holdings
  • Algorithmic Trading: Feed real-time data into trading models and backtesting systems
  • Financial Dashboard: Build interactive dashboards with current and historical data
  • Earnings Analysis: Monitor earnings dates, surprises, and analyst revisions
  • Fundamental Screening: Filter stocks by P/E, dividend yield, market cap criteria
  • Data Warehouse: Populate financial data lakes for BI and analytics platforms

Example Output

{
"symbol": "AAPL",
"name": "Apple Inc.",
"price": 182.45,
"currency": "USD",
"marketCap": "2.84T",
"peRatio": 28.5,
"dividendYield": 0.0043,
"fiftyTwoWeekHigh": 199.62,
"fiftyTwoWeekLow": 164.08,
"volume": 52348900,
"earnings": [
{
"date": "2024-01-30",
"epsActual": 1.95,
"epsEstimate": 1.87,
"surprise": 0.08
}
],
"financials": {
"totalRevenue": 394328000000,
"netIncome": 96995000000,
"operatingCashFlow": 110543000000
},
"historicalPrices": [
{
"date": "2024-02-17",
"open": 181.52,
"high": 183.14,
"low": 181.40,
"close": 182.45,
"volume": 52348900
}
]
}

Limitations

  • Historical data limited to ~5000 days maximum (approximately 19 years)
  • Some delisted or private companies may not have complete data
  • Earnings surprise data only available for dates with actual earnings releases
  • Dividend history limited to recent years for some companies
  • Real-time data has slight delay (15-20 minute Yahoo Finance standard delay)

Cost & Performance

Typical runs cost $0.10-$0.50 in platform credits for 10-50 tickers with full financials. Processing time: ~1-3 minutes depending on historical date range.


Built by nexgendata. For questions or issues, check the documentation or contact us.