Get the HTML of a page
scrape_raw_htmlFetch the raw HTML of any public web page via ScrapingBot proxies, with optional headless Chrome rendering for JavaScript sites and premium proxy support for blocked content.
Instructions
Fetch the HTML source of any public web page through ScrapingBot's proxies. Use useChrome for pages built with JavaScript. Prefer the dedicated tools: scrape_retail for product pages, scrape_real_estate, scrape_booking, scrape_search_engine for Google or Bing, and scrape_social_media for Instagram, TikTok, Facebook, LinkedIn, X/Twitter or Threads (blocked here). Costs 1 credit, 5 with useChrome, 10 with premiumProxy, 25 with both (and for Google pages); failed requests are refunded. Some protected sites always use a premium proxy and cost 10 credits (e.g. amazon.fr, cdiscount.com, fnac.com, leboncoin.fr, seloger.com, rightmove.co.uk, zillow.com). A request blocked by the site is retried once with a premium proxy, billed at the premium price only if it succeeds (the result then says so).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the page, starting with https:// | |
| maxChars | No | Maximum number of characters returned. Default 100000. | |
| useChrome | No | Render the page with a headless Chrome (JavaScript sites). Default false. | |
| premiumProxy | No | Use a premium proxy for sites that block regular proxies. Default false. | |
| proxyCountry | No | Two-letter country code of the proxy (requires premiumProxy), e.g. FR, US. | |
| premiumFallback | No | When the site blocks the request, retry it once with a premium proxy, billed at the premium price only if it succeeds. Default true; false turns it off. | |
| waitForNetworkRequests | No | With useChrome, wait for the page's network requests to finish. Default false. |