VOOZH about

URL: https://apify.com/khadinakbar/yahoo-finance-scraper

โ‡ฑ Yahoo Finance Scraper ยท Apify


๐Ÿ‘ Yahoo Finance Scraper โ€” Quotes, Financials, History, Options avatar

Yahoo Finance Scraper โ€” Quotes, Financials, History, Options

Pricing

from $5.00 / 1,000 results

Go to Apify Store

Yahoo Finance Scraper โ€” Quotes, Financials, History, Options

Scrape Yahoo Finance โ€” real-time quotes, historical OHLC, income/balance/cashflow statements, analyst ratings & price targets, news, options chains, earnings, holders, and company profiles. 10 modes auto-detected from ticker, company name, or URL. HTTP-first with browser fallback. MCP-ready.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

9 days ago

Last modified

Share

Yahoo Finance Scraper

Scrape everything Yahoo Finance shows about a security from one actor: live quotes, historical price history, full financial statements, analyst ratings, news, options chains, earnings, ownership, and company profiles. Pass a ticker, a company name, or a Yahoo Finance URL โ€” the actor auto-detects what you want and returns clean, flat JSON built for AI agents, spreadsheets, and quant pipelines.

What you can pull

ModeWhat it returnsOne item =
quoteLive price snapshot: price, change, day range, 52-week range, volume, market cap, P/E, EPS, pre/post-marketone quote
historicalOHLC time-series (daily/weekly/monthly), adjusted close, volumeone bar
financialsIncome, balance sheet, and cash-flow statements (annual or quarterly)one statement-period
analysisAnalyst price targets, consensus rating, recommendation trend, recent upgrades/downgradesone rating row
newsRecent headlines: title, publisher, link, timestamp, related tickersone article
optionsFull options chain โ€” calls and puts with strike, bid/ask, IV, volume, open interestone contract
earningsEarnings history (actual vs estimate, surprise %) and the next earnings dateone earnings row
holdersInstitutional and insider ownership plus the major-holders breakdownone holder
profileCompany profile: sector, industry, employees, website, summary, key statsone company
searchResolve a company name to Yahoo ticker symbolsone symbol match

When to use it

  • Pull fundamentals, history, and analyst data into a model or research notebook.
  • Give an AI agent a single tool that answers almost any "what does Yahoo say about X" question.
  • Build dashboards that need statements, options, or ownership โ€” not just the last price.

Need only fast real-time quotes for many tickers at once? Use the lighter stock-price-tracker. This actor is the deep, all-in-one companion.

Pricing (pay-per-event)

EventPrice
Actor start$0.00005
Result (quote, statement, rating, article, earnings row, holder, profile, symbol match)$0.005
Data point (historical bar, option contract)$0.001

Diagnostic "no data" notes are never charged โ€” you pay only for real data. maxResults is a hard cap, and the actor logs the maximum possible cost before it charges anything.

Quick start

Input is a single query plus an optional mode:

{"query":"AAPL"}

That returns a live quote (auto-detected). To go deeper, set the mode:

{"query":"AAPL","mode":"financials","frequency":"quarterly"}

Historical prices for a date window:

{"query":"MSFT","mode":"historical","interval":"1d","dateFrom":"2023-01-01","dateTo":"2024-01-01","maxResults":365}

Options chain:

{"query":"NVDA","mode":"options","maxResults":200}

A Yahoo Finance URL routes itself โ€” this fetches the holders page:

{"query":"https://finance.yahoo.com/quote/TSLA/holders"}

Call it via the Apify API (JavaScript)

