Yahoo Finance Scraper - Quotes, History, Financials avatar

Yahoo Finance Scraper - Quotes, History, Financials

Pricing

from $0.56 / 1,000 records

Go to Apify Store
Yahoo Finance Scraper - Quotes, History, Financials

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

Shivam Prajapati

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

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.

dataTypeYou giveYou get
quotes (recordType quote)symbolsOne row per symbol: price, change, volume, market cap, ratios, 52-week range, dividend, analyst rating
historysymbols, historyRange or startDate and endDate, intervalOne row per bar with prices, volume, dividends and splits
profilesymbolsOne row per symbol: company or fund facts, key statistics, margins, analyst targets
financialssymbols, statements, periodOne row per statement and period, with the main figures and every line item
options (recordType option)symbols, optionExpirationsOne row per option contract (calls and puts)
searchsearchQueriesSymbols that match a name
screenerscreeners, resultsPerListThe 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)

FieldWhat it is
nameThe name of the company, fund, coin or currency pair.
quoteTypeEQUITY, ETF, MUTUALFUND, INDEX, CRYPTOCURRENCY, CURRENCY or FUTURE.
exchangeThe exchange or market, for example NasdaqGS. Search rows have its display name, for example NASDAQ.
currencyThe currency of the prices and amounts.
marketStateREGULAR (open), PRE, POST or CLOSED.
priceLast price. During trading hours the live price (some exchanges delay it by up to 15 minutes), after the close the closing price.
changePrice change since the previous close. In option rows: change of the contract's last price.
changePercentPrice change since the previous close, in percent (1.5 means +1.5%).
previousCloseClosing price of the previous trading day.
openOpening price of the day. In history rows: opening price of the bar.
dayLowLowest price of the day.
dayHighHighest price of the day.
volumeShares (or units) traded today. In history rows: traded in the bar. In option rows: contracts traded today.
avgVolume3mAverage daily volume over three months.
avgVolume10dAverage daily volume over ten days.
marketCapMarket value in the quote currency.
fiftyTwoWeekLowLowest price of the last 52 weeks.
fiftyTwoWeekHighHighest price of the last 52 weeks.
fiftyDayAverageAverage price of the last 50 days.
twoHundredDayAverageAverage price of the last 200 days.
trailingPEPrice to earnings ratio over the last twelve months.
forwardPEPrice to expected earnings ratio.
epsTrailingEarnings per share over the last twelve months.
epsForwardExpected earnings per share.
priceToBookPrice to book value ratio.
bookValueBook value per share.
dividendRateAnnual dividend per share.
dividendYieldDividend yield in percent (0.5 means 0.5%).
sharesOutstandingShares issued.
bidHighest buy offer.
askLowest sell offer.
analystRatingAverage analyst rating as Yahoo shows it, for example 2.2 - Buy.
nextEarningsDateDate of the next earnings report (UTC, ISO 8601). Yahoo marks some dates as estimates.
preMarketPricePrice before the market opens, when there is one.
postMarketPricePrice after the market closes, when there is one.
circulatingSupplyCoins in circulation (crypto only).
marketTimeWhen the price was set (UTC, ISO 8601).

Price history rows (history)

FieldWhat it is
dateThe 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.
highHighest price of the bar.
lowLowest price of the bar.
closeClosing price of the bar.
adjCloseClosing price adjusted for splits and dividends.
dividendDividend per share paid in the bar (the ex-dividend date falls inside it).
stockSplitStock split in the bar as new:old shares, for example 4:1.
intervalThe bar size that was asked for: 1d, 1wk, 1mo, 5m and so on.

Also has: name, open, volume, currency, exchange.

Profile rows (profile)

