Skip to content
Fourohtwo

api.mrscraper.com/v1/cdp/get-screenshot

Capture a base64 PNG screenshot of the full page, the top viewport, or a custom viewport size. Browser rendering is always enabled. Errors are never charged: 400 invalid input, 502 capture failed, 504 timed out.

BaseUnchecked
GEThttps://api.mrscraper.com/v1/cdp/get-screenshot

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.mrscraper.com/v1/cdp/get-screenshot?geoCode=us&maxAge=0&maxRetries=2&screenshot=full&timeout=300&url=https%3A%2F%2Fwww.scrapethissite.com&waitForSelector=%23hero");
console.log(await res.json());

Example input

{
  "geoCode": "us",
  "maxAge": 0,
  "maxRetries": 2,
  "screenshot": "full",
  "timeout": 300,
  "url": "https://www.scrapethissite.com",
  "waitForSelector": "#hero"
}

More from MrScraper