Yahoo Finance Historical Price Fetcher avatar

Yahoo Finance Historical Price Fetcher

Deprecated

Pricing

from $1.00 / 1,000 item processeds

Go to Apify Store
Yahoo Finance Historical Price Fetcher

Yahoo Finance Historical Price Fetcher

Deprecated

Fetch OHLCV historical price data for stocks, ETFs, indices, forex, and crypto from Yahoo Finance. No API key required.

Pricing

from $1.00 / 1,000 item processeds

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Categories

Share

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 ClassExamples
US StocksAAPL, TSLA, NVDA, MSFT, JPM
ETFsSPY, QQQ, GLD, IBIT, ARKK
Indices^GSPC (S&P 500), ^DJI (Dow), ^VIX
CryptoBTC-USD, ETH-USD, SOL-USD
CommoditiesGC=F (Gold), CL=F (Crude Oil), SI=F (Silver)
ForexEUR=X, JPY=X, GBPUSD=X
International7203.T (Toyota), BABA, NIO

Input Parameters

ParameterTypeDefaultDescription
symbolsarray["AAPL","MSFT","BTC-USD"]Yahoo Finance tickers to fetch
intervalstring"1d"Bar size: 1m / 5m / 15m / 1h / 1d / 1wk / 1mo
rangestring"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_close for 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.


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