Tools / Web
Website screenshot
Opens the URL in a headless Chrome browser, waits for the page to settle and returns a PNG screenshot. Choose the viewport size and whether to capture the full scrolling page. Returns the image directly, or base64 JSON with format=json.
- Price per call
- $0.01 USDC
- Endpoint
- GET https://x402-tools.com/v1/screenshot
- Also accepts
- POST with a JSON body
- Payment
- x402, exact scheme, USDC on Base
- Returns
- image/png
Parameters
| Name | Type | Description |
|---|---|---|
| url required | string | Public URL to capture. |
| width | number | Viewport width in pixels (default 1280, 320 to 1920). |
| height | number | Viewport height in pixels (default 800, 240 to 1600). |
| full_page | boolean | Capture the full scrolling page (default false). |
| format | string | 'png' (default, raw image) or 'json' (base64 in JSON). |
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://x402-tools.com/v1/screenshot?url=https%3A%2F%2Fexample.com&width=1280&height=800&full_page=false&format=png");
// costs $0.01 in USDC on Base
Without a payment the endpoint answers 402 with the price, so you can inspect it first:
curl -i "https://x402-tools.com/v1/screenshot?url=https%3A%2F%2Fexample.com&width=1280&height=800&full_page=false&format=png"
Example response
{
"note": "Raw PNG bytes, or with format=json:",
"url": "https://example.com/",
"mime_type": "image/png",
"image_base64": "iVBORw0KGgo…"
}
If the tool fails or your input is invalid, the payment is not settled.
Other tools
Web page to markdown$0.003
Turn any URL (HTML, PDF, Office docs) into clean markdown an agent can read.
Summarize text or a URL$0.005
A faithful short, medium or long summary of any text or web page.
Extract structured data$0.01
Pull JSON fields out of any text or web page, matching your schema.
Translate text$0.003
Translate text into any language, keeping formatting and tone.
Generate an image$0.02
Text-to-image with FLUX.1 schnell, returned in seconds.
Base wallet lookup$0.002
ETH, USDC and any ERC-20 balances for an address on Base, live from the chain.