FieldWhat it is
sectorThe company's sector, for example Technology.
industryThe company's industry, for example Consumer Electronics.
websiteThe company's website.
descriptionWhat the company does, as Yahoo shows it. For a fund: its goal.
employeesFull-time employees.
countryCountry of the head office.
stateState or region of the head office.
cityCity of the head office.
addressStreet address of the head office.
phonePhone number of the head office.
executivesUp to 15 officers: name, title, age, yearBorn and totalPay.
exDividendDateThe ex-dividend date (UTC).
payoutRatioShare of earnings paid out as dividends (0.12 means 12%).
betaVolatility compared with the market (1 moves like the market).
enterpriseValueMarket value plus debt minus cash.
floatSharesShares available to trade.
shortPercentOfFloatShare of the float that is sold short (0.02 means 2%).
heldPercentInsidersShare held by insiders (0.02 means 2%).
heldPercentInstitutionsShare held by institutions (0.65 means 65%).
profitMarginsNet profit as a share of revenue (0.27 means 27%).
operatingMarginsOperating profit as a share of revenue.
grossMarginsGross profit as a share of revenue.
returnOnEquityNet income as a share of shareholders' equity.
returnOnAssetsNet income as a share of total assets.
debtToEquityTotal debt to equity in percent, as Yahoo shows it (84 means 84%).
currentRatioCurrent assets divided by current liabilities.
totalCashCash and short-term investments. In financial statements: see items.
totalDebtTotal debt in the quote or statement currency.
totalRevenueRevenue of the last twelve months. In an income statement: revenue of the period.
revenueGrowthRevenue growth of the latest quarter against the year before (0.11 means 11%).
earningsGrowthEarnings growth of the latest quarter against the year before.
freeCashFlowFree cash flow. In a cash flow statement: free cash flow of the period.
ebitdaEarnings before interest, taxes, depreciation and amortization.
pegRatioPrice to earnings growth ratio.
priceToSalesMarket value divided by the revenue of the last twelve months.
enterpriseToEbitdaEnterprise value divided by EBITDA.
targetMeanPriceMean analyst price target.
targetHighPriceHighest analyst price target.
targetLowPriceLowest analyst price target.
recommendationAnalyst consensus: strong_buy, buy, hold, underperform or sell.
recommendationMeanMean analyst rating from 1 (strong buy) to 5 (sell).
analystCountNumber of analysts behind the price targets.
analystTrendThis month's analyst votes: strongBuy, buy, hold, sell, strongSell.
fundFamilyThe company that runs the fund (funds only).
categoryThe fund's category (funds only).
totalAssetsNet assets of a fund. In a balance sheet: total assets.
expenseRatioYearly cost of the fund as a share of its assets (0.002 means 0.2%).
ytdReturnFund return since the start of the year (0.12 means 12%).
threeYearReturnAverage yearly fund return over three years.
fiveYearReturnAverage 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)

FieldWhat it is
statementincome, balance or cashflow.
frequencyannual, quarterly or trailing (twelve months).
periodEndingThe last day of the period the figures cover (YYYY-MM-DD).
periodType12M for a year, 3M for a quarter, TTM for trailing twelve months.
costOfRevenueCost of revenue (income statement).
grossProfitRevenue minus cost of revenue (income statement).
operatingExpenseOperating expenses (income statement).
operatingIncomeOperating income (income statement).
pretaxIncomeIncome before tax (income statement).
taxProvisionIncome tax (income statement).
netIncomeNet income (income statement).
basicEpsBasic earnings per share (income statement).
dilutedEpsDiluted earnings per share (income statement).
currentAssetsCurrent assets (balance sheet).
cashCash and cash equivalents (balance sheet).
totalLiabilitiesTotal liabilities (balance sheet).
currentLiabilitiesCurrent liabilities (balance sheet).
netDebtDebt minus cash (balance sheet).
stockholdersEquityShareholders' equity (balance sheet).
workingCapitalCurrent assets minus current liabilities (balance sheet).
operatingCashFlowCash from operations (cash flow statement).
investingCashFlowCash from investing (cash flow statement).
financingCashFlowCash from financing (cash flow statement).
capitalExpenditureCapital expenditure, negative when cash was spent (cash flow statement).
endCashPositionCash at the end of the period (cash flow statement).
itemsEvery 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)

FieldWhat it is
contractSymbolThe option contract's symbol, for example AAPL261113C00110000.
optionTypecall or put.
expirationThe contract's expiration date (YYYY-MM-DD).
strikeStrike price.
lastPricePrice of the last trade of the contract.
openInterestOpen contracts.
impliedVolatilityImplied volatility (0.35 means 35%).
inTheMoneyTrue when the contract is in the money.
lastTradeDateWhen the contract last traded (UTC).
contractSizeREGULAR (100 shares) or MINI.
underlyingPricePrice of the underlying symbol when the chain was read.

Also has: currency, bid, ask, change, changePercent, volume.

Search rows (search)

FieldWhat it is
queryThe search text that found the symbol.

Also has: name, quoteType, exchange, sector, industry.

Screener rows (screener)

FieldWhat it is
screenerThe 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

InputWhat it does
dataTypeWhat to get: quotes, history, profile, financials, options, search or screener
symbolsTicker symbols or Yahoo Finance links, one per line. Examples: AAPL, BRK-B, ^GSPC, EURUSD=X, BTC-USD, GC=F, 7203.T
searchQueriesFor search: the texts to look up
screenersFor screener: ready-made lists such as day_gainers, day_losers, most_actives, most_shorted_stocks
historyRangeFor history: how far back, from 1d to max
startDate, endDateFor history: exact dates as YYYY-MM-DD. They replace historyRange
intervalFor history: the bar size, from 1m to 3mo
statementsFor financials: income, balance, cashflow (empty means all)
periodFor financials: annual, quarterly or trailing
optionExpirationsFor options: how many expiration dates to read per symbol
resultsPerListFor screener: entries per list
onlyNewSkip records that earlier runs of the same input returned
maxItemsStop after this many records
maxConcurrencySymbols read at the same time
secondsBetweenRequestsPause 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.

PlanPrice 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 maxItems to cap the cost of a run, and onlyNew to 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 ApifyClient
client = 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. marketTime says when the price was set and marketState says whether the market is open.
  • Ratios are fractions (profitMargins 0.27 is 27%). dividendYield and changePercent are in percent, and debtToEquity is 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.

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.