All scrapers

Business data

Yahoo Finance Scraper

finance.yahoo.com

100% Success rate
2.5s Avg response
Bot detection + rate limiting Protection
1,000 calls Measured over

Yahoo Finance is a leading source of stock quotes, market data and company fundamentals. ScrapeUnblocker renders its quote and market pages as a visitor would see them and returns the price, change and key stats for each ticker, holding a clean 100% at under three seconds a page.

What you can extract

  • Ticker, company name and exchange
  • Price, change and percent change
  • Market cap, volume and day range
  • P/E, EPS and 52-week range
  • News headlines and quote URL

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/getPageSource?url=https%3A%2F%2Ffinance.yahoo.com%2Fquote%2FAAPL&parsed_data=true"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/getPageSource",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"url": "https://finance.yahoo.com/quote/AAPL", "parsed_data": True},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.getPageSource({
  url: 'https://finance.yahoo.com/quote/AAPL',
  parsedData: true,
});
console.log(results);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Read the API docs

Frequently asked questions

Is it legal to scrape Yahoo Finance?

Collecting publicly available Yahoo Finance data such as stock prices, market caps and company fundamentals is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public page; what you collect and how you use it is your responsibility.

How do I scrape Yahoo Finance without getting blocked?

Yahoo Finance uses bot detection and rate limiting. ScrapeUnblocker renders the page in a real browser, rotates residential and ISP exits and handles challenges, then returns the quote or market page as a visitor sees it. In ScrapeUnblocker's benchmark it returned real content on 100% of 1,000 calls, about 2.5s per call.

What Yahoo Finance data can I get?

From a quote page such as finance.yahoo.com/quote/AAPL: ticker, company name and exchange, price, change and percent change, market cap, volume and day range, P/E, EPS and 52-week range, plus news headlines and the quote URL. Take the rendered HTML, or add parsed_data=true for structured JSON.

Do I need a Yahoo Finance API or account?

No. ScrapeUnblocker returns the public page as HTML, or structured JSON with parsed_data=true, so there is no Yahoo Finance account, login or API key to set up. Send any Yahoo Finance quote or market URL to /getPageSource with your ScrapeUnblocker key.

Can I monitor Yahoo Finance at scale?

Yes. Send one /getPageSource call per URL and run calls in parallel up to your plan's concurrency limit: 20 to 100 concurrent requests on Pay as you go, Starter and Pro, and 200 to 400 on Business, Scale and Ultimate. That lets you re-check a watchlist of tickers on a schedule, one quote page per call.

How much does it cost to scrape Yahoo Finance?

Each /getPageSource call is one request, and 1 request = 1 credit: EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed. The free trial includes 500 requests with no card.

Related scrapers

Start scraping this site today

Free tier included. No credit card required to test it.