Yahoo Finance Scraper - Quotes, History, Financials
Pricing
from $0.56 / 1,000 records
Yahoo Finance Scraper - Quotes, History, Financials
Scrape Yahoo Finance without login or API key: stock, ETF, crypto and forex quotes, price history with dividends and splits, company profiles, financial statements, options chains, search and screeners. Export to Excel, CSV or API.
Pricing
from $0.56 / 1,000 records
Rating
0.0
(0)
Developer
Shivam Prajapati
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Get Yahoo Finance data as clean rows: quotes, price history, company profiles, financial statements, options chains, search and screener lists. No login, no API key. Works for stocks, ETFs, mutual funds, indexes, crypto, currencies and futures from exchanges worldwide. Export to Excel, CSV, JSON or the API.
Actively maintained. Last update: 2026-11-13. Every release passes 150+ automated tests on real saved Yahoo answers, and Apify test-runs it every day.
What can you use it for?
- Download historical prices. Daily, weekly, monthly or intraday bars with open, high, low, close, adjusted close and volume, plus the dividend and split of each bar. Ask for a period or for exact dates.
- Track a portfolio or watchlist. Current price, change, volume, market cap, P/E, dividend yield and analyst rating for hundreds of symbols in one run. Schedule it and send the table to Sheets, Slack or Make.
- Research companies. Sector, industry, employees, margins, returns, debt, analyst price targets and the next earnings date. For funds: family, category, cost ratio and returns.
- Build financial models. Income statement, balance sheet and cash flow, yearly, quarterly or trailing twelve months, with every line item Yahoo has.
- Analyze options. The full chain of calls and puts with strike, bid, ask, volume, open interest and implied volatility for the next expiration dates.
- Find ideas. Yahoo's ready-made screener lists (day gainers and losers, most active, most shorted, undervalued growth) with up to 1,000 entries each.
- Look up symbols. Turn company names into ticker symbols.
What data can you get?
Choose the kind in dataType. Every row has recordType to tell the kinds apart when you mix them in one dataset.
dataType | You give | You get |
|---|---|---|
quotes (recordType quote) | symbols | One row per symbol: price, change, volume, market cap, ratios, 52-week range, dividend, analyst rating |
history | symbols, historyRange or startDate and endDate, interval | One row per bar with prices, volume, dividends and splits |
profile | symbols | One row per symbol: company or fund facts, key statistics, margins, analyst targets |
financials | symbols, statements, period | One row per statement and period, with the main figures and every line item |
options (recordType option) | symbols, optionExpirations | One row per option contract (calls and puts) |
search | searchQueries | Symbols that match a name |
screener | screeners, resultsPerList | The entries of a ready-made list with their quotes |
Fields
Every row has recordType, symbol, sourceUrl (the Yahoo Finance page with the same data) and scrapedAt. Rows hold only the fields of their kind.
Quote rows (quotes)
| Field | What it is |
|---|---|
name | The name of the company, fund, coin or currency pair. |
quoteType | EQUITY, ETF, MUTUALFUND, INDEX, CRYPTOCURRENCY, CURRENCY or FUTURE. |
exchange | The exchange or market, for example NasdaqGS. Search rows have its display name, for example NASDAQ. |
currency | The currency of the prices and amounts. |
marketState | REGULAR (open), PRE, POST or CLOSED. |
price | Last price. During trading hours the live price (some exchanges delay it by up to 15 minutes), after the close the closing price. |
change | Price change since the previous close. In option rows: change of the contract's last price. |
changePercent | Price change since the previous close, in percent (1.5 means +1.5%). |
previousClose | Closing price of the previous trading day. |
open | Opening price of the day. In history rows: opening price of the bar. |
dayLow | Lowest price of the day. |
dayHigh | Highest price of the day. |
volume | Shares (or units) traded today. In history rows: traded in the bar. In option rows: contracts traded today. |
avgVolume3m | Average daily volume over three months. |
avgVolume10d | Average daily volume over ten days. |
marketCap | Market value in the quote currency. |
fiftyTwoWeekLow | Lowest price of the last 52 weeks. |
fiftyTwoWeekHigh | Highest price of the last 52 weeks. |
fiftyDayAverage | Average price of the last 50 days. |
twoHundredDayAverage | Average price of the last 200 days. |
trailingPE | Price to earnings ratio over the last twelve months. |
forwardPE | Price to expected earnings ratio. |
epsTrailing | Earnings per share over the last twelve months. |
epsForward | Expected earnings per share. |
priceToBook | Price to book value ratio. |
bookValue | Book value per share. |
dividendRate | Annual dividend per share. |
dividendYield | Dividend yield in percent (0.5 means 0.5%). |
sharesOutstanding | Shares issued. |
bid | Highest buy offer. |
ask | Lowest sell offer. |
analystRating | Average analyst rating as Yahoo shows it, for example 2.2 - Buy. |
nextEarningsDate | Date of the next earnings report (UTC, ISO 8601). Yahoo marks some dates as estimates. |
preMarketPrice | Price before the market opens, when there is one. |
postMarketPrice | Price after the market closes, when there is one. |
circulatingSupply | Coins in circulation (crypto only). |
marketTime | When the price was set (UTC, ISO 8601). |
Price history rows (history)
| Field | What it is |
|---|---|
date | The day of the bar at the exchange (YYYY-MM-DD). Minute and hour bars have the exchange's date and time with its UTC offset. |
high | Highest price of the bar. |
low | Lowest price of the bar. |
close | Closing price of the bar. |
adjClose | Closing price adjusted for splits and dividends. |
dividend | Dividend per share paid in the bar (the ex-dividend date falls inside it). |
stockSplit | Stock split in the bar as new:old shares, for example 4:1. |
interval | The bar size that was asked for: 1d, 1wk, 1mo, 5m and so on. |
Also has: name, open, volume, currency, exchange.
Profile rows (profile)
| Field | What it is |
|---|---|
sector | The company's sector, for example Technology. |
industry | The company's industry, for example Consumer Electronics. |
website | The company's website. |
description | What the company does, as Yahoo shows it. For a fund: its goal. |
employees | Full-time employees. |
country | Country of the head office. |
state | State or region of the head office. |
city | City of the head office. |
address | Street address of the head office. |
phone | Phone number of the head office. |
executives | Up to 15 officers: name, title, age, yearBorn and totalPay. |
exDividendDate | The ex-dividend date (UTC). |
payoutRatio | Share of earnings paid out as dividends (0.12 means 12%). |
beta | Volatility compared with the market (1 moves like the market). |
enterpriseValue | Market value plus debt minus cash. |
floatShares | Shares available to trade. |
shortPercentOfFloat | Share of the float that is sold short (0.02 means 2%). |
heldPercentInsiders | Share held by insiders (0.02 means 2%). |
heldPercentInstitutions | Share held by institutions (0.65 means 65%). |
profitMargins | Net profit as a share of revenue (0.27 means 27%). |
operatingMargins | Operating profit as a share of revenue. |
grossMargins | Gross profit as a share of revenue. |
returnOnEquity | Net income as a share of shareholders' equity. |
returnOnAssets | Net income as a share of total assets. |
debtToEquity | Total debt to equity in percent, as Yahoo shows it (84 means 84%). |
currentRatio | Current assets divided by current liabilities. |
totalCash | Cash and short-term investments. In financial statements: see items. |
totalDebt | Total debt in the quote or statement currency. |
totalRevenue | Revenue of the last twelve months. In an income statement: revenue of the period. |
revenueGrowth | Revenue growth of the latest quarter against the year before (0.11 means 11%). |
earningsGrowth | Earnings growth of the latest quarter against the year before. |
freeCashFlow | Free cash flow. In a cash flow statement: free cash flow of the period. |
ebitda | Earnings before interest, taxes, depreciation and amortization. |
pegRatio | Price to earnings growth ratio. |
priceToSales | Market value divided by the revenue of the last twelve months. |
enterpriseToEbitda | Enterprise value divided by EBITDA. |
targetMeanPrice | Mean analyst price target. |
targetHighPrice | Highest analyst price target. |
targetLowPrice | Lowest analyst price target. |
recommendation | Analyst consensus: strong_buy, buy, hold, underperform or sell. |
recommendationMean | Mean analyst rating from 1 (strong buy) to 5 (sell). |
analystCount | Number of analysts behind the price targets. |
analystTrend | This month's analyst votes: strongBuy, buy, hold, sell, strongSell. |
fundFamily | The company that runs the fund (funds only). |
category | The fund's category (funds only). |
totalAssets | Net assets of a fund. In a balance sheet: total assets. |
expenseRatio | Yearly cost of the fund as a share of its assets (0.002 means 0.2%). |
ytdReturn | Fund return since the start of the year (0.12 means 12%). |
threeYearReturn | Average yearly fund return over three years. |
fiveYearReturn | Average yearly fund return over five years. |
Also has: name, quoteType, exchange, currency, price, marketCap, trailingPE, forwardPE, epsTrailing, epsForward, priceToBook, bookValue, dividendRate, dividendYield, fiftyTwoWeekLow, fiftyTwoWeekHigh, sharesOutstanding, nextEarningsDate.
Financial statement rows (financials)
| Field | What it is |
|---|---|
statement | income, balance or cashflow. |
frequency | annual, quarterly or trailing (twelve months). |
periodEnding | The last day of the period the figures cover (YYYY-MM-DD). |
periodType | 12M for a year, 3M for a quarter, TTM for trailing twelve months. |
costOfRevenue | Cost of revenue (income statement). |
grossProfit | Revenue minus cost of revenue (income statement). |
operatingExpense | Operating expenses (income statement). |
operatingIncome | Operating income (income statement). |
pretaxIncome | Income before tax (income statement). |
taxProvision | Income tax (income statement). |
netIncome | Net income (income statement). |
basicEps | Basic earnings per share (income statement). |
dilutedEps | Diluted earnings per share (income statement). |
currentAssets | Current assets (balance sheet). |
cash | Cash and cash equivalents (balance sheet). |
totalLiabilities | Total liabilities (balance sheet). |
currentLiabilities | Current liabilities (balance sheet). |
netDebt | Debt minus cash (balance sheet). |
stockholdersEquity | Shareholders' equity (balance sheet). |
workingCapital | Current assets minus current liabilities (balance sheet). |
operatingCashFlow | Cash from operations (cash flow statement). |
investingCashFlow | Cash from investing (cash flow statement). |
financingCashFlow | Cash from financing (cash flow statement). |
capitalExpenditure | Capital expenditure, negative when cash was spent (cash flow statement). |
endCashPosition | Cash at the end of the period (cash flow statement). |
items | Every line of the statement Yahoo has, by name, for example researchAndDevelopment, ebit, basicAverageShares, retainedEarnings or stockBasedCompensation. |
Also has: currency, totalRevenue, ebitda, totalAssets, totalDebt, freeCashFlow.
Option rows (options)
| Field | What it is |
|---|---|
contractSymbol | The option contract's symbol, for example AAPL261113C00110000. |
optionType | call or put. |
expiration | The contract's expiration date (YYYY-MM-DD). |
strike | Strike price. |
lastPrice | Price of the last trade of the contract. |
openInterest | Open contracts. |
impliedVolatility | Implied volatility (0.35 means 35%). |
inTheMoney | True when the contract is in the money. |
lastTradeDate | When the contract last traded (UTC). |
contractSize | REGULAR (100 shares) or MINI. |
underlyingPrice | Price of the underlying symbol when the chain was read. |
Also has: currency, bid, ask, change, changePercent, volume.
Search rows (search)
| Field | What it is |
|---|---|
query | The search text that found the symbol. |
Also has: name, quoteType, exchange, sector, industry.
Screener rows (screener)
| Field | What it is |
|---|---|
screener | The ready-made list the symbol was read from, for example day_gainers. |
Example results
Quote:
{"recordType": "quote", "symbol": "AAPL", "name": "Apple Inc.", "quoteType": "EQUITY", "exchange": "NasdaqGS", "currency": "USD", "marketState": "REGULAR", "price": 359.8, "change": 4.92, "changePercent": 1.3864, "previousClose": 354.88, "dayLow": 357.93, "dayHigh": 360.83, "volume": 5962467, "marketCap": 5228679135232, "fiftyTwoWeekLow": 243.42, "fiftyTwoWeekHigh": 360.83, "trailingPE": 40.0668, "forwardPE": 34.1189, "dividendYield": 0.3, "analystRating": "2.2 - Buy", "marketTime": "2026-11-13T14:53:33+00:00"}
Price history bar:
{"recordType": "history", "symbol": "AAPL", "name": "Apple Inc.", "date": "2023-11-14", "open": 187.7, "high": 188.11, "low": 186.3, "close": 187.44, "adjClose": 185.0417, "volume": 60108400, "dividend": null, "stockSplit": null, "interval": "1d", "currency": "USD"}
Company profile (shortened):
{"recordType": "profile", "symbol": "AAPL", "name": "Apple Inc.", "sector": "Technology", "industry": "Consumer Electronics", "employees": 167000, "country": "United States", "marketCap": 5228388679680, "trailingPE": 40.0646, "beta": 1.089, "profitMargins": 0.27604, "returnOnEquity": 1.42257, "targetMeanPrice": 344.6155, "recommendation": "buy", "analystCount": 40, "analystTrend": {"strongBuy": 6, "buy": 20, "hold": 13, "sell": 3, "strongSell": 3}, "nextEarningsDate": "2027-01-28T21:00:00+00:00"}
Income statement (shortened):
{"recordType": "financials", "symbol": "AAPL", "statement": "income", "frequency": "annual", "periodEnding": "2026-09-30", "periodType": "12M", "currency": "USD", "totalRevenue": 478834000000, "grossProfit": 233602000000, "operatingIncome": 158063000000, "ebitda": 171486000000, "netIncome": 132175000000, "basicEps": 9.01, "dilutedEps": 8.98}
Option contract:
{"recordType": "option", "symbol": "AAPL", "contractSymbol": "AAPL261113C00110000", "optionType": "call", "expiration": "2026-11-13", "strike": 110.0, "lastPrice": 244.9, "bid": 248.65, "ask": 250.95, "change": 0.0, "volume": 10, "openInterest": 0, "impliedVolatility": 7.312501, "inTheMoney": true, "underlyingPrice": 359.78}
Input
| Input | What it does |
|---|---|
dataType | What to get: quotes, history, profile, financials, options, search or screener |
symbols | Ticker symbols or Yahoo Finance links, one per line. Examples: AAPL, BRK-B, ^GSPC, EURUSD=X, BTC-USD, GC=F, 7203.T |
searchQueries | For search: the texts to look up |
screeners | For screener: ready-made lists such as day_gainers, day_losers, most_actives, most_shorted_stocks |
historyRange | For history: how far back, from 1d to max |
startDate, endDate | For history: exact dates as YYYY-MM-DD. They replace historyRange |
interval | For history: the bar size, from 1m to 3mo |
statements | For financials: income, balance, cashflow (empty means all) |
period | For financials: annual, quarterly or trailing |
optionExpirations | For options: how many expiration dates to read per symbol |
resultsPerList | For screener: entries per list |
onlyNew | Skip records that earlier runs of the same input returned |
maxItems | Stop after this many records |
maxConcurrency | Symbols read at the same time |
secondsBetweenRequests | Pause between requests |
How much does it cost?
You pay per record. There is no start fee. A symbol's quote is one record, a price bar is one record, a contract is one record.
| Plan | Price per 1,000 records |
|---|---|
| Free | $0.80 |
| Bronze | $0.72 |
| Silver | $0.64 |
| Gold | $0.56 |
- 100 quotes cost about $0.08.
- One year of daily prices for one symbol (about 250 bars) costs about $0.20.
- All annual statements of one company (about 13 rows) cost about $0.01.
- Use
maxItemsto cap the cost of a run, andonlyNewto pay only for new bars and statements on scheduled runs.
Use it via API, on a schedule, or with your tools
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("pshivam/yahoo-finance-scraper").call(run_input={"dataType": "history","symbols": ["AAPL", "MSFT"],"startDate": "2024-01-01","interval": "1d",})for bar in client.dataset(run["defaultDatasetId"]).iterate_items():print(bar["symbol"], bar["date"], bar["close"])
Use it in Clay, n8n, Make or Zapier
Use the Actor ID pshivam/yahoo-finance-scraper and an input like this:
{"dataType": "quotes", "symbols": ["AAPL", "TSLA", "BTC-USD", "EURUSD=X"]}
Keep a price database current
Schedule the Actor daily with dataType history, interval 1d, a historyRange of 1mo and onlyNew turned on. Each run adds only the bars that earlier runs did not return.
Good to know
- Data is as fresh as Yahoo shows it. Prices of many exchanges are delayed by up to 15 minutes.
marketTimesays when the price was set andmarketStatesays whether the market is open. - Ratios are fractions (
profitMargins0.27 is 27%).dividendYieldandchangePercentare in percent, anddebtToEquityis in percent as Yahoo shows it. - Statements cover about four years of annual and about five quarters of quarterly figures. Banks and insurers have no gross profit. Funds, indexes and crypto have no statements.
- Intraday bars are limited by Yahoo. Minute bars go back 7 days, other intraday bars 60 days. Yahoo answers a request that is too long with a message, which the run shows.
- Options exist for US stocks, ETFs and a few indexes. Other symbols are named in the run message.
- Unknown symbols are named in the run message. They are not returned or charged.
- No account needed. The Actor never logs in. It reads the public data Yahoo Finance shows to every visitor, and it paces its requests, waits as Yahoo asks and switches to Apify Proxy when Yahoo keeps blocking.
- Independent tool. Not affiliated with or endorsed by Yahoo. Check Yahoo's terms and the data license of your exchange before you redistribute the data.
FAQ
How do I download historical stock prices from Yahoo Finance?
Set dataType to history, add the symbols and choose historyRange (for example 5y) or startDate. Every row is one bar with open, high, low, close, adjClose and volume. dividend and stockSplit fill in on the bars where they happened.
Do I need an API key or a Yahoo account?
No. The Actor never logs in.
Which symbols work?
Everything Yahoo Finance lists: stocks (AAPL, VOD.L, 7203.T), ETFs and funds (SPY, VFIAX), indexes (^GSPC), crypto (BTC-USD), currencies (EURUSD=X) and futures (GC=F). You can paste Yahoo Finance links instead of symbols.
Can I get financial statements?
Yes. Set dataType to financials and choose statements and period. You get the main figures as columns and every line item in items.
Can I get the whole options chain?
Yes. Set dataType to options. optionExpirations sets how many expiration dates are read for each symbol, nearest first.
How do I get new data only?
Turn on onlyNew and run the same input again later. Records that earlier runs returned are skipped and not charged.
Is it real time?
Prices are as live as Yahoo shows them, which is delayed by up to 15 minutes for many exchanges. For tick data use a data vendor.
Is it legal to scrape Yahoo Finance?
The Actor reads data that Yahoo shows publicly without login. You are responsible for how you use it. Check Yahoo's terms and your exchange's rules before you redistribute the data.