# Softbot Screenshot – Headless Chrome Web Page Capture

> Softbot Screenshot – Headless Chrome Web Page Capture is a paid API for AI agents from softbot-screenshot-mainnet.softbot.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Renders any public URL in headless Chrome and returns a PNG or JPEG screenshot as base64 JSON or raw image, with configurable viewport, full-page capture, and JS wait time.

## Facts

- Endpoint: POST https://softbot-screenshot-mainnet.softbot.workers.dev/v1/screenshot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/softbot-screenshot-headless-chrome-web-page-capture-c7fe3101
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ewik34raeXQgYvGG8I79

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 softbot-screenshot-headless-chrome-web-page-capture-c7fe3101 -d '<json body>'
```

Example prompt: Take a full-page screenshot of https://example.com at 1280x800 in PNG format, wait 2000ms for any JavaScript to load, and give me the image.

## When to prefer this

Choose this endpoint when you need a visual representation of a live webpage as rendered by a real browser — including JavaScript-executed content, CSS layouts, and dynamic elements. Prefer it over HTML-fetch or scraping endpoints when the goal is visual inspection, evidence capture, UI review, or feeding page content to a vision/multimodal model. Prefer over PDF sibling endpoint when you need a raster image (PNG/JPEG) rather than a document.

## Known failure modes

- URL is not publicly accessible or behind authentication — returns error
- Requested page exceeds timeout — partial or empty screenshot
- URL points to a non-HTTP resource (file://, etc.) — rejected
- Full-page height exceeds 8000px cap — image is truncated at limit
- wait_ms exceeds 5000ms maximum — request rejected with validation error
- Server-side Chrome crash or timeout for complex pages

## How this service works

Render any public web page in a real headless Chrome and return a PNG/JPEG screenshot (base64 JSON, or raw image with ?raw=1). Viewport up to 1920x1920, optional full-page capture up to 8000px tall, optional wait for late content. Use when an agent needs to see what a page actually looks like (visual check, JS-rendered content, layout/UI review, evidence capture, feeding a vision model) rather than its text.

## Output

Returns a JSON object containing a base64-encoded PNG or JPEG image of the rendered page, or a raw image binary when ?raw=1 is used. The image reflects the page as rendered by a real headless Chrome instance, including JavaScript-rendered content, at the specified viewport dimensions (up to 1920×1920) or full-page height (up to 8000px).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL"
  },
  "width": {
   "type": "integer",
   "default": 1280,
   "maximum": 1920,
   "minimum": 320
  },
  "format": {
   "enum": [
    "png",
    "jpeg"
   ],
   "type": "string",
   "default": "png"
  },
  "height": {
   "type": "integer",
   "default": 800,
   "maximum": 1920,
   "minimum": 240
  },
  "wait_ms": {
   "type": "integer",
   "default": 0,
   "maximum": 5000,
   "minimum": 0
  },
  "full_page": {
   "type": "boolean",
   "default": false,
   "description": "Capture the full scroll height (capped at 8000px)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/softbot-screenshot-headless-chrome-web-page-capture-c7fe3101/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from softbot-screenshot-mainnet.softbot.workers.dev](https://www.zero.xyz/host/softbot-screenshot-mainnet.softbot.workers.dev/llms.txt)
