Yahoo Finance Stock & Crypto Prices Scraper avatar

Yahoo Finance Stock & Crypto Prices Scraper

Pricing

from $9.23 / 1,000 results

Go to Apify Store
Yahoo Finance Stock & Crypto Prices Scraper

Yahoo Finance Stock & Crypto Prices Scraper

Extract Yahoo Finance stock and crypto market data by symbol: price, change, market cap, PE, EPS, 52-week range, volume, supply and OHLCV history. Export to JSON, CSV or Excel.

Pricing

from $9.23 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Share

Yahoo Finance Stock & Crypto Scraper

Yahoo Finance Stock & Crypto Scraper

Here is one real result, with every field the actor returns (the businessSummary is trimmed here for readability; the actor returns the full text):

{
"imageUrl": null,
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "equity",
"quoteType": "Equity",
"currency": "USD",
"exchange": "NasdaqGS",
"marketState": "CLOSED",
"price": 305.93,
"change": 0.669983,
"changePercent": 0.22,
"previousClose": 305.26,
"open": 306.028,
"dayHigh": 307.49,
"dayLow": 304.3,
"volume": 26072932,
"marketCap": 4464797286400,
"fiftyTwoWeekHigh": 344.57,
"fiftyTwoWeekLow": 223.78,
"fiftyTwoWeekChangePercent": 32.5,
"fiftyDayAverage": 309.1908,
"twoHundredDayAverage": 280.48364,
"trailingPE": 35.083714,
"forwardPE": 32.17704,
"epsTrailingTwelveMonths": 8.72,
"dividendYield": 0.35,
"sharesOutstanding": 14594180000,
"bookValue": 7.36,
"priceToBook": 41.566574,
"averageAnalystRating": "2.1 - Buy",
"postMarketPrice": 305.7705,
"postMarketChange": -0.15948486,
"postMarketChangePercent": -0.05,
"circulatingSupply": null,
"maxSupply": null,
"volume24Hr": null,
"marketTime": "2026-08-14T20:00:01.000Z",
"sector": "Technology",
"industry": "Consumer Electronics",
"website": "https://www.apple.com",
"phone": "(408) 996-1010",
"address": "One Apple Park Way",
"city": "Cupertino",
"state": "CA",
"zip": "95014",
"country": "United States",
"employees": 150000,
"ceo": "Mr. Timothy D. Cook",
"businessSummary": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories worldwide. The company offers iPhone, a line of smartphones; Mac, a line of personal computers…",
"revenue": 466822987776,
"ebitda": 167959003136,
"grossProfits": 227123003392,
"freeCashflow": 107721875456,
"operatingCashflow": 146723995648,
"totalCash": 62399000576,
"totalDebt": 84343996416,
"debtToEquity": 78.445,
"profitMargins": 0.27618998,
"grossMargins": 0.48653,
"operatingMargins": 0.32623002,
"returnOnEquity": 1.4875101,
"revenueGrowth": 0.164,
"earningsGrowth": 0.287,
"revenuePerShare": 31.707,
"targetMeanPrice": 322.2844,
"targetHighPrice": 400,
"targetLowPrice": 215,
"recommendationKey": "buy",
"numberOfAnalystOpinions": 41,
"enterpriseValue": 4486742409216,
"pegRatio": 2.49,
"beta": 1.086,
"heldPercentInstitutions": 0.66814005,
"dividendRate": 1.08,
"nextEarningsDate": "2026-10-29T20:00:00.000Z",
"exDividendDate": "2026-08-10T00:00:00.000Z",
"dividendDate": "2026-08-13T00:00:00.000Z",
"observedAt": "2026-08-15T14:04:38.250Z",
"error": null
}

The most complete Yahoo Finance scraper available. It returns every field the Yahoo Finance quote and profile expose for each symbol - live price, 52-week and moving-average stats, valuation and analyst targets, full financials (revenue, EBITDA, margins, cash flow), company profile and contacts, and crypto supply metrics - and can attach an OHLCV price-history series over any range. Works for stocks, ETFs, crypto, indices and currency pairs.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor looks up each ticker symbol you pass on Yahoo Finance, merges the live quote, the valuation and financial statistics, and the company profile into one normalized record, and writes one record per symbol to the run's dataset. When a range is set, it also attaches an OHLCV history array (open, high, low, close, adjusted close, volume per candle) over that range and interval.

Symbols work for stocks and ETFs (AAPL, SPY), crypto (BTC-USD), indices (^GSPC) and currency pairs (EURUSD=X). Fields that do not apply to an instrument (for example trailingPE on crypto, or circulatingSupply on a stock) are returned as null, never invented.

Quickstart

Open the actor, paste this into the input, and press Run. It returns live quotes for four symbols.

{
"symbols": ["AAPL", "MSFT", "BTC-USD", "ETH-USD"],
"maxQuotes": 10
}

Leave range empty for the live quote only (faster). Set it (for example 5d, 1y, max) to attach a price-history series to each record.

Input reference

FieldTypeRequiredDefaultDescription
symbolsstring[]yes(none)Ticker symbols to look up. Stocks/ETFs (AAPL, SPY), crypto (BTC-USD), indices (^GSPC), FX pairs (EURUSD=X).
maxQuotesintegerno10Maximum number of symbols to process. Free Apify plans are capped at 10 per run.
rangeenumno(empty)Attach an OHLCV history array over this range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max. Empty means quote only.
intervalenumno1dCandle interval for the history array: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo. Intraday intervals work only for short ranges.

Output reference

