VOOZH about

URL: https://apify.com/crawlerbros/us-stock-price-scraper

โ‡ฑ US Stock Price Scraper ยท Apify


Pricing

from $2.00 / 1,000 results

Go to Apify Store

US Stock Price Scraper

Download historical stock price data (OHLCV) for US stocks, ETFs, and indices from Yahoo Finance. Get open, high, low, close prices, trading volume, dividends, and stock splits for any ticker at any timeframe from 1 minute to 1 month.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

1

Bookmarked

11

Total users

4

Monthly active users

2 months ago

Last modified

Share

US Stock Market Price Scraper

Download historical stock price data (OHLCV) for US stocks, ETFs, and indices from Yahoo Finance. Get open, high, low, close prices, trading volume, dividends, and stock splits for any ticker โ€” at any timeframe from 1 minute to 1 month.

What does US Stock Market Price Scraper do?

This actor downloads historical OHLCV (Open, High, Low, Close, Volume) price data from Yahoo Finance. It supports all US-listed stocks, ETFs, mutual funds, and major market indices across multiple timeframes, making it ideal for financial analysis, algorithmic trading, and portfolio research.

Use it to:

  • Download historical stock price data for any US-listed ticker (AAPL, MSFT, TSLA, NVDA, etc.)
  • Get candlestick OHLCV data at any timeframe from 1 minute to 1 month
  • Scrape ETF price history (SPY, QQQ, VOO, VTI, ARKK, etc.)
  • Track major index performance (S&P 500, Dow Jones, Nasdaq, Russell 2000)
  • Build datasets for backtesting trading strategies
  • Capture dividend payments and stock split history
  • Scrape price data for crypto-adjacent stocks (COIN, MSTR, RIOT, MARA)
  • Download commodity ETF prices (GLD, SLV, USO) and bond ETF prices (TLT, AGG, BND)

Input

FieldTypeRequiredDescription
symbolsArray of stringsYesStock ticker symbols in uppercase (e.g. AAPL, MSFT, SPY, ^GSPC)
intervalStringNoCandle interval: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo. Defaults to 1d
startDateStringYesStart date in YYYY-MM-DD format
endDateStringNoEnd date in YYYY-MM-DD format. This date is exclusive โ€” data up to but not including this date is returned. Defaults to today
proxyObjectNoProxy configuration (recommended for datacenter IPs to avoid rate limiting)

Input example

{
"symbols":["AAPL","MSFT","TSLA"],
"interval":"1d",
"startDate":"2025-01-01",
"endDate":"2025-04-01"
}

Output

Each record in the output dataset represents one price candle. All 9 fields are always present.

FieldTypeDescription
symbolStringTicker symbol (e.g. AAPL)
dateStringYYYY-MM-DD for daily/weekly/monthly intervals; ISO 8601 datetime (e.g. 2025-01-02T09:30:00Z) for intraday intervals
openNumberOpening price
highNumberHighest price during the period
lowNumberLowest price during the period
closeNumberClosing price
volumeIntegerNumber of shares traded
dividendsNumberDividend amount paid (0 if none)
stockSplitsNumberStock split ratio (0 if none)

Output example

{
"symbol":"AAPL",
"date":"2025-03-10",
"open":227.5,
"high":230.1,
"low":226.8,
"close":229.45,
"volume":54321000,
"dividends":0,
"stockSplits":0
}

Supported tickers

All tickers listed on Yahoo Finance are supported, including:

  • US Tech stocks: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, AMD, INTC, ORCL
  • Finance stocks: JPM, BAC, GS, V, MA, WFC, C
  • Healthcare stocks: JNJ, UNH, PFE, ABBV, LLY, MRK
  • Broad market ETFs: SPY, QQQ, VOO, VTI, IWM, DIA, ARKK
  • Sector ETFs: XLF (financials), XLE (energy), XLK (tech), XLV (healthcare), XLY (consumer)
  • Bond ETFs: TLT, AGG, BND, HYG, LQD
  • Commodity ETFs: GLD, SLV, USO, GDX
  • US Indices: ^GSPC (S&P 500), ^DJI (Dow Jones), ^IXIC (Nasdaq Composite), ^RUT (Russell 2000)
  • Crypto-adjacent stocks: COIN, MSTR, RIOT, MARA

How much does it cost?

This actor uses Yahoo Finance as its data source, which is free. You only pay for Apify platform compute time. A typical run fetching daily data for multiple stocks over a year completes in under a minute.

Limitations

  • Intraday data availability: 1-minute data is available for the last 7 days only. 5m, 15m, 30m, and 1h intervals are available for the last 60 days only.
  • Market hours only: Intraday data covers regular trading hours only (9:30 AM โ€“ 4:00 PM ET). Pre-market and after-hours trading data is not included.
  • End date is exclusive: If you set endDate to 2025-03-15, the last record returned will be March 14. To include March 15, set endDate to 2025-03-16.
  • Weekend and holiday dates: If startDate falls on a weekend or holiday, data starts from the next trading day automatically.
  • Historical depth: Daily, weekly, and monthly data is available for decades on major tickers. Availability varies for smaller or newer stocks.
  • Delisted tickers: Tickers that have been delisted may return no data or partial data depending on when they were removed.

FAQ

What timeframes are available?

1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo. The default is 1d (daily).

How far back does historical data go?

Daily, weekly, and monthly data goes back decades for major US stocks. Intraday intervals have limits: 1-minute data is only available for the last 7 days; 5mโ€“1h data is available for the last 60 days.

Why does my result start later than my startDate?

If startDate falls on a weekend, public holiday, or before a stock's IPO date, the first record will be from the next available trading day.

Why does my result not include my endDate?

The endDate is exclusive โ€” it is not included in the results. To include a specific date, set endDate to the following calendar day.

Is this real-time data?

No. This actor downloads historical data. Intraday prices are typically delayed by at least 15โ€“20 minutes from real-time. For the most recent trading day, data may not be available until after market close.

Can I use this for backtesting trading strategies?

Yes. The OHLCV output format is compatible with most backtesting frameworks (Backtrader, Zipline, VectorBT, etc.) and financial analysis libraries (pandas, TA-Lib).

Does it include pre-market and after-hours data?

No. Only regular trading hours (9:30 AM โ€“ 4:00 PM ET for US markets) are included in intraday intervals.

What happens if I request an invalid ticker?

The actor pushes an error record to the dataset for that ticker and continues processing the remaining symbols. The run does not fail.

Can I scrape multiple stocks in one run?

Yes. Pass multiple symbols in the symbols array. Each symbol is processed sequentially and all results are saved to the same dataset.

Can I scrape crypto or forex?

Yahoo Finance lists some crypto pairs (e.g. BTC-USD, ETH-USD) and forex pairs (e.g. EURUSD=X). These tickers are supported and work the same way as stock tickers.

Why does a valid ticker return no data?

Possible reasons: the date range is before the stock's IPO date, the ticker has been delisted, or you requested intraday data outside the supported lookback window (7 days for 1m, 60 days for 5mโ€“1h).

You might also like

US Stock Price Scraper

jungle_synthesizer/us-stock-price-scraper

Download historical OHLCV stock price data (open, high, low, close, volume, dividends, splits) for US stocks, ETFs, and indices from Yahoo Finance. Supports any ticker, any interval (1m to 1mo), and any date range.

๐Ÿ‘ User avatar

BowTiedRaccoon

2

Yahoo Finance Stock Scraper

rupom888/yahoo-finance-scraper

Scrape real-time stock quotes, historical OHLCV price data, symbol search, and market movers (gainers/losers) from Yahoo Finance. No API key needed. Supports stocks, ETFs, crypto, forex, and indices.

Yahoo Finance Scraper - Stocks, Crypto & Historical Data

fascinating_lentil/yahoo-finance-scraper

Scrape stock and crypto quotes plus historical OHLCV data from Yahoo Finance. Get price, 52-week range, volume, exchange, and price history for any ticker. No login or API key needed.

๐Ÿ‘ User avatar

Md Jakaria Mirza

2

Yahoo Finance Scraper โ€” Stocks, ETFs, Crypto, Indices

alwaysprimedev/yahoo-finance-scraper

Pull real-time quotes, fundamentals, financials, analyst targets, dividends, company officers, and historical OHLCV for any Yahoo Finance ticker. Works for stocks, ETFs, mutual funds, crypto, FX, and indices. Output as JSON, CSV, or Excel.

Yahoo Finance Stock & Crypto Scraper

parseforge/yahoo-finance-scraper

Scrape stock and crypto price data from Yahoo Finance. Get OHLCV candles, 52-week highs/lows, market volume, and instrument metadata for any ticker symbol. Configure intervals from 1-minute to monthly across ranges from 1 day to max history.

Yahoo Finance Stock Data Scraper

fetch_cat/yahoo-finance-stock-data-scraper

๐Ÿ“ˆ Extract Yahoo Finance quote metadata and OHLCV chart rows for stocks, ETFs, indices, forex, crypto, and funds in clean datasets.

Yahoo Finance Scraper โ€” Live Quotes & Stock History

bovi/yahoo-finance-scraper

Scrape live stock quotes and historical OHLCV price data from Yahoo Finance. Supports stocks, ETFs, crypto, indices, and forex. Two modes: quote (real-time price snapshot for up to 100 symbols) and history (OHLCV bars with adjustable interval and range). No API key required. Pay per result.

๐Ÿ‘ User avatar

Vitalii Bondarev

2

Yahoo Finance Scraper - Stock Market Data API

pink_comic/yahoo-finance-stock-data

Yahoo Finance scraper for stock market data, prices, historical OHLCV, quotes, financial metrics, dividends and earnings. Pull multiple tickers into structured JSON for trading, fintech, market research and AI agents. No Yahoo API key required. Pay per result.