scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTQuote
  • POSTFundamentals
  • POSTChart
  • POSTNews
  • POSTOptions
  • POSTSearch

Yahoo Finance Chart

1 credit

Get historical price data for a ticker symbol.

POST/api/v1/tools/yahoo-finance/chart

Parameters

symbolstringrequired

Ticker symbol (e.g. AAPL, BTC-USD).

rangestring

Time range for chart data. One of "1d", "5d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max". Defaults to "1mo".

intervalstring

Data interval. One of "1m", "5m", "15m", "30m", "1h", "1d", "1wk", "1mo". Defaults to "1d".

startDatestring

Custom start date (ISO 8601). Overrides range when used with endDate.

endDatestring

Custom end date (ISO 8601). Overrides range when used with startDate.

Response Schema

dataobject

Yahoo Finance chart result

metaobject

Chart metadata

seriesobject[]

OHLCV time series data points

eventsobject

Corporate events (dividends, splits, earnings)

metaobject

Request metadata

toolstring

Tool name (yahoo-finance-chart)

creditsUsednumber

Credits consumed (1)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/yahoo-finance/chart \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"symbol": "AAPL",
"range": "3mo",
"interval": "1d"
}'

Response Example

{
"data": {
"meta": {
"currency": "USD",
"symbol": "AAPL",
"exchangeName": "NMS",
"regularMarketPrice": 198.11,
"dataGranularity": "1d",
"range": "3mo"
},
"series": [
{
"timestamp": 1711929600,
"date": "2026-04-01T04:00:00.000Z",
"open": 192.5,
"high": 195.2,
"low": 191.8,
"close": 194.68,
"volume": 54320100,
"adjclose": 194.68
}
]
},
"meta": {
"tool": "yahoo-finance-chart",
"creditsUsed": 1,
"requestId": "req_abc123"
}
}