import{ ApifyClient }from'apify-client';
const client =newApifyClient({token:'YOUR_APIFY_TOKEN'});
const run =await client.actor('khadinakbar/yahoo-finance-scraper').call({
query:'AAPL',
mode:'analysis',
});
const{ items }=await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Call it via the Apify API (Python)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("khadinakbar/yahoo-finance-scraper").call(
run_input={"query":"AAPL","mode":"earnings"}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Symbol formats

Yahoo Finance symbols work across asset classes:

  • US stocks / ETFs: AAPL, SPY, BRK-B
  • Indices: ^GSPC (S&P 500), ^DJI, ^IXIC
  • Crypto: BTC-USD, ETH-USD
  • Forex: EURUSD=X, GBPJPY=X
  • Futures: ES=F, CL=F, GC=F
  • Non-US stocks (add the exchange suffix): VOW3.DE, BABA.HK, 7203.T

Not sure of the symbol? Use mode: "search" with the company name.

How it works

The actor talks to Yahoo Finance's public JSON endpoints (query1/query2.finance.yahoo.com) first โ€” fast, lightweight, and reliable. It manages Yahoo's crumb + cookie session automatically. If those endpoints rate-limit or block, it transparently falls back to a real Chromium browser that fetches the same JSON from a genuine browser context, then parses it identically. You get the same clean output either way.

Output is flat and agent-friendly: stable keys, explicit nulls, ISO 8601 dates, under ~500 tokens per item. Every record carries a _mode tag, and "no data" situations return an agent-readable _diagnostic note with a _note explaining why and how to fix the query โ€” instead of a hard failure.

Output example (quote)

{
"_mode":"quote",
"symbol":"AAPL",
"name":"Apple Inc.",
"assetType":"EQUITY",
"currency":"USD",
"exchange":"NasdaqGS",
"price":195.12,
"change":1.84,
"changePercent":0.95,
"marketCap":3010000000000,
"fiftyTwoWeekHigh":199.62,
"fiftyTwoWeekLow":164.08,
"trailingPE":31.2,
"timestamp":"2026-05-29T20:00:01.000Z"
}

FAQ

Which markets are covered? Anything with a Yahoo Finance symbol โ€” US and international equities, ETFs, indices, crypto, forex, mutual funds, and futures.

Do financials work for ETFs or crypto? No. Statements, options, earnings, and holders only exist for individual companies. Those modes return a clear diagnostic note for non-company symbols; use quote or historical instead.

How far back does history go? Use range: "max" or a wide dateFrom/dateTo window. Daily, weekly, and monthly intervals are supported.

Will it break when Yahoo changes things? The HTTP-first + browser-fallback design absorbs most anti-bot tightening. Records validate against the output schema, and the actor fails honestly (clear status, no silent empty success) when a symbol genuinely has no data.

Is there an MCP / AI-agent interface? Yes. The actor is exposed in the Apify MCP server as apify--yahoo-finance-scraper. Input descriptions and output shapes are written for LLM consumption.

Legal & disclaimer

This actor collects publicly available data from Yahoo Finance for research and analysis. It does not bypass authentication or access private/paywalled data. You are responsible for using the data in compliance with Yahoo's Terms of Service and all applicable laws. The data is provided as-is, for informational purposes only, and is not financial advice. Verify critical figures against an authoritative source before relying on them for trading or investment decisions. Not affiliated with, endorsed by, or sponsored by Yahoo or its affiliates.

You might also like

Yahoo Finance Scraper

automation-lab/yahoo-finance-scraper

Get stock quotes, price history, and financial data from Yahoo Finance. Search by ticker symbol or company name.

๐Ÿ‘ User avatar

Stas Persiianenko

32

Yahoo Finance Intelligence

viralanalyzer/yahoo-finance-intelligence

Extract Yahoo Finance data: stock prices, financials, analyst ratings, news, and historical data. Track any ticker or market.

26

5.0

Yahoo Finance Scraper - Most Comprehensive

kaix/yahoo-finance-scraper

๐Ÿ”ฅ ~$0.5/1K stocks ๐Ÿ”ฅ Scrape Yahoo Finance for stock quotes, financials, charts, news, options, and more

๐Ÿ“ˆ Yahoo Finance Scraper โ€” Stocks & Market Data

nexgendata/yahoo-finance-scraper

Extract stock quotes, historical prices, financial statements, analyst ratings from Yahoo Finance. Track portfolios and market trends.

Yahoo Finance Scraper - Quotes, Historical OHLCV, Search

gio21/yahoo-finance-scraper

Scrape Yahoo Finance: real-time quotes (price, 52-week range, volume), historical OHLCV data, and ticker search with news. No API key required.

Yahoo Finance Scraper

cryptosignals/yahoo-finance-scraper

Pull financial data from Yahoo Finance. Get stock quotes, historical prices, financials, analyst ratings, news, and key statistics. Ideal for trading bots, portfolio tracking, and market research. PPE pricing โ€” pay only for results.

4

Yahoo Finance Stock Options

pintostudio/yahoo-finance-stock-options

This Actor retrieves stock options from Yahoo Finance

15