VOOZH about

URL: https://apify.com/harvest/yahoo-finance-scraper

โ‡ฑ Yahoo Finance Scraper ยท Apify


๐Ÿ‘ Yahoo Finance Scraper avatar

Yahoo Finance Scraper

Under maintenance

Pricing

$10.00/month + usage

Go to Apify Store

Yahoo Finance Scraper

Under maintenance

This Apify Actor scrapes financial data from [Yahoo Finance](https://finance.yahoo.com). It can retrieve stock prices, company details, historical data, and more. The extracted data is structured as JSON and can be exported in multiple formats.

Pricing

$10.00/month + usage

Rating

5.0

(1)

Developer

๐Ÿ‘ Harvest Data

Harvest Data

Maintained by Community

Actor stats

6

Bookmarked

90

Total users

1

Monthly active users

a year ago

Last modified

Share

Overview

This Apify Actor scrapes financial data from Yahoo Finance. It can retrieve stock prices, company details, historical data, and more. The extracted data is structured as JSON and can be exported in multiple formats.

Features

  • Scrape real-time stock prices
  • Retrieve company details (market cap, P/E ratio, dividend yield, etc.)
  • Extract historical stock price data
  • Support for custom date ranges
  • Export results as JSON, CSV, Excel

Input

The Actor accepts a JSON object with the following parameters:

{
"ticker":"AAPL",
"startDate":"2025-02-01",
"endDate":"2025-03-01"
}

Input Fields

  • ticker (string, required): The stock symbol to search for (e.g., AAPL, GOOGL).
  • startDate (string, optional): The start date for historical data retrieval (format: YYYY-MM-DD).
  • endDate (string, optional): The end date for historical data retrieval (format: YYYY-MM-DD).

Output

The output is structured JSON data with stock details:

[
{
"results":{
"summaryDetail":{
"maxAge":1,
"priceHint":2,
"previousClose":238.03,
"open":237.705,
"dayLow":234.7,
"dayHigh":240.07,
"regularMarketPreviousClose":238.03,
"regularMarketOpen":237.705,
"regularMarketDayLow":234.7,
"regularMarketDayHigh":240.07,
"dividendRate":1,
"dividendYield":0.0042,
"exDividendDate":"2025-02-10T00:00:00.000Z",
"payoutRatio":0.1571,
"fiveYearAvgDividendYield":0.59,
"beta":1.178,
"trailingPE":37.38986,
"forwardPE":28.391092,
"volume":53101971,
"regularMarketVolume":53101971,
"averageVolume":50968729,
"averageVolume10days":45538950,
"averageDailyVolume10Day":45538950,
"bid":235.93,
"ask":236.02,
"bidSize":200,
"askSize":100,
"marketCap":3544164073472,
"fiftyTwoWeekLow":164.08,
"fiftyTwoWeekHigh":260.1,
"priceToSalesTrailing12Months":8.955337,
"fiftyDayAverage":239.9608,
"twoHundredDayAverage":226.14005,
"trailingAnnualDividendRate":0.99,
"trailingAnnualDividendYield":0.0041591395,
"currency":"USD",
"fromCurrency":null,
"toCurrency":null,
"lastMarket":null,
"coinMarketCapLink":null,
"algorithm":null,
"tradeable":false
},
"price":{
"maxAge":1,
"preMarketChangePercent":-0.000126029,
"preMarketChange":-0.0299988,
"preMarketTime":"2025-03-04T14:29:59.000Z",
"preMarketPrice":238,
"preMarketSource":"FREE_REALTIME",
"postMarketChangePercent":0.0053829704,
"postMarketChange":1.2700043,
"postMarketTime":"2025-03-04T22:17:17.000Z",
"postMarketPrice":237.2,
"postMarketSource":"FREE_REALTIME",
"regularMarketChangePercent":-0.008822443,
"regularMarketChange":-2.100006,
"regularMarketTime":"2025-03-04T21:00:01.000Z",
"priceHint":2,
"regularMarketPrice":235.93,
"regularMarketDayHigh":240.07,
"regularMarketDayLow":234.7,
"regularMarketVolume":53101971,
"averageDailyVolume10Day":45538950,
"averageDailyVolume3Month":50968729,
"regularMarketPreviousClose":238.03,
"regularMarketSource":"FREE_REALTIME",
"regularMarketOpen":237.705,
"exchange":"NMS",
"exchangeName":"NasdaqGS",
"exchangeDataDelayedBy":0,
"marketState":"POST",
"quoteType":"EQUITY",
"symbol":"AAPL",
"underlyingSymbol":null,
"shortName":"Apple Inc.",
"longName":"Apple Inc.",
"currency":"USD",
"quoteSourceName":"Nasdaq Real Time Price",
"currencySymbol":"$",
"fromCurrency":null,
"toCurrency":null,
"lastMarket":null,
"marketCap":3544164073472
}
},
"chart":{
"meta":{
"currency":"USD",
"symbol":"AAPL",
"exchangeName":"NMS",
"fullExchangeName":"NasdaqGS",
"instrumentType":"EQUITY",
"firstTradeDate":"1980-12-12T14:30:00.000Z",
"regularMarketTime":"2025-03-04T21:00:01.000Z",
"hasPrePostMarketData":true,
"gmtoffset":-18000,
"timezone":"EST",
"exchangeTimezoneName":"America/New_York",
"regularMarketPrice":235.93,
"fiftyTwoWeekHigh":260.1,
"fiftyTwoWeekLow":164.08,
"regularMarketDayHigh":240.07,
"regularMarketDayLow":234.7,
"regularMarketVolume":53101971,
"longName":"Apple Inc.",
"shortName":"Apple Inc.",
"chartPreviousClose":250.42,
"priceHint":2,
"currentTradingPeriod":{
"pre":{
"timezone":"EST",
"end":"2025-03-04T14:30:00.000Z",
"start":"2025-03-04T09:00:00.000Z",
"gmtoffset":-18000
},
"regular":{
"timezone":"EST",
"end":"2025-03-04T21:00:00.000Z",
"start":"2025-03-04T14:30:00.000Z",
"gmtoffset":-18000
},
"post":{
"timezone":"EST",
"end":"2025-03-05T01:00:00.000Z",
"start":"2025-03-04T21:00:00.000Z",
"gmtoffset":-18000
}
},
"dataGranularity":"1d",
"range":"",
"validRanges":[
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
]
},
"quotes":[
{
"date":"2025-01-02T14:30:00.000Z",
"high":249.10000610351562,
"volume":55740700,
"open":248.92999267578125,
"low":241.82000732421875,
"close":243.85000610351562,
"adjclose":243.5821990966797
},
{
"date":"2025-01-03T14:30:00.000Z",
"high":244.17999267578125,
"volume":40244100,
"open":243.36000061035156,
"low":241.88999938964844,
"close":243.36000061035156,
"adjclose":243.0927276611328
},
{
"date":"2025-01-06T14:30:00.000Z",
"high":247.3300018310547,
"volume":45045600,
"open":244.30999755859375,
"low":243.1999969482422,
"close":245,
"adjclose":244.73092651367188
},
{
"date":"2025-01-07T14:30:00.000Z",
"high":245.5500030517578,
"volume":40856000,
"open":242.97999572753906,
"low":241.35000610351562,
"close":242.2100067138672,
"adjclose":241.94400024414062
},
{
"date":"2025-01-08T14:30:00.000Z",
"high":243.7100067138672,
"volume":37628900,
"open":241.9199981689453,
"low":240.0500030517578,
"close":242.6999969482422,
"adjclose":242.43344116210938
},
{
"date":"2025-01-10T14:30:00.000Z",
"high":240.16000366210938,
"volume":61710900,
"open":240.00999450683594,
"low":233,
"close":236.85000610351562,
"adjclose":236.58987426757812
},
{
"date":"2025-01-13T14:30:00.000Z",
"high":234.6699981689453,
"volume":49630700,
"open":233.52999877929688,
"low":229.72000122070312,
"close":234.39999389648438,
"adjclose":234.14256286621094
},
{
"date":"2025-01-14T14:30:00.000Z",
"high":236.1199951171875,
"volume":39435300,
"open":234.75,
"low":232.47000122070312,
"close":233.27999877929688,
"adjclose":233.02378845214844
},
{
"date":"2025-01-15T14:30:00.000Z",
"high":238.9600067138672,
"volume":39832000,
"open":234.63999938964844,
"low":234.42999267578125,
"close":237.8699951171875,
"adjclose":237.60874938964844
},
{
"date":"2025-01-16T14:30:00.000Z",
"high":238.00999450683594,
"volume":71759100,
"open":237.35000610351562,
"low":228.02999877929688,
"close":228.25999450683594,
"adjclose":228.00930786132812
},
{
"date":"2025-01-17T14:30:00.000Z",
"high":232.2899932861328,
"volume":68488300,
"open":232.1199951171875,
"low":228.47999572753906,
"close":229.97999572753906,
"adjclose":229.7274169921875
},
{
"date":"2025-01-21T14:30:00.000Z",
"high":224.4199981689453,
"volume":98070400,
"open":224,
"low":219.3800048828125,
"close":222.63999938964844,
"adjclose":222.39547729492188
},
{
"date":"2025-01-22T14:30:00.000Z",
"high":224.1199951171875,
"volume":64126500,
"open":219.7899932861328,
"low":219.7899932861328,
"close":223.8300018310547,
"adjclose":223.58416748046875
},
{
"date":"2025-01-23T14:30:00.000Z",
"high":227.02999877929688,
"volume":60234800,
"open":224.74000549316406,
"low":222.3000030517578,
"close":223.66000366210938,
"adjclose":223.41436767578125
},
{
"date":"2025-01-24T14:30:00.000Z",
"high":225.6300048828125,
"volume":54697900,
"open":224.77999877929688,
"low":221.41000366210938,
"close":222.77999877929688,
"adjclose":222.5353240966797
},
{
"date":"2025-01-27T14:30:00.000Z",
"high":232.14999389648438,
"volume":94863400,
"open":224.02000427246094,
"low":223.97999572753906,
"close":229.86000061035156,
"adjclose":229.6075439453125
},
{
"date":"2025-01-28T14:30:00.000Z",
"high":240.19000244140625,
"volume":75707600,
"open":230.85000610351562,
"low":230.80999755859375,
"close":238.25999450683594,
"adjclose":237.99832153320312
},
{
"date":"2025-01-29T14:30:00.000Z",
"high":239.86000061035156,
"volume":45486100,
"open":234.1199951171875,
"low":234.00999450683594,
"close":239.36000061035156,
"adjclose":239.0971221923828
},
{
"date":"2025-01-30T14:30:00.000Z",
"high":240.7899932861328,
"volume":55658300,
"open":238.6699981689453,
"low":237.2100067138672,
"close":237.58999633789062,
"adjclose":237.3290557861328
},
{
"date":"2025-01-31T14:30:00.000Z",
"high":247.19000244140625,
"volume":101075100,
"open":247.19000244140625,
"low":233.44000244140625,
"close":236,
"adjclose":235.74081420898438
},
{
"date":"2025-02-03T14:30:00.000Z",
"high":231.8300018310547,
"volume":73063300,
"open":229.99000549316406,
"low":225.6999969482422,
"close":228.00999450683594,
"adjclose":227.75958251953125
},
{
"date":"2025-02-04T14:30:00.000Z",
"high":233.1300048828125,
"volume":45067300,
"open":227.25,
"low":226.64999389648438,
"close":232.8000030517578,
"adjclose":232.54432678222656
},
{
"date":"2025-02-05T14:30:00.000Z",
"high":232.6699981689453,
"volume":39620300,
"open":228.52999877929688,
"low":228.27000427246094,
"close":232.47000122070312,
"adjclose":232.21469116210938
},
{
"date":"2025-02-06T14:30:00.000Z",
"high":233.8000030517578,
"volume":29925300,
"open":231.2899932861328,
"low":230.42999267578125,
"close":233.22000122070312,
"adjclose":232.9638671875
},
{
"date":"2025-02-07T14:30:00.000Z",
"high":234,
"volume":39707200,
"open":232.60000610351562,
"low":227.25999450683594,
"close":227.6300048828125,
"adjclose":227.3800048828125
},
{
"date":"2025-02-10T14:30:00.000Z",
"high":230.58999633789062,
"volume":33115600,
"open":229.57000732421875,
"low":227.1999969482422,
"close":227.64999389648438,
"adjclose":227.64999389648438
},
{
"date":"2025-02-11T14:30:00.000Z",
"high":235.22999572753906,
"volume":53718400,
"open":228.1999969482422,
"low":228.1300048828125,
"close":232.6199951171875,
"adjclose":232.6199951171875
},
{
"date":"2025-02-12T14:30:00.000Z",
"high":236.9600067138672,
"volume":45243300,
"open":231.1999969482422,
"low":230.67999267578125,
"close":236.8699951171875,
"adjclose":236.8699951171875
},
{
"date":"2025-02-13T14:30:00.000Z",
"high":242.33999633789062,
"volume":53614100,
"open":236.91000366210938,
"low":235.57000732421875,
"close":241.52999877929688,
"adjclose":241.52999877929688
},
{
"date":"2025-02-14T14:30:00.000Z",
"high":245.5500030517578,
"volume":40896200,
"open":241.25,
"low":240.99000549316406,
"close":244.60000610351562,
"adjclose":244.60000610351562
},
{
"date":"2025-02-18T14:30:00.000Z",
"high":245.17999267578125,
"volume":48822500,
"open":244.14999389648438,
"low":241.83999633789062,
"close":244.47000122070312,
"adjclose":244.47000122070312
},
{
"date":"2025-02-19T14:30:00.000Z",
"high":246.00999450683594,
"volume":32204200,
"open":244.66000366210938,
"low":243.16000366210938,
"close":244.8699951171875,
"adjclose":244.8699951171875
},
{
"date":"2025-02-20T14:30:00.000Z",
"high":246.77999877929688,
"volume":32316900,
"open":244.94000244140625,
"low":244.2899932861328,
"close":245.8300018310547,
"adjclose":245.8300018310547
},
{
"date":"2025-02-21T14:30:00.000Z",
"high":248.69000244140625,
"volume":53197400,
"open":245.9499969482422,
"low":245.22000122070312,
"close":245.5500030517578,
"adjclose":245.5500030517578
},
{
"date":"2025-02-24T14:30:00.000Z",
"high":248.86000061035156,
"volume":51326400,
"open":244.92999267578125,
"low":244.4199981689453,
"close":247.10000610351562,
"adjclose":247.10000610351562
},
{
"date":"2025-02-25T14:30:00.000Z",
"high":250,
"volume":48013300,
"open":248,
"low":244.91000366210938,
"close":247.0399932861328,
"adjclose":247.0399932861328
},
{
"date":"2025-02-26T14:30:00.000Z",
"high":244.97999572753906,
"volume":44433600,
"open":244.3300018310547,
"low":239.1300048828125,
"close":240.36000061035156,
"adjclose":240.36000061035156
},
{
"date":"2025-02-27T14:30:00.000Z",
"high":242.4600067138672,
"volume":41153600,
"open":239.41000366210938,
"low":237.05999755859375,
"close":237.3000030517578,
"adjclose":237.3000030517578
},
{
"date":"2025-02-28T14:30:00.000Z",
"high":242.08999633789062,
"volume":56833400,
"open":236.9499969482422,
"low":230.1999969482422,
"close":241.83999633789062,
"adjclose":241.83999633789062
},
{
"date":"2025-03-03T14:30:00.000Z",
"high":244.02999877929688,
"volume":47184000,
"open":241.7899932861328,
"low":236.11000061035156,
"close":238.02999877929688,
"adjclose":238.02999877929688
}
],
"events":{
"dividends":[
{
"amount":0.25,
"date":1739197800
}
]
}
},
"news":[
{
"uuid":"1e13eabf-c99d-3904-a6a4-d03fc08a7078",
"title":"Market Chatter: Apple Challenges UK Order for 'Back Door' in Encryption",
"publisher":"MT Newswires",
"link":"https://finance.yahoo.com/news/market-chatter-apple-challenges-uk-183737902.html",
"providerPublishTime":"2025-03-04T18:37:37.000Z",
"type":"STORY",
"relatedTickers":[
"AAPL"
]
},
{
"uuid":"b3c763cd-9a2c-3cd5-b7cf-e7587d3e1bc1",
"title":"Apple's $500B U.S. Investment? Analyst Calls It 'Completely Unrealistic' โ€“ Questions Where The Money Will Come From",
"publisher":"Benzinga",
"link":"https://finance.yahoo.com/news/apples-500b-u-investment-analyst-144520980.html",
"providerPublishTime":"2025-03-04T14:45:20.000Z",
"type":"STORY",
"relatedTickers":[
"AAPL"
]
},
{
"uuid":"8e90c886-012c-33ed-a167-34de6c84b556",
"title":"Apple Launches New iPad Air Tablet",
"publisher":"MT Newswires",
"link":"https://finance.yahoo.com/news/apple-launches-ipad-air-tablet-143152824.html",
"providerPublishTime":"2025-03-04T14:31:52.000Z",
"type":"STORY",
"relatedTickers":[
"AAPL"
]
},
{
"uuid":"ba039d72-0b15-3f03-abca-289997ac5108",
"title":"Apple just dropped new iPad Air models equipped for AI tasks",
"publisher":"Quartz",
"link":"https://finance.yahoo.com/m/ba039d72-0b15-3f03-abca-289997ac5108/apple-just-dropped-new-ipad.html",
"providerPublishTime":"2025-03-04T15:48:03.000Z",
"type":"STORY",
"thumbnail":{
"resolutions":[
{
"url":"https://s.yimg.com/uu/api/res/1.2/uj1X54lRR.X.OA6K.yIAoA--~B/aD00MjQ7dz02MzY7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/quartz.com/012f4c12103d5e29fa91bad7c7ea4e0c",
"width":636,
"height":424,
"tag":"original"
},
{
"url":"https://s.yimg.com/uu/api/res/1.2/KgScYkhp60uV6FAS6f7Lkg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/quartz.com/012f4c12103d5e29fa91bad7c7ea4e0c",
"width":140,
"height":140,
"tag":"140x140"
}
]
},
"relatedTickers":[
"AAPL"
]
}
]
}
]

Usage

Run via Apify Console

  1. Go to Apify Console.
  2. Create a new Actor and paste in the scraper code.
  3. Set up the input JSON.
  4. Click Run.

Limitations

  • Yahoo Finance may change its page structure, which could require updates to the scraper.
  • Excessive requests may result in temporary blocks; use proxies to avoid this.
  • Some financial data may require authentication or paid Yahoo Finance subscriptions.

Support

For issues or feature requests, please open an issue on GitHub or contact Apify support.


Author: Your Name
Version: 1.0.0
License: MIT

You might also like

Yahoo Finance Intelligence

viralanalyzer/yahoo-finance-intelligence

Extract Yahoo Finance data: stock prices, financials, analyst ratings, news, and historical data. Track any ticker or market.

29

5.0

Yahoo Finance - Full stock info, news, cheapest, real-time

architjn/yahoo-finance

๐ŸŸข $0.90/1000 results ๐ŸŸข Effortlessly fetch comprehensive financial data, historical prices, news, and analytics for any stock ticker from Yahoo Finance. Perfect for investors, analysts, and developers seeking fast, reliable, and detailed market insights in one click!

527

4.7

Yahoo Finance Scraper - Stock & Market Data

benthepythondev/yahoo-finance-scraper

Scrape stock data from Yahoo Finance using yfinance. Get real-time quotes, company info, historical prices, financials, analyst recommendations, dividends & news. Supports batch processing of multiple tickers. Perfect for trading bots, research & portfolio tracking.

Google Finance

canadesk/google-finance

Get the latest Quotes and Historical data for Stocks, Indexes, Crypto, Exchange rates and more from Google Finance. It's fast and costs little!

๐Ÿ‘ User avatar

Canadesk Support

84

Seeking Alpha Scraper | Stock Analysis and News

parseforge/seekingalpha-scraper

Pull Seeking Alpha articles, analyst ratings, earnings transcripts, news, and stock data with ticker, author, title, body, sentiment, and published date. Power finance research, sentiment analysis, market intelligence, and investment dashboards with quality long-form content.

Google Finance Scraper

scrapapi/google-finance-scraper

Google Finance Scraper extracts financial data from Google Finance. Collect stock prices, company details, market trends, historical data, and financial metrics. Ideal for market research, investment analysis, financial dashboards, and automated stock tracking.

Tipranks Scraper

saswave/tipranks-scraper

Tipranks scraper extract data about stock, analyst or screener page. Collect a wide range of financial data, trending stock and more

Yahoo Finance

canadesk/yahoo-finance

Get Stock quotes, Historical data, Analyst recommendations, Price targets and more. It's fast with a very low usage cost!

๐Ÿ‘ User avatar

Canadesk Support

407

5.0