Yahoo Finance Data Scraper - Quotes, Financials, Price History
Pricing
from $0.85 / 1,000 symbol quote rows
Yahoo Finance Data Scraper - Quotes, Financials, Price History
Get Yahoo Finance quotes, financials and price history as structured rows. Search by name (apple, bitcoin) or pass tickers such as AAPL, MSFT, ^GSPC, BTC-USD and EURUSD=X. Request all 33 quoteSummary modules and OHLCV history from 1d to max, at intervals from 1m to 1mo.
Yahoo Finance Scraper – Quotes, Financials & Price History
Yahoo Finance quotes, company financials and OHLCV price history arrive as flat JSON rows. One run resolves search terms such as apple, bitcoin and s&p 500, or takes tickers such as AAPL, BTC-USD and EURUSD=X directly, and writes one row per symbol into a single overview dataset view. The dataset schema declares 58 field properties and shows 17 of them in that view: symbol, shortName, quoteType, exchange, currency, regularMarketPrice, regularMarketChange, regularMarketChangePercent, regularMarketVolume, marketCap, regularMarketDayRange, fiftyTwoWeekRange, trailingPE, plus the nested quote, summary, chart and searchMatch objects that keep the full Yahoo response. Summary and financials are on by default; price history is off by default. The Actor signs its requests to Yahoo's mobile endpoints itself, so the input schema asks for no Yahoo account, login or API key. Full field dictionary: https://keyspace.dev/data-dictionaries/yahoofinance/index.html
What data slices does a run produce?
Four sections make up a row. All of them live in the same dataset; an agent selects the sections it needs with three boolean inputs and reads typed fields rather than parsing a page.
| Slice | Where it sits in the row | What it carries | When it appears |
|---|---|---|---|
| Quote snapshot | 17 overview columns and quote | Name, quoteType, exchange, currency, price, change, volume, market cap, ranges, P/E, and the full quote object | When Yahoo returns a quote for the symbol |
| Search match | searchMatch | The Yahoo search hit that resolved a term, with symbol, shortname, longname, exchange, quoteType, sector, industry, score and typeDisp | Only for symbols resolved from query; null for symbols passed in symbols |
| Summary & financials | summary | Up to 33 quoteSummary modules: statements, earnings, analyst trends, ownership and key statistics | When includeSummary is true and Yahoo answers; null on failure |
| Price history | chart | meta, a timestamp array, and parallel OHLCV arrays under indicators.quote and indicators.adjclose | When includeHistory is true and the chart has bars; null otherwise |
symbol is the only required column. It is present even on a row whose quote fetch came back empty, so a failed ticker is visible in the output.
Which stocks, indices, crypto and FX pairs can I target?
The Actor forwards symbols to Yahoo and keeps the record Yahoo returns; it has no fixed ticker list. These entities come from captured rows observed on 2026-11-03.
| Entity | Symbol | quoteType | Exchange in the row | Observed field value |
|---|---|---|---|---|
| Apple Inc. | AAPL | EQUITY | NMS / NasdaqGS | regularMarketPrice 338.32, marketCap 4,937,503,211,520, averageAnalystRating "2.2 - Buy" |
| Microsoft Corporation | MSFT | EQUITY | NMS / NasdaqGS | regularMarketPrice 507.12, trailingPE 26.46764, averageAnalystRating "1.4 - Strong Buy" |
| Bitcoin USD | BTC-USD | CRYPTOCURRENCY | CCC | regularMarketPrice 77120.71, marketState REGULAR |
| EUR/USD | EURUSD=X | CURRENCY | CCY | regularMarketPrice 1.1188185, currency USD |
| S&P 500 | ^GSPC | INDEX | SNP | regularMarketPrice 7541.4, marketCap absent |
| Apple stock futures, Dec | SAAPL=F | FUTURE | CME | regularMarketPrice 325.51, regularMarketVolume 54 |
| Unresolvable test ticker | ZZZZNOTREAL | absent | absent | Row ships with the symbol and null quote, summary, chart, searchMatch |
Search results can include more than one instrument for a name: with resultsPerQuery above 1, a run for apple returned both AAPL and the futures contract SAAPL=F. The searchMatch object records which hit produced each row.
What does a result row look like?
A row promotes the common quote scalars to the top level and keeps the raw objects intact. This excerpt uses values from the captured AAPL row:
{"symbol": "AAPL","shortName": "Apple Inc.","quoteType": "EQUITY","exchange": "NMS","currency": "USD","regularMarketPrice": 338.32,"regularMarketChange": -6.3099976,"regularMarketChangePercent": -1.8309484,"regularMarketVolume": 64689155,"marketCap": 4937503211520,"regularMarketDayRange": "335.84 - 343.78","fiftyTwoWeekRange": "243.42 - 351.73","trailingPE": 37.674835,"quote": { "...": "the full Yahoo quote object" },"summary": { "...": "one key per quoteSummary module" },"chart": { "...": "meta, timestamp and OHLCV indicator arrays" },"searchMatch": null}
The quote object keeps fields the overview does not show, such as preMarketPrice, postMarketPrice, bid, ask, fiftyDayAverage, twoHundredDayAverage, trailingAnnualDividendYield and earningsTimestamp. The captured AAPL and MSFT quote objects hold 90 keys; BTC-USD holds 70, and the EUR/USD and S&P 500 rows hold 61 each. A field may be absent rather than null when Yahoo does not publish it for that instrument.
How many bars and financial modules come back?
Counts depend on Yahoo's chart endpoint and on the instrument. The AAPL bar counts below were measured on 2026-11-03 through the Apify proxy.
historyRange / historyInterval | Bars in the chart result |
|---|---|
1mo / 1d | 21 |
1y / 1d | 251 |
5y / 1d | 1,254 |
10y / 1d | 2,512 |
5d / 1m | 1,951 |
2y / 1h | 3,491 |
max / any interval | 169 at 3mo granularity |
max is worth knowing about: Yahoo's mobile endpoint downgrades the chart to a three-monthly series of 169 bars whatever interval is requested, so 10y / 1d carries 2,512 bars while max carries 169. When a run's charge limit covers only part of a series, the chart object carries truncatedByChargeLimit: true and keeps the most recent bars.
For financials, the Actor requests 33 quoteSummary modules. Yahoo returns only those that apply: 30 for AAPL and MSFT, 5 for BTC-USD, 3 for EURUSD=X and 0 for the S&P 500 index in the captured rows, with a mean of 24.4 modules over 200 measured rows. Named modules include incomeStatementHistory, incomeStatementHistoryQuarterly, balanceSheetHistory, cashflowStatementHistory, earningsHistory, recommendationTrend, institutionOwnership, topHoldings, defaultKeyStatistics and financialData.
Which inputs control a run?
Every input below comes from the Actor's own input schema.
| Input | Default | Effect |
|---|---|---|
query | apple | Human search string resolved through Yahoo's mobile search endpoint |
symbols | none | Explicit tickers; bypasses search resolution |
resultsPerQuery | 1 | Matching symbols kept from each search term |
includeSummary | true | Fetch the 33-module summary/financials detail |
includeHistory | false | Fetch the chart time series |
historyRange | 1mo | One of 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max |
historyInterval | 1d | One of 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo |
region | US | Market region code sent to Yahoo, for example US, GB, DE |
lang | en-US | Language code sent to Yahoo |
maxItems | 0 | Cap on symbols; 0 keeps all resolved symbols |
proxyConfiguration | Apify Proxy | Proxy used for the signed Yahoo requests |
A minimal input for two tickers with history:
{"symbols": ["AAPL", "MSFT"],"includeSummary": true,"includeHistory": true,"historyRange": "1y","historyInterval": "1d","maxItems": 0}
Which events does a run bill?
The Actor uses three named events and resolves them against the run's pricing information before it charges anything. No section is delivered with an unpaid charge attached.
| Event | Fires when | Unit |
|---|---|---|
symbol-row | A quote exists for the symbol | One charge for each delivered symbol row |
summary-financials | The summary object was returned | One charge for each row carrying that object |
price-history-bar | The chart carries bars | One charge for each bar delivered; the Actor falls back to the legacy price-history event if that is the name priced on the run |
| No event | The quote fetch returned empty | The row still ships with its symbol and null objects |
Current event figures are on the Actor's Pricing tab. Charge decisions are based on content, not on the boolean inputs: asking for financials that Yahoo does not have leaves summary null and creates no summary-financials charge. Duplicate symbols are dropped before any charge is made.
What happens when a lookup fails?
A search term with no match produces a warning and no row. A ticker passed in symbols that Yahoo has no quote for produces a row with the symbol and null sections; that row carries no symbol-row charge. If a summary or chart call fails, the Actor logs a warning, leaves that object null and still delivers the quote row. A meta-only chart envelope with no timestamp counts as no price history, so a delisted symbol does not get a history charge.
Frequently asked questions
Do I need a Yahoo Finance account or API key?
No. The input schema has no credential field. The Actor signs its own requests to Yahoo's mobile endpoints with the app credentials in its code, so a run needs only an Apify account.
Should I use a search term or a ticker?
Use query when you have words a person would type, such as bitcoin or s&p 500; Yahoo's search resolves it and resultsPerQuery decides how many hits to keep. Use symbols when you already know the ticker, including suffixed listings such as SIE.DE or pairs such as EURUSD=X, and skip the search step.
Is the quote live?
The row carries Yahoo's own quote fields, not a value recalculated by the Actor. Read regularMarketTime for the Unix timestamp of the quoted price and marketState for the session flag; the captured AAPL row has marketState PRE and timestamp 1793653201, observed on 2026-11-03.
Can I get income statements, balance sheets and cash flow?
Yes. With includeSummary on, summary holds modules such as incomeStatementHistory, balanceSheetHistory, cashflowStatementHistory and their ...Quarterly variants, plus earningsHistory and recommendationTrend. Yahoo returns 30 of them for AAPL and MSFT in the captured rows.
Can I get intraday price history?
Yes. Set includeHistory to true and choose an interval from 1m to 1mo; the historyRange selector has 11 values from 1d to max. Avoid max when you want fine detail, because Yahoo answers that range with 169 three-monthly bars regardless of interval.
Does a search run show why a term matched a ticker?
Yes. searchMatch holds the Yahoo hit, including symbol, shortname, exchange, quoteType, sector and score. It is null for tickers supplied directly in symbols.
Can I build a recurring price series?
Run with a fixed symbols list and includeHistory enabled: each run writes one row per symbol with the chart for the chosen historyRange and historyInterval. Reading regularMarketTime and the chart timestamp array lets you place each snapshot on a timeline.
Where is the full field list?
The field-by-field dictionary for all 58 properties and the 17-column overview view is at https://keyspace.dev/data-dictionaries/yahoofinance/index.html.