Api Endpoint

MrScraper

Retrieve a page as clean Markdown. Browser rendering is optional. Errors are never charged: 400 invalid input, 502 scrape failed, 504 timed out.

Open interactive test console

Offering

Provider
api.mrscraper.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.mrscraper.com/v1/cdp/scrape-markdown
MIME type
application/json
First seen
2026-11-21T18:11:52.301Z
Last seen
Tags
web-scraping, markdown, llm-ready, RAG, web-fetch

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x7697D53c3B8aFa641794Ac4Cb56Ed375798a0502"
  }
]

Observed health

Status
Healthy
Latest latency
118 ms
Average latency
120 ms
HTTP status
402
Last checked
Reachability
100% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": true,
      "description": "Fetch one public page as Markdown. Unknown properties are ignored.",
      "properties": {
        "blockResources": {
          "default": false,
          "description": "Block images, fonts, and stylesheets from loading. Speeds up scraping and reduces bandwidth usage.",
          "type": "boolean"
        },
        "browserRendering": {
          "description": "Whether to load the page in a browser: true enables it, false disables it unless required. Omit to try without a browser first and switch automatically if blocked. waitForSelector forces true.",
          "type": "boolean"
        },
        "cookies": {
          "description": "Cookies to send to the target site, as name=value pairs separated by semicolons (URL-encoded), for pages behind a login session. The gateway sends them as the Cookie header and never forwards the parameter itself. A standard Cookie request header works too; this parameter wins when both are sent. Requests with cookies skip the result cache.",
          "minLength": 1,
          "type": "string"
        },
        "geoCode": {
          "description": "Two-letter country code to load the page from, sent in lowercase.",
          "pattern": "^[a-zA-Z]{2}$",
          "type": "string"
        },
        "maxAge": {
          "default": 0,
          "description": "Return a cached result of the same request when it is newer than the selected age. Set to 0 to always fetch fresh results. A cached result costs the same tokens as the original scrape.",
          "maximum": 604800000,
          "minimum": 0,
          "type": "integer"
        },
        "maxRetries": {
          "description": "Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit.",
          "minimum": 0,
          "type": "integer"
        },
        "timeout": {
          "default": 300,
          "description": "Maximum seconds to wait for the page to fully load before the request times out. Increase for slow or complex pages.",
          "maximum": 330,
          "minimum": 1,
          "type": "integer"
        },
        "tokenCap": {
          "description": "Maximum total tokens the scrape and its retries can use. Automatic retries are bounded by this cap, so the total tokens for a single run stay at or below the value you set. Omit for no limit.",
          "minimum": 0,
          "type": "integer"
        },
        "url": {
          "description": "Absolute HTTP or HTTPS URL of the page to process.",
          "type": "string"
        },
        "waitForSelector": {
          "description": "Pause until a specific CSS selector or text appears on the page. Useful for content that loads asynchronously after the initial page load. Requires a rendered page. Setting this parameter automatically forces browserRendering to true.",
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        },
        "warmStart": {
          "default": false,
          "description": "Warm up session before going directly to the target URL.",
          "type": "boolean"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "markdown": {
          "type": "string",
          "description": "The page's content as Markdown, with headings, lists, code blocks and links kept."
        }
      },
      "required": [
        "markdown"
      ],
      "additionalProperties": true
    }
  },
  "required": [
    "type"
  ]
}