App Logo
finance.yahoo.com

Get Historical Prices

OHLCV price history for a single Yahoo Finance symbol (stock, crypto, index, future) over a range/interval, matching the site's own chart affordance.

Input

range required

Matches the site's own chart range buttons (1D/5D/1M/6M/YTD/1Y/5Y/All, plus a few extra Yahoo also accepts).

symbol required

Single Yahoo Finance ticker symbol, e.g. AAPL, BTC-USD, CL=F, ^VIX. The chart endpoint is single-symbol only.

interval required

Candle granularity. Fine intervals (e.g. 1m) are only available for short ranges — Yahoo enforces this server-side and the script surfaces its error verbatim on a mismatch.

Output

range required
symbol required
candles required
interval required
currency optional
timezone optional
gmtoffset optional
exchangeName optional
instrumentType optional

FAQ

OHLCV price history for a single Yahoo Finance symbol (stock, crypto, index, future) over a range/interval, matching the site's own chart affordance.
Required: symbol, range, interval.
It returns range, symbol, candles, currency, interval, timezone, gmtoffset, exchangeName, instrumentType.
No. It only uses pages of finance.yahoo.com that are reachable without signing in.
It only reads. It looks things up on finance.yahoo.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/finance.yahoo.com/get_historical_prices, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/finance.yahoo.com/get_historical_prices
It is part of Reduck's official curated catalogue.

Start building not clicking