ToolAssay

Retrieve the raw HTML of a page

Retrieve the raw HTML of a page. Browser rendering and a screenshot are optional. Errors are never charged: 400 invalid input, 502 scrape failed, 504 timed out.

Answers HTTP 400 without x402 payment termsour last check, 2026-11-26
0 of 7checks answered this week
n/amedian answer time
$0.001listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.mrscraper.com/v1/cdp/scrape-html

CategorySearch and research
Provider hostapi.mrscraper.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days13 from 4 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 no x402 terms 400 1225 ms
2026-11-25 no x402 terms 400 1313 ms
2026-11-24 no x402 terms 400 853 ms
2026-11-23 no x402 terms 400 997 ms
2026-11-22 no x402 terms 400 1024 ms
2026-11-21 no x402 terms 400 829 ms
2026-11-20 no x402 terms 400 819 ms
2026-11-19 no x402 terms 400 837 ms
2026-11-18 no x402 terms 400 1038 ms
2026-11-17 no x402 terms 400 813 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "blockResources": false,
    "browserRendering": true,
    "geoCode": "us",
    "maxAge": 0,
    "maxRetries": 2,
    "screenshot": "full",
    "timeout": 300,
    "url": "https://www.scrapethissite.com",
    "waitForSelector": "#hero",
    "warmStart": false
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": true,
          "description": "Fetch one public page as HTML. Unknown properties are ignored.",
          "properties": {
            "blockResources": {
              "description": "Blocks images, fonts, and stylesheets from loading. Speeds up scraping and reduces bandwidth usage.",
              "type": "boolean"
            },
            "browserRendering": {
              "description": "Controls whether the page is loaded in a browser. Leave it out to load the page without a browser first and switch to a browser automatically if the request is blocked. Set true to always load the page in a browser, which JavaScript-heavy sites, SPAs, and pages that load content dynamically need. Set false to never use a browser.",
              "type": "boolean"
            },
            "geoCode": {
              "description": "Two-letter country code to load the page from, such as us or gb. Defaults to the United States.",
              "pattern": "^[a-zA-Z]{2}$",
              "type": "string"
            },
            "maxAge": {
              "default": 0,
              "description": "Serves a cached result of the same request when it is newer than this age, in milliseconds, such as 86400000 for 1 day. Up to 604800000 (7 days). 0, the default, always scrapes fresh. A cached result costs the same tokens as the original scrape.",
              "maximum": 604800000,
              "minimum": 0,
              "type": "integer"
            },
            "maxRetries": {
              "description": "Maximum number of retries for the request. Omit for no limit.",
              "minimum": 0,
              "type": "integer"
            },
            "screenshot": {
              "description": "Also captures a screenshot of the rendered page as a base64-encoded PNG: full captures the entire scroll height, top captures the first viewport, and <width>x<height> sets the viewport size in pixels with an optional -<zoom> percent, such as 1280x800 or 1920x1080-75. Width and height range from 100 to 3840, zoom from 25 to 300. Setting it forces browser rendering. Leave it out for no screenshot.",
              "pattern": "^(full|top|[0-9]{3,4}x[0-9]{3,4}(-[0-9]{2,3})?)$",
              "type": "string"
            },
            "timeout": {
              "description": "Maximum seconds to wait for the scrape before the request times out, from 1 to 330. Increase for slow or complex pages. Defaults to 300.",
              "maximum": 330,
              "minimum": 1,
              "type": "integer"
            },
            "url": {
              "description": "URL of the page to scrape. Must include the protocol (https://). Local and private hosts, IPv6 literals and embedded credentials are rejected.",
              "type": "string"
            },
            "waitForSelector": {
              "description": "Waits until a specific CSS selector or text appears on the page before returning it, such as #results. Up to 500 characters. Useful for content that loads asynchronously after the initial page load.",
              "maxLength": 500,
              "minLength": 1,
              "type": "string"
            },
            "warmStart": {
              "description": "Opens the site's home page first to warm the session before loading the target URL. Useful for sites that expect a normal browsing session before deeper pages.",
              "type": "boolean"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "html": {
              "description": "The page as the target sent it: HTML for web pages.",
              "type": "string"
            },
            "screenshot": {
              "contentEncoding": "base64",
              "description": "The image, base64-encoded, without a data: prefix. Present only when screenshot is set and the page produced one.",
              "type": "string"
            }
          },
          "required": [
            "html"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON