Yahoo Finance Historical Price Fetcher
DeprecatedPricing
from $1.00 / 1,000 item processeds
Yahoo Finance Historical Price Fetcher
DeprecatedFetch OHLCV historical price data for stocks, ETFs, indices, forex, and crypto from Yahoo Finance. No API key required.
Yahoo Finance Historical Price Fetcher — OHLCV Data, No API Key
Download OHLCV (open, high, low, close, volume) historical price data for any ticker available on Yahoo Finance — stocks, ETFs, indices, commodities, forex pairs, and crypto. Covers everything from Apple and Tesla to BTC-USD, GC=F (Gold), or EUR=X (Euro). No API key required. Supports intraday bars (1m to 1h) and daily+ intervals (1d to 3mo) going back as far as Yahoo's history allows.
What You Get
For each bar/candle, the actor returns:
- OHLCV — open, high, low, close, volume
- Adjusted close — split and dividend-adjusted price
- VWAP — (high + low + close) / 3 daily approximation
- Change % — percentage change vs. the previous bar
- Date + timestamp — ISO 8601 date and Unix timestamp
- Metadata — currency, exchange, instrument type
Supported Tickers
| Asset Class | Examples |
|---|---|
| US Stocks | AAPL, TSLA, NVDA, MSFT, JPM |
| ETFs | SPY, QQQ, GLD, IBIT, ARKK |
| Indices | ^GSPC (S&P 500), ^DJI (Dow), ^VIX |
| Crypto | BTC-USD, ETH-USD, SOL-USD |
| Commodities | GC=F (Gold), CL=F (Crude Oil), SI=F (Silver) |
| Forex | EUR=X, JPY=X, GBPUSD=X |
| International | 7203.T (Toyota), BABA, NIO |
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
symbols | array | ["AAPL","MSFT","BTC-USD"] | Yahoo Finance tickers to fetch |
interval | string | "1d" | Bar size: 1m / 5m / 15m / 1h / 1d / 1wk / 1mo |
range | string | "1y" | How far back: 1d / 1mo / 6mo / 1y / 5y / 10y / max |
Note: Intraday intervals (1m–1h) are limited to recent data (1d–60d range). For long-term analysis use 1d or 1wk with range=max.
Sample Output
{"symbol": "AAPL","date": "2025-01-15T00:00:00Z","timestamp": 1736899200,"open": 228.50,"high": 232.10,"low": 227.80,"close": 231.40,"adj_close": 231.40,"volume": 52400000,"vwap": 230.43,"change_pct": 1.28,"currency": "USD","exchange": "NMS","instrument_type": "EQUITY"}
Example: Fetch 5 Years of BTC and ETH Daily Data
{"symbols": ["BTC-USD", "ETH-USD"],"interval": "1d","range": "5y"}
Example: Intraday — 5-Minute Bars for NVDA (Last Week)
{"symbols": ["NVDA"],"interval": "5m","range": "5d"}
Use Cases
- Backtesting — pull historical OHLCV for strategy testing in Python/R/Excel
- Price charting — feed data into charting libraries (Plotly, TradingView, ECharts)
- Correlation analysis — compare multi-asset price series over time
- Volatility calculation — compute rolling ATR, Bollinger Bands, VIX-style metrics
- ETF/crypto research — get long-term BTC, ETH, SOL, or BTC ETF price history
- Machine learning — build price prediction datasets without a paid data provider
- Portfolio analytics — reconstruct portfolio returns using historical close prices
Notes on Data Quality
- Adjusted close accounts for stock splits and dividends — always use
adj_closefor return calculations - Gaps — market closures (weekends, holidays) appear as missing timestamps, not null rows
- Data freshness — typically reflects the previous session's close plus real-time (15-min delayed) for current session
- Crypto — BTC-USD and other crypto pairs run 24/7 with no weekend gaps
Pricing
Pay-per-event: $0.001 per symbol per run — fetch 10 symbols for $0.01 regardless of how many years of history you pull.
FAQ
How far back does Yahoo Finance data go? Varies by ticker. Most US large-cap stocks have data back to the 1980s or 1990s. BTC-USD goes back to 2014. Some tickers may have shorter history.
Are splits and dividends handled?
Yes — the adj_close field is split and dividend-adjusted. close is the raw unadjusted price.
Can I fetch multiple symbols in one run?
Yes — pass as many tickers as needed in the symbols array. All are fetched concurrently.
Does this work for international exchanges?
Yes — use Yahoo Finance's suffix notation: 7203.T for Tokyo Stock Exchange, HSBA.L for London, etc.
What is the rate limit? Yahoo Finance does not publish a public rate limit. The actor uses standard browser-like headers and fetches all symbols concurrently. For very large batches (100+ symbols), consider splitting into multiple runs.
Related actors
- Crypto Correlation Matrix — Cross-asset correlation analysis for crypto/equity pairs using the same OHLCV data format
- SEC Company Financials — Fundamental EDGAR data to pair with Yahoo Finance price history for valuation analysis
- CBOE Volatility Tracker — VIX and term structure to contextualize equity and crypto price history from Yahoo
Feedback
If this actor powers your data pipeline, a review helps others find it: Leave a review on Apify Store
Keywords: Yahoo Finance historical data, stock price history scraper, OHLCV data extractor, ETF historical prices, forex historical data, crypto price history, adjusted close prices, daily stock candles, Yahoo Finance API no key, stock price time series, financial data automation, market data scraper, ticker price history, no API key required