Yahoo Finance Scraper | Quotes, History & Key Stats
Pricing
from $0.76 / 1,000 market data rows
Yahoo Finance Scraper | Quotes, History & Key Stats
Get Yahoo Finance quotes by ticker: price, change, volume, market cap, P/E, analyst target, sector and industry in one flat row, plus historical OHLCV candles with adjusted close, dividends and splits. Stocks, ETFs, funds, crypto, FX, indices, futures. Many tickers per run, no login.
Pricing
from $0.76 / 1,000 market data rows
Rating
0.0
(0)
Developer
Flowo
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share

Get Yahoo Finance data by ticker as flat rows: the live price, change, volume, market cap, P/E ratio and analyst target price, together with the sector, industry and company profile. You can also get historical prices, with one row per open/high/low/close/volume candle and the adjusted close, plus a row for each dividend and stock split. It covers stocks on any exchange, ETFs, mutual funds, crypto, FX pairs, indices and futures. No login or API key.
What does Yahoo Finance Scraper do?
You give it a list of Yahoo Finance symbols, such as AAPL, 7203.T, SAP.DE, BTC-USD, EURUSD=X, ^GSPC or GC=F. It returns one quote row per ticker with key statistics and the company profile in the same row. It can also return historical prices for a range (1 day to full history) or for custom dates, with candles from 1 minute to 3 months long. It is built for investors who track a watchlist, for data teams that need price history for backtests, and for AI agents that answer questions about a stock's price, valuation or analyst target.
How to scrape Yahoo Finance stock data

- Open the actor in Apify Console and enter your tickers in Tickers, one per line. Quote page URLs like
https://finance.yahoo.com/quote/AAPL/also work. - Keep Quote row per ticker and Add key statistics on for a snapshot with fundamentals. Turn key statistics off if you only need prices for many tickers.
- For price history, choose a History range (for example
1 year) or set a History start date and History end date. Then pick a History interval (1 day, 1 week, 1 hour, 5 minutes…). - Optionally set Max rows to cap the run's size and cost.
- Click Start and download the dataset as JSON, CSV or Excel, or read it through the API.
How much does it cost to scrape Yahoo Finance?
Price per event by Apify plan:
| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Market data row | $0.90 per 1,000 | $0.81 per 1,000 | $0.72 per 1,000 | $0.63 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |
A test run with the API example input below returned 5 rows in 8 s.
You pay per saved row. A row is one ticker's quote with its key statistics and profile, one historical candle, one dividend or one split. All of them cost the same. Unknown tickers and failed requests are free. Each run also has a small start fee.
| Scenario | Rows (events) | Cost on the Free plan |
|---|---|---|
| Watchlist snapshot: 5 tickers, quotes with key statistics | 5 | about $0.0046 |
| 500 tickers, prices only (key statistics off) | 500 | about $0.45 |
| 10 stocks, 1 year of daily candles, no quote rows | about 2,520 candles + dividends | about $2.27 + $0.0009 per dividend |
| Coca-Cola (KO) full daily history since 1962 | about 16,321 candles + dividends and splits | about $14.69 + $0.0009 per dividend or split |
Long daily or intraday histories create many rows. Use Max rows, a shorter range or a coarser interval (weekly or monthly) to keep the cost down.
Input

| Field | What it does |
|---|---|
tickers (required) | Yahoo Finance symbols or quote page URLs. Case does not matter, and a line with commas or spaces is split into several tickers. Duplicates are removed. |
includeQuote | One quote row per ticker (default on). |
includeKeyStatistics | Add valuation, margins, revenue, cash and debt, analyst targets and the company profile to the quote row (default on). |
historyRange | History period up to now: none (default), 1d, 5d, 1mo, 3mo, 6mo, ytd, 1y, 2y, 5y, 10y, max. |
historyInterval | Candle length: 1d (default), 1wk, 1mo, 3mo, 5d, 1h, 4h, 90m, 30m, 15m, 5m, 2m, 1m. |
historyStartDate, historyEndDate | A custom period (YYYY-MM-DD, UTC). The end day is included. If you set dates, they override the range. |
includeDividendsAndSplits | Dividend and split rows inside the history period (default on). |
includePrePostMarket | Pre-market and after-hours candles for intraday intervals (default off). |
maxItems | The maximum number of saved rows in total. |
proxyConfiguration | Apify datacenter proxy by default. |
Example: a quote row for SAP plus weekly candles for 2025.
{"tickers": ["SAP.DE"],"historyStartDate": "2025-01-01","historyEndDate": "2025-12-31","historyInterval": "1wk"}
What data can you extract from Yahoo Finance?

