# Website Screenshot API (URL to PNG/JPG)

> Website Screenshot API (URL to PNG/JPG) is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Captures a screenshot of any URL and returns a PNG or JPG image, with configurable viewport, retina resolution, crop/fit modes, transparent background, JPEG quality, and JavaScript wait conditions via CloudConvert.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/website-screenshot
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-27519b78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tXfT84lew7gWSMApZ8vpM

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 x402-deployer-x402-deployer-workers-dev-27519b78 -d '<json body>'
```

Example prompt: Take a screenshot of https://stripe.com and give me a retina-quality PNG at 1280x800 viewport, cropped to fit, with no transparent background.

## When to prefer this

Use this endpoint when you need a visual render of a web page as a PNG or JPG image, especially when you require fine-grained control over viewport size, retina display, crop/fit behavior, transparent backgrounds, JPG quality, or JS-dependent content rendering. Prefer over alternatives when CloudConvert-backed fidelity and configurable capture parameters matter.

## Known failure modes

- URL is unreachable or returns an error — screenshot capture fails
- JavaScript wait condition times out — partial or blank page render
- Invalid URL format — request rejected
- Unsupported image format specified — error returned
- CloudConvert service unavailable — upstream failure

## How this service works

URL to PNG / JPG / website screenshot tool. Configurable viewport, retina, crop/fit, transparent BG, JPG quality, JS wait conditions. CloudConvert capture.

## Output

A rendered PNG or JPG image file of the target webpage, captured according to specified viewport size, resolution, crop/fit mode, background transparency settings, and JPG quality level.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-27519b78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
