Capture Website Screenshot
image.screenshotCapture website screenshots with configurable dark mode, full-page scrolling, element selection, viewport size, and image format options—rendering any URL with precise timing control.
Instructions
Capture a screenshot of any website. Supports dark mode, full-page, and element selection. Costs $0.05 USDC on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to screenshot | |
| delay | No | Wait ms after page load before capture | |
| width | No | Viewport width in pixels | |
| format | No | Output image format | png |
| height | No | Viewport height in pixels | |
| _payment | No | Base64-encoded signed v2 PaymentPayload (the value you'd put in the PAYMENT-SIGNATURE HTTP header). Use @x402/evm or @x402/fetch to sign locally with your own wallet — your private key never leaves your machine. Get the requirements from a first call without _payment, then retry. | |
| darkMode | No | Emulate prefers-color-scheme: dark | |
| fullPage | No | Capture full scrollable page | |
| selector | No | CSS selector to capture specific element |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message when the call failed. | |
| result | No | Raw JSON payload returned by the x402 service on a successful, paid call. | |
| network | No | Settlement network for the x402 payment (base). | |
| service | No | Underlying x402tools service that handled the call. | |
| encoding | No | Encoding of the binary payload (base64). | |
| mimeType | No | MIME type of the returned binary payload (e.g. image/png, application/pdf). | |
| price_usdc | No | Price charged for this call, in USDC on Base. | |
| requirements | No | x402 payment requirements (scheme, network, amount, payTo, asset) when payment_required is true. | |
| payment_required | No | True when the call needs an x402 payment before it will run. |