Skip to content
Fourohtwo

Web Page Screenshot

api.strale.io/x402/screenshot-url

Web Page Screenshot: Take a full-page or visible-area screenshot of a URL. Handles cookie banners, lazy loading and single-page apps. Returns a base64 PNG.

BaseAnswering
GEThttps://api.strale.io/x402/screenshot-url

Uptime100% of 4 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.strale.io/x402/screenshot-url?full_page=%3Cfull_page%3E&url=%3Curl%3E&viewport_height=%3Cviewport_height%3E&viewport_width=%3Cviewport_width%3E&wait_for=%3Cwait_for%3E");
console.log(await res.json());

Example input

{
  "full_page": {
    "description": "Full page vs viewport (default: true)",
    "type": "boolean"
  },
  "url": {
    "description": "URL to screenshot",
    "required": true,
    "type": "string"
  },
  "viewport_height": {
    "type": "integer"
  },
  "viewport_width": {
    "type": "integer"
  },
  "wait_for": {
    "description": "CSS selector or seconds to wait",
    "type": "string"
  }
}