Each row has a recordType: quote, history, dividend or split. Every row also has symbol, url and scrapedAt. Fields that don't apply to a row are null.
| Group | Fields |
|---|---|
| Quote | title, quoteType, exchange, currency, marketState, regularMarketTime, dataDelayMinutes, timezone, price, change, changePercent, previousClose, open, dayLow, dayHigh, volume, bid, ask, preMarketPrice, postMarketPrice, averageVolume3Month, averageVolume10Day |
| Valuation | marketCap, enterpriseValue, trailingPE, forwardPE, pegRatio, priceToSales, priceToBook, epsTrailing12Months, epsForward, bookValue, beta, fiftyTwoWeekLow, fiftyTwoWeekHigh, fiftyDayAverage, twoHundredDayAverage |
| Dividends | dividendRate, dividendYield, exDividendDate, earningsDate |
| Financials | totalRevenue, revenueGrowth, ebitda, profitMargins, grossMargins, operatingMargins, returnOnEquity, totalCash, totalDebt, freeCashflow, sharesOutstanding, floatShares, shortPercentOfFloat |
| Analysts | targetMeanPrice, targetHighPrice, targetLowPrice, recommendationKey, recommendationMean, numberOfAnalystOpinions |
| Profile | sector, industry, country, countryName, website, fullTimeEmployees, description |
| Funds and crypto | netAssets, expenseRatio, ytdReturn, circulatingSupply |
| History | date, interval, open, high, low, close, adjClose, volume, currency |
| Dividends and splits | dividend, splitRatio, splitNumerator, splitDenominator |
Ratios such as dividendYield and profitMargins are fractions: 0.0031 means 0.31%. The only exception is changePercent, which is in percent points: -1.78 means −1.78%.
A real quote row for AAPL (shortened):
{"recordType": "quote","symbol": "AAPL","url": "https://finance.yahoo.com/quote/AAPL/","title": "Apple Inc.","quoteType": "EQUITY","exchange": "NasdaqGS","currency": "USD","marketState": "REGULAR","regularMarketTime": "2026-11-05T18:21:22.000Z","dataDelayMinutes": 15,"price": 343.3,"change": -6.210022,"changePercent": -1.7767794,"previousClose": 349.51,"volume": 38346985,"marketCap": 4988898115584,"trailingPE": 38.2294,"forwardPE": 32.24025,"dividendYield": 0.0031,"exDividendDate": "2026-11-12","beta": 1.089,"totalRevenue": 478833999872,"profitMargins": 0.27604,"targetMeanPrice": 333.28052,"recommendationKey": "buy","numberOfAnalystOpinions": 38,"sector": "Technology","industry": "Consumer Electronics","country": "US","countryName": "United States","website": "https://www.apple.com","fullTimeEmployees": 167000,"description": "Apple Inc. designs, manufactures, and markets smartphones, personal computers…","scrapedAt": "2026-11-05T18:21:24.392Z"}
A history row has the same symbol and currency, plus date, interval, open, high, low, close, adjClose and volume. Its url points to the ticker's /history/ page.
Use cases
- Watchlist or portfolio snapshot: get the price, daily change, market cap, P/E, dividend yield and analyst target for your tickers in one table.
- Backtesting: download daily candles with the adjusted close back to the first trading day, plus dividends and splits, for KO, JPM or any other symbol.
- Intraday analysis: get 1-minute candles for the last 5 trading days, with pre-market and after-hours candles if you want them.
- Screening many tickers: get prices for hundreds of symbols quickly with key statistics turned off.
- AI agents and BI tools: the flat rows load straight into a spreadsheet, a database or an agent's context without unnesting.
Limitations
- Intraday limits come from Yahoo. 1-minute candles: only the last 30 days and at most 8 days per run (range
1dor5d). 2–90-minute candles: only the last 60 days (range up to1mo). 1-hour and 4-hour candles: only the last 730 days (range up to2y). If you ask for more, the run stops with an input error that names the fields, before it sends any request. - Key statistics depend on the asset type. They are complete for stocks. ETFs, funds, crypto, FX, indices and futures have fewer fields. For example,
sectorisnullfor SPY and BTC-USD. - Quotes may be delayed. The delay depends on the exchange and is shown in
dataDelayMinutes. Values are what Yahoo reports. adjCloseis filled only for daily or coarser candles. It isnullfor intraday candles.- Options chains, financial statements and news are not included.
- Quotes and key statistics depend on Yahoo's cookie and crumb check. If it fails, the run still returns history rows, but no quote rows.
Tips and troubleshooting
- 0 rows or a missing ticker? Check the log and the status message: unknown or delisted tickers are listed there and are free. Use Yahoo's exact symbol with its exchange suffix (
7203.T,SAP.DE,RELIANCE.NS). - History only: turn Quote row per ticker off and set a range or dates. If both quotes and history are off, the run fails with "Nothing to fetch".
- Full history:
historyRange: "max"returns candles in the interval you chose (daily, weekly, monthly). It does not fall back to Yahoo's coarse 3-month default. - Speed for long lists: quotes are requested 50 symbols at a time, and the ticker list has no cap. Key statistics add one request per ticker, so turn them off when you only need prices.
- Proxy: the default datacenter proxy works. If you change the proxy, use a US exit or no country, because EU IPs may get Yahoo's cookie-consent page.
API, MCP and integrations
Run the actor from your code with the same JSON input as in Console. Your API token is in Console → Settings → API & Integrations.
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("genial_candlestand/yahoo-finance-scraper").call(run_input={"tickers": ["AAPL", "MSFT", "NVDA", "SPY", "BTC-USD"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('genial_candlestand/yahoo-finance-scraper').call({"tickers": ["AAPL", "MSFT", "NVDA", "SPY", "BTC-USD"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
HTTP — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: run asynchronously):
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~yahoo-finance-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"tickers":["AAPL","MSFT","NVDA","SPY","BTC-USD"]}'
AI agents (MCP). Add the actor as a tool of the Apify MCP server. Claude Code:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/yahoo-finance-scraper"
Claude Desktop, Cursor or VS Code: {"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/yahoo-finance-scraper"}}}. Then ask, for example:
- "Get the price, P/E, market cap and analyst target of AAPL, MSFT and NVDA from Yahoo Finance"
- "Download all daily prices of KO since 1962 with dividends and splits"
- "Give me 1-minute candles for TSLA for the last 5 days, including pre-market"
Integrations. Run it on a schedule with Apify Schedules and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see Apify integrations.
FAQ
Is it legal to scrape Yahoo Finance?
The actor reads public market data that Yahoo Finance shows to any visitor without a login. It collects no personal data. You are responsible for using the data according to Yahoo's terms and the laws that apply to you.
Which symbols are supported?
Any symbol Yahoo Finance lists: stocks on all exchanges, ETFs, mutual funds (VFIAX), crypto (BTC-USD), FX pairs (EURUSD=X), indices (^GSPC) and futures (GC=F).
Can I get quotes and history in one run?
Yes. Each ticker gets its quote row first, then its candles by date, then its dividends and splits. The recordType field tells the rows apart.
How is it different from other Yahoo Finance actors?
Quote, key statistics and profile come in one flat row, not in nested blocks, and all row kinds share one table of 85 columns. Full daily history uses the interval you asked for. Invalid interval and range combinations are rejected before any request is sent. Unknown tickers are reported and are free. The price is $0.90 per 1,000 rows, while the most-used Yahoo Finance actor charges $1.00.
Why is a long history expensive?
Every candle is one row, and every row costs the same. Ten years of daily data is about 2,500 rows per ticker. Use weekly or monthly candles, or set Max rows.
Also useful
- SEC EDGAR Filings Search — find 10-K, 10-Q and 8-K filings of the companies you track, by keyword, company, form and date
- Google News Scraper — follow news articles about your tickers and companies by keyword or topic
- Google Trends Scraper — compare search interest in brands and tickers over time and by region
- Trustpilot Reviews Scraper — add customer sentiment to a company's fundamentals: star ratings and company replies