# Agent Screenshot Hub

> Agent Screenshot Hub is a paid API for AI agents from shot.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-16).

Renders a webpage and returns a base64 screenshot (viewport or full-page) with optional element selection, dark mode, and cookie banner removal, plus metadata like byte size, load time, and final HTTP status.

## Facts

- Endpoint: POST https://shot.halowerk.com/screenshot
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-screenshot-hub-635ca9f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k0dwR6wW2dCCQhCJIIpNR

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 agent-screenshot-hub-635ca9f4 -d '<json body>'
```

Example prompt: Take a full-page screenshot of https://example.com at 1440px wide in WebP format with cookie banners removed and dark mode on.

## When to prefer this

Choose this endpoint when an AI agent needs a rendered visual snapshot of a live webpage — including JavaScript-heavy pages — with options for full-page capture, dark mode rendering, cookie banner suppression, or element-specific screenshots. Prefer over generic scraping tools when you need pixel-level visual output plus metadata like load time and HTTP status rather than raw HTML.

## Known failure modes

- Invalid or unreachable URL returns an error with the HTTP status of the failed request
- Timeout if page takes longer than 20 seconds to load
- Invalid CSS selector causes element capture to fail
- Conflicting options (selector + full_page) result in a validation error
- Non-HTTP/HTTPS URLs are rejected
- Quality parameter ignored for PNG format

## How this service works

Viewport or full page, optional element selector, dark mode and cookie banner removal. Returns base64 image plus a short lived fetch URL, byte size, load time and the final HTTP status of the page.

## Output

Returns a base64-encoded image in the requested format (PNG, WebP, or JPEG), a short-lived fetch URL to retrieve the image, the byte size of the image, the page load time in milliseconds, and the final HTTP status code of the rendered page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute http or https URL to render."
  },
  "width": {
   "type": "integer",
   "default": 1280,
   "maximum": 2560,
   "minimum": 320,
   "description": "Viewport width in CSS pixels."
  },
  "format": {
   "enum": [
    "png",
    "webp",
    "jpeg"
   ],
   "type": "string",
   "default": "png",
   "description": "Image format of the returned screenshot."
  },
  "height": {
   "type": "integer",
   "default": 800,
   "maximum": 2000,
   "minimum": 320,
   "description": "Viewport height in CSS pixels."
  },
  "quality": {
   "type": "integer",
   "default": 80,
   "maximum": 100,
   "minimum": 1,
   "description": "Compression quality for webp and jpeg. Ignored for png."
  },
  "delay_ms": {
   "type": "integer",
   "default": 0,
   "maximum": 10000,
   "minimum": 0,
   "description": "Wait this long after the document is ready before capturing. Counts against the 20 second budget."
  },
  "selector": {
   "type": "string",
   "maxLength": 300,
   "description": "CSS selector. When set, only that element is captured and full_page must stay off."
  },
  "dark_mode": {
   "type": "boolean",
   "default": false,
   "description": "Render with prefers-color-scheme: dark."
  },
  "full_page": {
   "type": "boolean",
   "default": false,
   "description": "Capture the whole document instead of the viewport. Costs 0.006 USDC instead of 0.004 USDC."
  },
  "block_cookiebanner": {
   "type": "boolean",
   "default": false,
   "description": "Remove common consent layers before capturing. The banner is hidden, never accepted."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-screenshot-hub-635ca9f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shot.halowerk.com](https://www.zero.xyz/host/shot.halowerk.com/llms.txt)