One dataset item per symbol. Types: string, number, integer, object[], or null when the value does not apply to the instrument. Selected fields:

FieldTypeDescription
imageUrlstringLogo image (crypto), else null.
symbolstringThe ticker symbol.
namestringInstrument or company name.
type / quoteTypestringInstrument type, for example equity/Equity, crypto/Cryptocurrency.
currencystringQuote currency.
exchangestringExchange code, for example NasdaqGS, CCC.
marketStatestringREGULAR, CLOSED, PRE, POST.
pricenumberLatest price.
change / changePercentnumberAbsolute and percent change on the day.
previousClose / open / dayHigh / dayLownumberSession price points.
volumeintegerSession volume.
marketCapintegerMarket capitalization.
fiftyTwoWeekHigh / fiftyTwoWeekLow / fiftyTwoWeekChangePercentnumber52-week range and change.
fiftyDayAverage / twoHundredDayAveragenumberMoving averages.
trailingPE / forwardPE / pegRatio / priceToBook / betanumberValuation ratios (stocks).
epsTrailingTwelveMonths / bookValue / revenuePerSharenumberPer-share metrics.
dividendYield / dividendRate / exDividendDate / dividendDatemixedDividend metrics and dates.
sharesOutstanding / enterpriseValue / heldPercentInstitutionsnumberOwnership and size metrics.
averageAnalystRating / recommendationKey / numberOfAnalystOpinionsmixedAnalyst consensus.
targetMeanPrice / targetHighPrice / targetLowPricenumberAnalyst price targets.
postMarketPrice / postMarketChange / postMarketChangePercentnumberPost-market quote (stocks).
circulatingSupply / maxSupply / volume24HrnumberCrypto supply and 24h volume.
marketTimestringTimestamp of the quote (ISO 8601).
sector / industrystringCompany classification (stocks).
website / phone / address / city / state / zip / countrystringCompany profile and contacts.
employeesintegerFull-time employees.
ceostringChief executive name.
businessSummarystringFull company description.
revenue / ebitda / grossProfits / freeCashflow / operatingCashflow / totalCash / totalDebtintegerFinancial statement figures.
debtToEquity / profitMargins / grossMargins / operatingMargins / returnOnEquity / revenueGrowth / earningsGrowthnumberFinancial ratios.
nextEarningsDatestringNext earnings date (ISO 8601).
historyobject[]Present only when range is set. Each candle has date, open, high, low, close, adjClose, volume.
observedAtstringISO 8601 timestamp of when the record was collected.
errorstringnull on success. A symbol that cannot be resolved is written with a populated error field.

Example output record

Real record from a live run (BTC-USD, crypto; businessSummary omitted where the source has none):

{
"imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png",
"symbol": "BTC-USD",
"name": "Bitcoin USD",
"type": "crypto",
"quoteType": "Cryptocurrency",
"currency": "USD",
"exchange": "CCC",
"marketState": "REGULAR",
"price": 62964.66,
"change": 425.28125,
"changePercent": 0.68,
"previousClose": 62977.613,
"open": 62977.613,
"dayHigh": 63086.355,
"dayLow": 62855.867,
"volume": 14407153664,
"marketCap": 1264004497408,
"fiftyTwoWeekHigh": 126198.07,
"fiftyTwoWeekLow": 57747.766,
"fiftyTwoWeekChangePercent": -46.4,
"fiftyDayAverage": 63450.777,
"twoHundredDayAverage": 69501.58,
"trailingPE": null,
"forwardPE": null,
"circulatingSupply": 20070534,
"maxSupply": 21000000,
"volume24Hr": 14407153664,
"marketTime": "2026-08-15T14:04:30.000Z",
"sector": null,
"industry": null,
"website": "https://bitcoin.org/",
"observedAt": "2026-08-15T14:04:30.000Z",
"error": null
}

When a range is set, each record also carries a history array, for example one candle: {"date":"2026-08-10T13:30:00.000Z","open":503.440002,"high":513.72998,"low":502.269989,"close":506.059998,"adjClose":506.059998,"volume":31206100}.

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~yahoo-finance-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"symbols":["AAPL","MSFT","TSLA"],"range":"1y","interval":"1d"}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~yahoo-finance-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"symbols":["BTC-USD","ETH-USD"]}'

Apify CLI:

apify call scrapers_lat/yahoo-finance-scraper \
--input '{"symbols":["^GSPC","EURUSD=X"]}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per symbol record returned (result event). See the pricing tab for the current per-result price.
  • No charge on failure. A symbol that cannot be resolved is written with a populated error field and is not charged. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 records per run. Upgrade for higher maxQuotes.

FAQ and troubleshooting

A symbol came back with an error. Why? The ticker did not resolve on Yahoo Finance. Check the exact symbol format (crypto uses -USD, indices start with ^, FX ends with =X). Records with an error are not charged.

Why are so many fields null on crypto or an index? Valuation ratios, financials and company profile do not apply to crypto, indices or FX. They are returned as null, never invented; crypto instead carries circulatingSupply, maxSupply and volume24Hr.

How do I get price history? Set range (for example 1y) and optionally interval. Each record then includes a history array of OHLCV candles. Intraday intervals only work for short ranges.

How many symbols can I look up at once? As many as you pass in symbols, up to maxQuotes. Free Apify plans are capped at 10 per run.

Is this an official Yahoo tool? No. This actor is independent and has no affiliation with Yahoo. It reads only publicly available Yahoo Finance data.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with Yahoo. Accesses only publicly available Yahoo Finance data.