Yahoo Finance Fundamentals Scraper - Stocks & Financials
Pricing
from $1.50 / 1,000 results
Yahoo Finance Fundamentals Scraper - Stocks & Financials
Yahoo Finance fundamentals scraper & API: export income statement, balance sheet & cash flow (annual & quarterly), key stats, valuation ratios (P/E, PEG, EV/EBITDA), margins, analyst price targets, dividends and live quotes for stocks, ETFs & crypto β fast, no login, no API key.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Haketa
Maintained by CommunityActor stats
0
Bookmarked
24
Total users
3
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Yahoo Finance Scraper π β Financial Statements, Ratios, Analyst Targets & Quotes
Scrape Yahoo Finance fundamentals as clean, structured JSON β the full income statement, balance sheet and cash flow (annual & quarterly), plus key statistics, valuation ratios, profitability metrics, analyst price targets, earnings dates, dividends and live quotes β for stocks, ETFs, indices, crypto and FX, worldwide. This Yahoo Finance scraper turns finance.yahoo.com into a reliable Yahoo Finance data extractor and B2B financial intelligence feed: no login, no coding, no API key.
Export every record in bulk to JSON, CSV, Excel, XML or HTML, or pull it straight from the Apify API.
π‘ Who it's for: quant and data teams building fundamental models, equity-research and buy-side analysts screening watchlists, fintech products powering stock dashboards and newsletters, and developers who need a dependable Yahoo Finance API alternative that returns complete financials in one call.
β‘ At a glance
| Feature | Details |
|---|---|
| Data source | Yahoo Finance β Global stocks, ETFs, mutual funds, indices, crypto & FX |
| Core financials | Multi-year Income Statement, Balance Sheet & Cash Flow (Annual & Quarterly) |
| Key ratios & stats | Market Cap, Enterprise Value, Trailing/Forward P/E, PEG, P/B, P/S, EV/Revenue, EV/EBITDA, Beta, EPS |
| Profitability & health | Gross / Operating / Profit Margins, ROE, ROA, Revenue & Earnings Growth, Total Cash, Total Debt, FCF |
| Analyst & calendar | Consensus Price Targets (Mean/High/Low), Recommendation, Earnings Dates, EPS & Revenue Estimates |
| Dividends & quotes | Live Price, 52W High/Low, Volume, Dividend Rate, Yield, Payout Ratio, Ex-Dividend & Payment Dates |
| Scale & pagination | 1,000+ symbols per run via custom ticker lists or automatic multi-screener pagination |
| Export formats | JSON, CSV, Excel (XLSX), XML, HTML Table, RSS & direct Apify REST API |
π Table of contents
- At a glance
- Why scrape Yahoo Finance?
- What this Yahoo Finance scraper does
- Use cases
- Input
- Output
- Pagination & scale
- How to use
- Tips
- FAQ
- Related scrapers
- Changelog
π Why scrape Yahoo Finance?
Yahoo Finance is one of the largest free sources of company fundamentals on the web: financial statements, valuation multiples, profitability ratios, analyst estimates, dividend history and real-time quotes for tens of thousands of tickers across global exchanges. For anyone building a model, a dashboard or a screener, it is the obvious starting point β the problem is getting the data out in a usable shape.
Collecting it by hand is painful. The site paginates financials behind tabs, hides numbers in nested JSON, rotates an auth crumb that breaks naΓ―ve scripts, and rate-limits aggressive bursts. Copy-pasting one statement at a time does not scale past a handful of symbols, and most "Yahoo Finance scraper" tools either return only prices or wrap a library that silently dies when Yahoo changes its gating.
This Yahoo Finance scraper solves that. It is built API-first (no fragile page rendering), it handles the cookie + crumb session and proxy rotation for you, and it returns complete, normalized fundamentals β statements and valuation and analyst data and earnings dates β in one record per symbol, ready for a spreadsheet, a database or a model.
Common reasons people scrape Yahoo Finance:
- π Build fundamental models from multi-year income statement, balance sheet and cash-flow history.
- π Screen and compare valuation (P/E, PEG, EV/EBITDA, P/B) and profitability (margins, ROE, ROA) across a whole watchlist.
- π― Pull analyst price targets and recommendations for a buy/sell universe in one batch.
- π Track next earnings dates and consensus EPS/revenue estimates to plan around reporting season.
- π΅ Monitor dividends β rate, yield, payout ratio, ex-dividend and payment dates.
- π Power stock dashboards, newsletters and alerts with reliable structured Yahoo Finance data.
- π€ Feed quant pipelines and backtests with normalized fundamentals plus optional OHLCV price history.
β¨ What this Yahoo Finance scraper does
Give it a list of tickers, or pick a ready-made screener, and it returns one normalized record per symbol:
- β Financial statements β income statement, balance sheet and cash flow, annual and/or quarterly, with clean normalized field names and multiple periods of history.
- β Key statistics & valuation β market cap, trailing & forward P/E, PEG, price/book, price/sales, enterprise value, EV/revenue, EV/EBITDA, beta, book value, trailing & forward EPS, shares outstanding and float.
- β Profitability & growth β gross / operating / profit margins, ROE, ROA, revenue & earnings growth, total revenue (TTM), EBITDA, total cash, total debt, current & quick ratios, free & operating cash flow.
- β Analyst data β mean / high / low price targets, recommendation key and the number of analyst opinions.
- β Earnings calendar & estimates β next earnings date (with an estimate flag) plus consensus next-quarter EPS and revenue estimates (average / low / high).
- β Dividends β dividend rate, yield, payout ratio, ex-dividend date and dividend payment date.
- β Live quote & range β current price, previous close, day high/low, 52-week high/low, volume and average volume.
- β Optional OHLCV price history β daily open/high/low/close/adj-close/volume over a selectable range (1 month β max).
- β Screener discovery β pick a predefined Yahoo list (most actives, day gainers, undervalued large caps, growth tech, etc.) and the actor fetches fundamentals for every stock in it automatically.
- β
De-duplicated symbols, honest
nullfor genuinely missing values, and automatic retry / proxy rotation so large runs keep working through Yahoo's rate limits.
Only features the actor actually performs are listed above β every output field below is grounded in the live response.
π― Use cases
- Quantitative research β assemble a cross-sectional dataset of valuation and profitability ratios for factor models and screens.
- Equity / buy-side analysis β compare P/E, PEG, EV/EBITDA, margins, ROE and analyst targets across a coverage list in seconds.
- Fundamental modeling β pull several years of statements per company to build DCF and comparable-company models.
- Fintech & dashboards β feed a stock-tracking app, portfolio tool or Discord/Slack bot with fresh Yahoo Finance data.
- Dividend & income investing β screen for yield, payout ratio and upcoming ex-dividend / payment dates.
- Earnings-season planning β surface next earnings dates and consensus EPS/revenue estimates across a universe.
- Market research & media β power newsletters, research notes and data journalism with reliable fundamentals.
- Backtesting β combine fundamentals with optional OHLCV price history for strategy research.
π₯ Input
Configure everything from the Apify UI, or pass a JSON input via the API. Every field is optional β leave it all empty and the actor returns a popular, diverse sample (mega-cap tech, finance, healthcare, energy, consumer, an ETF, an index, crypto and FX) so you always get useful data.
| Field | Type | Description |
|---|---|---|
symbols | array | Tickers to scrape, e.g. AAPL, MSFT, BTC-USD, ^GSPC, EURUSD=X. Stocks, ETFs, indices, crypto and FX are all supported. |
screener | string | Optional predefined Yahoo screener to discover tickers automatically (most_actives, day_gainers, day_losers, undervalued_large_caps, growth_technology_stocks, aggressive_small_caps, undervalued_growth_stocks, most_shorted_stocks, small_cap_gainers, top_mutual_funds, portfolio_anchors, solid_large_growth_funds, high_yield_bond). |
statementFrequency | string | both, annual, or quarterly. Default both. |
includeStatements | boolean | Include full income statement, balance sheet and cash flow history. Default true. Disable for a faster quotes + key-stats run. |
includePriceHistory | boolean | Include historical daily OHLCV price data. Default false. |
priceRange | string | How far back to pull price history: 1mo, 6mo, 1y, 5y, max. Default 1y. |
maxItems | integer | Maximum number of symbols to scrape. Use 0 for no limit. Default 100. |
maxConcurrency | integer | Maximum parallel requests. Default 5 (keep moderate for the most reliable runs). |
proxyConfiguration | object | Proxy settings. Default: Apify Proxy on, which works out of the box. |
Input examples
1) A few tickers with full statements
{"symbols": ["AAPL", "MSFT", "GOOGL"],"statementFrequency": "both"}
2) Discover & scrape the most active stocks
{"screener": "most_actives","maxItems": 50}
3) Quotes + key stats only (fast, no statements)
{"symbols": ["TSLA", "NVDA", "AMD"],"includeStatements": false}
4) With price history
{"symbols": ["AAPL"],"includePriceHistory": true,"priceRange": "5y"}
π€ Output
The actor pushes one record per symbol to the dataset. Here is a real item from a fresh run (trimmed for readability):
{"symbol": "MSFT","name": "Microsoft Corporation","exchange": "NasdaqGS","currency": "USD","quoteType": "EQUITY","sector": "Technology","industry": "Software - Infrastructure","country": "United States","website": "https://www.microsoft.com","employees": 228000,"businessSummary": "Microsoft Corporation develops and supports software, services, devices, and solutions worldwide...","price": 521.91,"marketCap": 3875804807168,"previousClose": 517.03,"dayHigh": 523.26,"dayLow": 515.59,"fiftyTwoWeekHigh": 555.45,"fiftyTwoWeekLow": 344.79,"volume": 18650300,"averageVolume": 21004000,"trailingPE": 27.239561,"forwardPE": 26.124,"pegRatio": 2.13,"priceToBook": 8.238385,"priceToSales": 11.58,"enterpriseValue": 3856291201024,"enterpriseToRevenue": 13.49,"enterpriseToEbitda": 23.25,"beta": 1.026,"bookValue": 63.35,"trailingEps": 17.95,"forwardEps": 19.98,"sharesOutstanding": 7426419712,"floatShares": 7416000000,"profitMargins": 0.41169998,"grossMargins": 0.69064,"operatingMargins": 0.45689,"returnOnEquity": 0.34221,"returnOnAssets": 0.16711,"revenueGrowth": 0.183,"earningsGrowth": 0.221,"totalRevenueTTM": 281723994112,"totalCash": 94560002048,"totalDebt": 60711000064,"currentRatio": 1.355,"quickRatio": 1.082,"freeCashflowTTM": 55460999168,"operatingCashflowTTM": 136630005760,"dividendRate": 3.32,"dividendYield": 0.0075,"payoutRatio": 0.2476,"exDividendDate": "2026-11-20","dividendDate": "2026-12-11","targetMeanPrice": 632.89825,"targetHighPrice": 700.0,"targetLowPrice": 500.0,"recommendationKey": "strong_buy","numberOfAnalystOpinions": 52,"earningsDate": "2027-01-27","isEarningsDateEstimate": true,"earningsAverageEstimate": 3.73,"earningsLowEstimate": 3.6,"earningsHighEstimate": 3.84,"revenueAverageEstimate": 85247000000,"revenueLowEstimate": 83600000000,"revenueHighEstimate": 87178000000,"financials": {"incomeStatement": [{ "date": "2026-06-30", "frequency": "annual", "periodType": "12M", "currency": "USD", "totalRevenue": 281723000000, "grossProfit": 194556000000, "operatingIncome": 128730000000, "pretaxIncome": 165934000000, "netIncome": 133749000000, "ebitda": 207519000000, "dilutedEPS": 17.95 }],"balanceSheet": [{ "date": "2026-06-30", "frequency": "annual", "totalAssets": 619003000000, "totalDebt": 60711000000, "stockholdersEquity": 343477000000, "cashAndCashEquivalents": 28255000000 }],"cashFlow": [{ "date": "2026-06-30", "frequency": "annual", "operatingCashFlow": 136630000000, "freeCashFlow": 55461000000, "capitalExpenditure": -81169000000 }]},"scrapedAt": "2026-11-01T08:12:40.511Z"}
Field reference & coverage
π·οΈ Identity & Company Profile
| Field | Coverage | Description |
|---|---|---|
symbol, name, exchange, currency, quoteType | π’ High (100%) | Core ticker symbol, instrument name, exchange, trading currency and asset class (EQUITY, ETF, INDEX, CRYPTOCURRENCY, CURRENCY). |
sector, industry, country, website, employees, businessSummary | π‘ Conditional | Corporate profile, sector/industry classification, headcount, official website and business description (present for equities). |
πΉ Live Quote & Trading Range
| Field | Coverage | Description |
|---|---|---|
price, previousClose, dayHigh, dayLow | π’ High (100%) | Latest market price, prior close and intraday trading range. |
fiftyTwoWeekHigh, fiftyTwoWeekLow, volume, averageVolume | π’ High (100%) | 52-week price range, current session volume and average daily volume. |
marketCap, enterpriseValue, sharesOutstanding, floatShares | π’ High | Capitalization and share-count metrics (equities & ETFs). |
π Valuation & Profitability Ratios
| Field | Coverage | Description |
|---|---|---|
trailingPE, forwardPE, pegRatio, priceToBook, priceToSales | π’ High | Core valuation multiples across trailing and forward earnings, book value and sales. |
enterpriseToRevenue, enterpriseToEbitda, beta, bookValue, trailingEps, forwardEps | π’ High | Enterprise multiples, volatility beta, book value per share and diluted EPS. |
profitMargins, grossMargins, operatingMargins, returnOnEquity, returnOnAssets | π’ High | Profitability margins and return on capital metrics. |
revenueGrowth, earningsGrowth, totalRevenueTTM, ebitdaTTM, totalCash, totalDebt, currentRatio, quickRatio, freeCashflowTTM, operatingCashflowTTM | π’ High | Growth rates, trailing-twelve-month top/bottom-line totals, liquidity ratios and cash generation. |
π― Analyst Targets, Earnings Calendar & Dividends
| Field | Coverage | Description |
|---|---|---|
targetMeanPrice, targetHighPrice, targetLowPrice, recommendationKey, numberOfAnalystOpinions | π‘ Conditional | Wall Street consensus price targets, rating (strong_buy, buy, hold, etc.) and analyst coverage count. |
earningsDate, isEarningsDateEstimate, earningsAverageEstimate, earningsLowEstimate, earningsHighEstimate, revenueAverageEstimate, revenueLowEstimate, revenueHighEstimate | π‘ Conditional | Next earnings release date and consensus next-quarter EPS & revenue estimates. |
dividendRate, dividendYield, payoutRatio, exDividendDate, dividendDate | π‘ Conditional | Annualized dividend rate, yield, payout ratio, ex-dividend date and payment date (for dividend-paying securities). |
π Financial Statements & Historical Prices
| Field | Coverage | Description |
|---|---|---|
financials.incomeStatement[] | π’ High (Equities) | Multi-period income statement rows (annual and/or quarterly): date, frequency, periodType, currency, totalRevenue, costOfRevenue, grossProfit, operatingExpense, operatingIncome, pretaxIncome, taxProvision, netIncome, ebit, ebitda, basicEPS, dilutedEPS, researchAndDevelopment, sellingGeneralAndAdministration, interestExpense. |
financials.balanceSheet[] | π’ High (Equities) | Multi-period balance-sheet rows: totalAssets, currentAssets, cashAndCashEquivalents, receivables, inventory, totalLiabilitiesNetMinorityInterest, currentLiabilities, totalDebt, longTermDebt, stockholdersEquity, retainedEarnings, ordinarySharesNumber, workingCapital, investedCapital. |
financials.cashFlow[] | π’ High (Equities) | Multi-period cash-flow rows: operatingCashFlow, investingCashFlow, financingCashFlow, freeCashFlow, capitalExpenditure, endCashPosition, depreciationAndAmortization, repurchaseOfCapitalStock, cashDividendsPaid. |
priceHistory[] | π‘ Conditional | Daily OHLCV (date, open, high, low, close, adjClose, volume) when includePriceHistory: true. |
scrapedAt | π’ High (100%) | ISO 8601 timestamp of when the record was collected. |
Honest note on coverage (from a fresh 296-symbol run): the identity and live-quote fields β symbol, name, exchange, currency, quoteType, price, previousClose, dayHigh, dayLow, fiftyTwoWeekHigh, fiftyTwoWeekLow, volume, averageVolume β populate at 100% for every instrument. Fields are set to null only when Yahoo genuinely does not report them. Full financial statements apply to equities (they populated for ~100% of the stocks in the run, with up to 5 annual periods each); indices (^GSPC), FX (EURUSD=X) and crypto (BTC-USD) return quote and price data but have empty statement arrays. Valuation multiples, analyst targets, dividends and earnings estimates are present for the symbols Yahoo actually covers (most liquid equities β 85β90% of a typical run) and are null for ETFs, indices, FX and smaller names that Yahoo does not report them for.
π Pagination & scale
This Yahoo Finance scraper is symbol-driven and supports 1,000+ results pagination out of the box:
- Supply a
symbolslist of any length (100, 1,000, or 5,000+ tickers), or pick a screener and the actor automatically paginates through the screener with offset pagination (250per page) β and whenmaxItemsexceeds a single list (e.g.1,000+symbols), it automatically expands across all 13 curated Yahoo screeners so your full target is reached. - Symbols are de-duplicated (case-insensitive) before scraping, so overlapping lists never produce duplicate records.
- The
maxItemsinput caps how many symbols are scraped (0= no limit), andmaxConcurrencycontrols how many run in parallel. - Internally the actor maintains a concurrency pool that keeps
maxConcurrencyrequests in flight until the full symbol list is exhausted, then finishes cleanly. - Each request is backed by automatic retry with proxy/session rotation on rate-limit responses, so large 1,000+ symbol runs stay reliable.
In practice you can scrape anywhere from a single ticker to hundreds of symbols in one run β the actor simply iterates the de-duplicated list with bounded concurrency. A recent verification run combined the most-actives screener with an ~82-ticker watchlist and returned 296 unique symbols with full annual statements in under two minutes and zero duplicates.
βοΈ How to use
- Open the actor on the Apify Console and click Try for free / Start.
- Add your Symbols (e.g.
AAPL,MSFT,BTC-USD) β or pick a Screener to discover tickers automatically. Leave both empty for a popular sample. - Choose Statement frequency (annual / quarterly / both) and toggle Include financial statements and Include price history.
- Set Max symbols (
maxItems), then click Save & Start. - When the run finishes, export the dataset as JSON, CSV, Excel, XML or HTML, or fetch it from the Apify API.
- Automate it: run on a schedule to track quarterly results, or push results into Make, Zapier, Google Sheets, a database or a webhook via Apify integrations.
Run via API (Node.js)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('haketa/yahoo-finance-fundamentals-scraper').call({screener: 'most_actives',statementFrequency: 'both',includeStatements: true,maxItems: 250,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Fetched fundamentals for ${items.length} tickers.`);
Run via API (Python)
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("haketa/yahoo-finance-fundamentals-scraper").call(run_input={"symbols": ["AAPL", "MSFT", "NVDA", "GOOGL", "AMZN"],"statementFrequency": "both","includeStatements": True,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["symbol"], item.get("price"), item.get("trailingPE"), item.get("targetMeanPrice"))
π‘ Tips
- π§ͺ Start small β run two or three symbols first to confirm the output shape before scaling up.
- β‘ Disable statements (
includeStatements: false) for a fast quotes + key-stats run when you don't need full history. - π§± Use a screener to scan a whole segment (most actives, undervalued large caps, growth tech) without typing tickers.
- π
Reading
earningsDateacross a watchlist is a quick way to build an earnings-season calendar. - π’ Keep concurrency moderate and proxy on β Yahoo rate-limits aggressive bursts, and the default settings are tuned for reliability.
- πΎ Schedule recurring runs and pipe the data into Google Sheets or a database to track fundamentals over time.
β FAQ
Do I need a Yahoo Finance API key or login? No. There is no API key and no login. The actor handles session management automatically, so you just provide tickers and run it.
How many symbols can it scrape, and how fast?
As many as you like β pass a long symbols list (1,000+ tickers) or pick a screener and set maxItems: 1000 to automatically paginate and expand across Yahoo's predefined screeners. With the default concurrency it comfortably scrapes dozens of symbols per minute; quotes-only runs (statements disabled) are noticeably faster than full-statement runs.
Does it cover non-US companies, ETFs, crypto and FX?
Yes. Any symbol available on Yahoo Finance works, across global exchanges β plus ETFs, indices (^GSPC), crypto (BTC-USD) and FX (EURUSD=X). Full statements apply to equities; other instruments return quote and price data.
Which financial statements are included? Income statement, balance sheet and cash flow β annual and/or quarterly β with normalized field names and multiple periods of history.
Do I get analyst targets, earnings dates and dividends? Yes β mean/high/low price targets, recommendation and analyst count; the next earnings date with consensus EPS & revenue estimates; and dividend rate, yield, payout ratio, ex-dividend date and payment date (present for symbols Yahoo covers).
Can I discover tickers automatically instead of typing them? Yes β pick a predefined screener (most actives, day gainers, undervalued large caps, growth technology stocks, and more) and the actor fetches fundamentals for every stock in that list, expanding across screeners automatically when you request 1,000+ results.
What export formats are supported? JSON, CSV, Excel, XML, HTML table and RSS β plus the Apify API and integrations (Make, Zapier, Google Sheets, webhooks).
How fresh is the data? Every run fetches live data from Yahoo at the moment it executes, including the current quote; schedule runs to keep a dataset continuously up to date.
Why are some fields null?
Because Yahoo does not report that value for that symbol β e.g. an index has no P/E, a non-dividend stock has no yield, and some smaller names have no analyst coverage. Missing values are returned as null rather than guessed.
π Related scrapers
Pair this Yahoo Finance scraper with other Haketa finance & market-data tools:
- SEC EDGAR Scraper β US Public Company Filings & Profiles β official 10-K / 10-Q / 8-K filings and company facts to complement Yahoo fundamentals.
- CoinGecko Scraper β Crypto Market Data β prices, market caps, volume and multi-period change for thousands of coins.
- DeFiLlama Scraper β DeFi TVL & Yields β protocol TVL, chain breakdowns and yield-pool APY analytics.
- FINRA BrokerCheck Scraper β Advisors & Firms β broker/advisor and firm records for KYC and due diligence.
Browse more scrapers on the Haketa Apify profile.
π Changelog
- v1.2 (2026-11) β Unlocked 1,000+ symbol pagination across predefined Yahoo screeners (
offsetpagination + multi-screener expansion whenmaxItems >= 1000), tuned prefill defaults for fast< 30sverification runs, and expanded documentation with emoji-grouped field coverage tables. - v1.1 (2026-10) β Added
calendarEventsearnings dates, consensus next-quarter EPS/revenue estimates, and dividend payment dates alongside annual & quarterly timeseries statements. - v1.0 (2026-05) β Initial release with income statement, balance sheet, cash flow, valuation ratios, analyst targets, and optional OHLCV price history.
Ready to pull clean Yahoo Finance fundamentals? Add your tickers (or pick a screener) and click Start β export financial statements, ratios, analyst targets, earnings dates and quotes to JSON, CSV, Excel or the Apify API in minutes.