Scrapers.lat logo scrapers.lat
自动化

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.

78 每条记录的字段 JSON · CSV · Excel · API 按用量付费
yahoo-finance-scraper.json 200 OK
{
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "type": "equity",
  "quoteType": "Equity",
  "currency": "USD",
  "exchange": "NasdaqGS",
  "marketState": "CLOSED",
  "price": 333.02,
  "change": 11.36
}
你会得到什么

每次运行都返回干净、带类型的记录,可直接用于你的 CRM、表格或数据库。

  • 每个结果对应一条干净记录,已去重并规范化
  • JSON、CSV 或 Excel 的稳定结构,也可通过 Apify API 读取
  • 在云端按用量付费,无需安装或维护
返回的字段
SymbolNameTypeQuote TypeCurrencyExchangeMarket StatePriceChangeChange PercentPrevious CloseOpenDay HighDay Low
示例输出

一条真实的示例记录,正是你收到的结构。

SymbolNameTypeQuote Type
AAPLApple Inc.equityEquity
MSFTMicrosoft CorporationequityEquity
BTC-USDBitcoin USDcryptoCryptocurrency
GET /yahoo-finance-scraper
{
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "type": "equity",
  "quoteType": "Equity",
  "currency": "USD",
  "exchange": "NasdaqGS",
  "marketState": "CLOSED",
  "price": 333.02,
  "change": 11.36
}

常见问题

Which symbols and markets does it cover?

Any ticker that exists on Yahoo Finance: US and international stocks, ETFs, mutual funds, indices such as ^GSPC, currency pairs such as EURUSD=X, and cryptocurrencies quoted as BTC-USD or ETH-USD. Mix stocks and crypto freely in one run.

How many symbols can I request in one run?

Hundreds. Symbols are fetched in efficient batches, so a list of a few hundred tickers returns in a single quick run. Use Max Items to cap how many symbols are processed.

Can I get historical prices, not just the live quote?

Yes. Pick a History Range (for example 1mo, 1y or max) and a candle interval, and every record gets a history array of open, high, low, close, adjusted close and volume. Leave the range empty for a faster quote-only run.

Why are some fields empty on crypto or on certain stocks?

Fields are asset-specific. Crypto records include circulating and max supply but no price-to-earnings ratio, while equities include valuation and dividend fields but no supply. A stock that pays no dividend simply has an empty dividend yield.

What happens if a symbol is misspelled or delisted?

That symbol gets its own record with an error message instead of prices, and the rest of the run continues normally, so one bad ticker never breaks the batch.

你准备好,它就就绪。

现在就在 Apify 上运行这个爬虫,或让我们按你的确切需求定制一个。