# dotrockets x402 Website Screenshot API

> dotrockets x402 Website Screenshot API is a paid API for AI agents from x402.dotrockets.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Captures a PNG screenshot of any public webpage, optionally at a custom width or full-page height, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://x402.dotrockets.com/v1/screenshot?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dotrockets-x402-website-screenshot-api-a33a785c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gx728xl9Pdrgq69kpdodU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dotrockets-x402-website-screenshot-api-a33a785c
```

Example prompt: Can you take a full-page screenshot of https://stripe.com at 1280px wide and show me what it looks like?

## When to prefer this

Use this endpoint when you need a visual render of a public URL as a PNG image with no API key or signup required, paying only $0.05 USDC per call via the x402 protocol on Base. Ideal for AI agents that need to visually verify a webpage, generate previews, or inspect layouts programmatically without maintaining a headless browser.

## Known failure modes

- URL is unreachable or returns non-2xx — likely returns an error or blank image
- URL is missing or malformed — 400 Bad Request
- Width outside 320-1920 range — may be rejected or clamped
- Payment not completed via x402 — 402 Payment Required before screenshot is taken
- Page takes too long to load — timeout with no image returned
- Private or localhost URLs may not be accessible from the rendering server

## How this service works

Machine-payable APIs for AI agents over x402: cosmic live data, AI-visibility scoring, website screenshots, and scrape-to-markdown. Pay per call in USDC on Base. No API keys, no signup.

## Output

Returns a raw PNG image (image/png binary) of the rendered webpage. The image reflects the page at the requested viewport width and, if fullPage=1, captures the entire scrollable content rather than just the visible area.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "https://example.com"
  },
  "width": {
   "type": "number",
   "description": "320-1920"
  },
  "fullPage": {
   "type": "string",
   "description": "0 oder 1"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "image/png",
 "description": "PNG-Bilddaten"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dotrockets-x402-website-screenshot-api-a33a785c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dotrockets.com](https://www.zero.xyz/host/x402.dotrockets.com/llms.txt)
