# WritersLogic Page Capture — Browser Screenshot & PDF

> WritersLogic Page Capture — Browser Screenshot & PDF is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Renders a public URL in a real JavaScript-enabled browser and returns a PNG, JPEG, or PDF capture as base64 with a SHA-256 hash

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/page-capture?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-page-capture-browser-screenshot-pdf-47c6d80e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DoKxZ9OQJygPMlgAU0cC6

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 writerslogic-page-capture-browser-screenshot-pdf-47c6d80e -d '<json body>'
```

Example prompt: Can you take a full-page PNG screenshot of https://example.com at a 1280x800 viewport and give me the base64 image along with its SHA-256 hash so I can verify it later?

## When to prefer this

Choose this endpoint when an AI agent needs a verifiable, tamper-evident visual capture of a public webpage — particularly when JavaScript rendering is required, when you need a SHA-256 hash for auditability, or when you want a PDF export of a full page. It is ideal for archiving, QA checks, compliance snapshots, and visual diffs of public sites. Prefer alternatives if you need to interact with the page (click, fill forms, log in), crawl multiple pages, or extract structured text rather than a visual rendering.

## Known failure modes

- Payload exceeds 6 MB limit — returns an error instead of the capture
- Private or internal hostnames are rejected and return an error
- Page navigation timeout exceeded (configurable up to 30,000 ms)
- Invalid or malformed URL returns a validation error
- full_page combined with a very tall page may hit the 6 MB size cap
- Non-public URLs (login-required pages) render partially or as a login wall since no authentication is performed

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns a base64-encoded PNG, JPEG, or PDF of the rendered page along with its SHA-256 hash and metadata (MIME type, dimensions). Errors out if the output exceeds 6 MB, if the host is private/internal, or if the page navigation times out.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public http(s) URL."
  },
  "output": {
   "enum": [
    "png",
    "jpeg",
    "pdf"
   ],
   "type": "string",
   "default": "png"
  },
  "viewport": {
   "type": "object",
   "required": [
    "width",
    "height"
   ],
   "properties": {
    "width": {
     "type": "integer",
     "maximum": 1920,
     "minimum": 320
    },
    "height": {
     "type": "integer",
     "maximum": 1080,
     "minimum": 320
    }
   },
   "description": "Default 1280x800.",
   "additionalProperties": false
  },
  "full_page": {
   "type": "boolean",
   "default": false,
   "description": "Capture the full scroll height (screenshots only; a PDF is always the whole page)."
  },
  "timeout_ms": {
   "type": "integer",
   "default": 15000,
   "maximum": 30000,
   "minimum": 1000,
   "description": "Page navigation timeout."
  },
  "wait_until": {
   "enum": [
    "load",
    "networkidle0"
   ],
   "type": "string",
   "default": "load"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-page-capture-browser-screenshot-pdf-47c6d80e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
