ScrapeUnblocker sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.scrapeunblocker.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

All scrapers

Finance

Yahoo Finance Scraper

finance.yahoo.com

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

Yahoo Finance is where many investors check a quote first, and it covers stocks, ETFs, indices, crypto, currencies and futures on exchanges around the world. ScrapeUnblocker serves it through three plugin endpoints that return clean JSON, so a stock data scraper is one API call instead of a parser to maintain. yahoo-quote takes up to 10 symbols and returns price, change, market cap, P/E, EPS, day and 52-week ranges, volume, dividend, company name, exchange and currency, with analyst recommendations, price targets, financials and earnings where Yahoo has them. yahoo-history returns OHLCV bars for any range and bar size, with adjusted close, dividends and splits. yahoo-options returns the calls and puts of one expiration with bid, ask, volume, open interest and implied volatility, and lists every expiration.

What you can extract

  • Live price, change and percent change, with pre-market and after-hours prices
  • Market cap, P/E, forward P/E, EPS, PEG, beta and book value
  • Day and 52-week ranges, volume and average volume
  • Dividend rate, yield, ex-dividend date and payout ratio
  • Analyst recommendation, price targets and recent rating changes
  • OHLCV bars with adjusted close, dividends and splits, for any range and bar size
  • Option chains with strike, bid, ask, volume, open interest and implied volatility

Dedicated endpoints

/finance/yahoo-quote

Quotes for up to 10 symbols

symbols (comma-separated, up to 10) or one symbol, such as AAPL, VOD.L, ^GSPC, BTC-USD or EURUSD=X. Returns quotes, each with symbol, name, exchange, quoteType, currency, price, change, changePercent, previousClose, open, dayLow, dayHigh, bid, ask, volume, averageVolume, fiftyTwoWeekLow, fiftyTwoWeekHigh, marketCap, peRatio, forwardPE, eps, dividendRate, dividendYieldPercent, exDividendDate and quoteTime, plus analyst, profile, financials, earnings, performance, fund and crypto blocks where Yahoo has them. notFound and failed name symbols that returned nothing. One request per symbol returned. proxy_country is optional.

/finance/yahoo-history

OHLCV price history

symbol, with range (1d to max) and interval (1m to 3mo), or start and end dates (YYYY-MM-DD). Returns rows with date, timestamp, open, high, low, close, adjClose and volume, oldest first, plus dividends, splits and the symbol's name, currency and exchange. A window Yahoo refuses returns 400 with its reason. proxy_country is optional.

/finance/yahoo-options

Option chain for one expiration

symbol and an optional expiration (YYYY-MM-DD or Unix seconds; the nearest one by default). Returns calls and puts with contractSymbol, strike, lastPrice, change, changePercent, bid, ask, volume, openInterest, impliedVolatilityPercent, inTheMoney, lastTradeDate and expiration, plus expirationDates, strikes and underlyingPrice. A symbol with no listed options returns 404. proxy_country is optional.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/finance/yahoo-quote?symbols=AAPL%2CMSFT"
import requests

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

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

const quotes = await su.yahooFinanceQuote({ symbols: 'AAPL,MSFT' });
const history = await su.yahooFinanceHistory('AAPL', { range: '1y', interval: '1wk' });
const chain = await su.yahooFinanceOptions('AAPL');
console.log(quotes);
console.log(history);
console.log(chain);

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

Example response

{
  "quotes": [
    {
      "symbol": "AAPL",
      "name": "Apple Inc.",
      "exchange": "NasdaqGS",
      "quoteType": "EQUITY",
      "currency": "USD",
      "marketState": "REGULAR",
      "price": 349.86,
      "change": 7.49,
      "changePercent": 2.1877,
      "previousClose": 342.37,
      "dayLow": 344.78,
      "dayHigh": 351.42,
      "volume": 12547443,
      "fiftyTwoWeekLow": 243.42,
      "fiftyTwoWeekHigh": 355.38,
      "marketCap": 5084228878336,
      "peRatio": 38.94,
      "eps": 8.98,
      "dividendRate": 1.08,
      "dividendYieldPercent": 0.32,
      "exDividendDate": "2026-11-12",
      "quoteTime": "2026-11-09T16:31:09Z",
      "analyst": { "recommendation": "buy", "analystCount": 40, "targetMeanPrice": 340.47 },
      "profile": { "sector": "Technology", "industry": "Consumer Electronics", "website": "https://www.apple.com" },
      "url": "https://finance.yahoo.com/quote/AAPL/"
    }
  ],
  "totalQuotes": 1
}

Read the API docs

Frequently asked questions

Is it legal to scrape Yahoo Finance?

Collecting publicly available market data 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 data the site shows; what you collect and how you use it is your responsibility. It is not investment advice.

How do I scrape Yahoo Finance without getting blocked?

The plugins read each page through ScrapeUnblocker's fetch chain, over rotating ISP exits, and retry a refused read on a fresh exit. In ScrapeUnblocker's benchmark it returned data on 100% of 1,142 calls (696 quotes, 297 price histories, 149 option chains, all different targets), averaging 1.3 seconds per call. A further 8 targets the site itself had no data for are not counted.

Which symbols are covered?

Whatever Yahoo Finance lists, in Yahoo's own notation: stocks such as AAPL, listings with an exchange suffix such as VOD.L or 7203.T, ETFs such as SPY, indices such as ^GSPC, crypto such as BTC-USD, currencies such as EURUSD=X and futures such as ES=F. Funds add a fund block and crypto a crypto block.

How far back does the price history go?

Up to the full listed history with range=max, in daily or longer bars. Yahoo limits how far back intraday bars go and how many days one request can cover; a window it refuses returns 400 with Yahoo's reason, so nothing is silently cut.

Can I get several symbols in one call?

Yes. yahoo-quote takes up to 10 symbols per call, reads them in parallel and returns what it found: a symbol Yahoo does not know is listed in notFound, one that could not be read in failed. The other endpoints take one symbol per call.

How much does it cost to scrape Yahoo Finance?

yahoo-quote counts one request per symbol returned; yahoo-history and yahoo-options count one request per call, whatever they return. 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, and the free trial includes 500 requests with no card.

Related scrapers

Yahoo Finance and other names and marks of finance.yahoo.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of finance.yahoo.com.

Start scraping this site today

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