# Scribe Render – URL/HTML to PDF or PNG Screenshot

> Scribe Render – URL/HTML to PDF or PNG Screenshot is a paid API for AI agents from scribe.vimabrosta.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Renders a public URL or raw HTML in a real browser and returns a PDF document or PNG screenshot (full page or viewport) as binary bytes or base64 JSON.

## Facts

- Endpoint: POST https://scribe.vimabrosta.com/v1/render?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scribe-render-url-html-to-pdf-or-png-screenshot-be4f44d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wcMXe_lm6CThLTFO5ev1L

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 scribe-render-url-html-to-pdf-or-png-screenshot-be4f44d6 -d '<json body>'
```

Example prompt: Take a full-page PNG screenshot of https://example.com and send me the image as base64 JSON so I can embed it in my report.

## When to prefer this

Choose this endpoint when you need a high-fidelity, browser-rendered PDF or PNG from a live URL or custom HTML — especially for document archiving, visual QA, or generating printable outputs. Prefer it over headless-browser self-hosting or HTML-to-text converters when the visual layout, fonts, and styles must be preserved exactly as a browser would display them.

## Known failure modes

- URL unreachable or returns non-200 status — render fails
- HTML exceeds 256KB limit — rejected with input size error
- Invalid ISO output format enum value — request rejected
- Browser timeout if the target page is very slow to load
- Malformed HTML may render incompletely or produce blank output
- Payment not provided or insufficient — 402 Payment Required

## How this service works

Render a public URL or your own HTML in a real browser and receive a PDF or a PNG screenshot (full page or viewport). The bytes come back in the response, or as base64 JSON when you ask for it. For visual verification, archiving, or a document a person can open. $0.02.

## Output

Returns the rendered file as raw binary bytes (PDF or PNG) in the HTTP response body, or as a base64-encoded JSON object when base64 format is requested. The output represents a full-page or viewport capture of the supplied URL or HTML, rendered in a real browser.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "from",
      "to",
      "input"
     ],
     "properties": {
      "to": {
       "enum": [
        "pdf",
        "png"
       ],
       "type": "string"
      },
      "from": {
       "enum": [
        "url",
        "html"
       ],
       "type": "string"
      },
      "input": {
       "type": "string",
       "description": "A public URL, or your own HTML (256KB max)."
      },
      "format": {
       "enum": [
        "binary",
        "base64"
       ],
       "type": "string",
       "default": "binary",
       "description": "binary returns the file itself; base64 returns JSON."
      },
      "full_page": {
       "type": "boolean",
       "default": true
      },
      "viewport_width": {
       "type": "integer",
       "default": 1280
      },
      "viewport_height": {
       "type": "integer",
       "default": 800
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scribe-render-url-html-to-pdf-or-png-screenshot-be4f44d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scribe.vimabrosta.com](https://www.zero.xyz/host/scribe.vimabrosta.com/llms.txt)
