Yahoo Finance Stock Data Scraper avatar
Yahoo Finance Stock Data Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Yahoo Finance Stock Data Scraper

Yahoo Finance Stock Data Scraper

Scrape stock data from Yahoo Finance. Get quotes, financials, news, and analyst ratings. Essential for investment research and financial analysis.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Fortuitous Pirate

Fortuitous Pirate

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Extract real-time stock quotes, historical prices, and financial data from Yahoo Finance. Supports stocks, ETFs, cryptocurrencies, forex pairs, and market indices.

Features

  • Real-time Quotes: Current price, change, volume, 52-week high/low
  • Historical Data: OHLCV data with adjustable intervals and date ranges
  • Multi-asset Support: Stocks, ETFs, crypto (BTC-USD), forex (EURUSD=X), indices (^GSPC)
  • Fast & Lightweight: HTTP-only API calls, no browser overhead
  • Pre/Post Market: Optional extended hours data

Input

FieldTypeDescriptionDefault
symbolsarrayList of ticker symbols["AAPL", "MSFT", "GOOGL"]
dataTypestringquote, historical, or bothquote
intervalstringData interval: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo1d
rangestringDate range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max1mo
includePrePostbooleanInclude pre-market and after-hours datafalse

Symbol Formats

TypeFormatExamples
US StocksTickerAAPL, MSFT, TSLA
CryptoSymbol-USDBTC-USD, ETH-USD
ForexPAIR=XEURUSD=X, GBPUSD=X
Indices^Symbol^GSPC (S&P 500), ^DJI (Dow)
ETFsTickerSPY, QQQ, VTI

Example Input

{
"symbols": ["AAPL", "BTC-USD", "^GSPC"],
"dataType": "both",
"interval": "1d",
"range": "1mo"
}

Output - Quote Data

{
"symbol": "AAPL",
"shortName": "Apple Inc.",
"exchangeName": "NasdaqGS",
"currency": "USD",
"price": 254.09,
"previousClose": 255.53,
"change": -1.44,
"changePercent": "-0.56%",
"dayHigh": 255.5,
"dayLow": 249.8,
"volume": 26049358,
"fiftyTwoWeekHigh": 288.62,
"fiftyTwoWeekLow": 169.21,
"instrumentType": "EQUITY",
"dataType": "quote",
"scrapedAt": "2026-01-26T15:30:00.000Z"
}

Output - Historical Data

{
"symbol": "AAPL",
"currency": "USD",
"interval": "1d",
"range": "1mo",
"dataPoints": 20,
"firstDate": "2026-01-02",
"lastDate": "2026-01-26",
"history": [
{
"date": "2026-01-26",
"open": 251.48,
"high": 255.5,
"low": 249.8,
"close": 254.09,
"adjClose": 254.09,
"volume": 26049358
}
],
"dataType": "historical",
"scrapedAt": "2026-01-26T15:30:00.000Z"
}

Pricing

$0.002 per result (quote or historical dataset per symbol).

Use Cases

  • Portfolio Tracking: Monitor your stock positions with real-time quotes
  • Backtesting: Get historical OHLCV data for trading strategy analysis
  • Market Research: Compare performance across stocks, crypto, and indices
  • Data Pipelines: Feed stock data into analytics platforms
  • Price Alerts: Build notification systems based on price movements

Limitations

  • Minute-level data limited to recent trading days
  • Some advanced financial metrics require quoteSummary endpoint (not included)
  • Rate limits apply - scraper includes built-in delays for reliability

This scraper accesses Yahoo Finance's public API endpoints. Ensure your use case complies with Yahoo's Terms of Service.