# Web Page Screenshot API

> Web Page Screenshot API is a paid API for AI agents from toolsmith-api.dassad10.workers.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Captures a full-fidelity screenshot of any public web page using a real Chrome browser, returning a base64-encoded PNG image

## Facts

- Endpoint: GET https://toolsmith-api.dassad10.workers.dev/t/web/screenshot
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-screenshot-api-da736c02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EpBk9L924qC0i1aiXbYH2

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 web-page-screenshot-api-da736c02
```

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

## When to prefer this

Choose this endpoint when you need a pixel-accurate visual rendering of a public web page using a real Chrome browser, especially when you need to verify visual layout, capture page appearance, or inspect rendered content rather than raw HTML. Prefer over HTML-scraping endpoints when visual fidelity matters or the page relies heavily on JavaScript rendering.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- URL points to a non-HTML resource that cannot be rendered in a browser
- Viewport width outside the 320–2000 range — returns validation error
- Page takes too long to load or times out during rendering
- Invalid or malformed URL — returns error response

## How this service works

Full-fidelity screenshot of any public web page, captured by a real Chrome browser. Viewport or full-page, configurable width. Returns a base64 PNG. JSON response. $0.015 USDC per call, pay via x402, no API key.

## Output

A JSON object containing a base64-encoded PNG image of the rendered web page, captured by a real Chrome browser at the specified viewport width, either as a viewport-only or full-page screenshot depending on the 'full' parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public page URL"
      },
      "full": {
       "type": "string",
       "description": "1 for full-page, else viewport"
      },
      "width": {
       "type": "integer",
       "description": "Viewport width 320-2000, default 1280"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "bytes": 84213,
  "format": "png",
  "imageBase64": "iVBORw0KG..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-screenshot-api-da736c02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolsmith-api.dassad10.workers.dev](https://www.zero.xyz/host/toolsmith-api.dassad10.workers.dev/llms.txt)
