Skip to content
Fourohtwo

api.mrscraper.com/v1/cdp/scrape-json

Extracts structured JSON from a page with AI, guided by a natural-language prompt that describes the fields wanted. A JSON schema after a Json Schema: label in the prompt shapes the output. Errors are never charged: 400 invalid input, 502 extraction failed, 504 timed out.

BaseAnswering
GEThttps://api.mrscraper.com/v1/cdp/scrape-json

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.mrscraper.com/v1/cdp/scrape-json?blockResources=true&browserRendering=true&geoCode=us&html=false&maxAge=0&maxRetries=2&prompt=All+data+on+the+page%2C+as+complete+as+possible&screenshot=false&timeout=300&url=https%3A%2F%2Fmrscraper.com%2Fpricing&waitForSelector=%23main&warmStart=false");
console.log(await res.json());

Example input

{
  "blockResources": true,
  "browserRendering": true,
  "geoCode": "us",
  "html": false,
  "maxAge": 0,
  "maxRetries": 2,
  "prompt": "All data on the page, as complete as possible",
  "screenshot": false,
  "timeout": 300,
  "url": "https://mrscraper.com/pricing",
  "waitForSelector": "#main",
  "warmStart": false
}

More from MrScraperProvider status