# Softbot Web Page to PDF Renderer

> Softbot Web Page to PDF Renderer 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 web page using headless Chrome and returns it as an A4-formatted PDF, delivered as base64 JSON or raw PDF binary.

## Facts

- Endpoint: POST https://softbot-screenshot-mainnet.softbot.workers.dev/v1/pdf?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-web-page-to-pdf-renderer-de8e75ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ehBencw7ZRG52W4_H-LgC

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-web-page-to-pdf-renderer-de8e75ec -d '<json body>'
```

Example prompt: Can you convert this article at https://example.com/article/2024/annual-report to a PDF so I can attach it to an email? Wait 2000ms for the page to load fully.

## When to prefer this

Choose this endpoint when you need a faithful, print-ready A4 PDF of a public web page rendered with full CSS and JavaScript support via a real headless Chrome browser. It is ideal for archiving articles, generating receipt PDFs from order confirmation URLs, or creating attachments from web content. Prefer this over screenshot endpoints when you need a scalable vector document rather than a pixel image, and over HTML-to-PDF converters when the page relies heavily on JavaScript for rendering.

## Known failure modes

- URL is not publicly accessible (private/intranet pages) — rendering will fail or return blank content
- Page requires authentication — headless Chrome has no session cookies, returns login page PDF instead
- wait_ms too low for JavaScript-heavy pages — dynamic content may not be fully rendered
- URL is malformed or unreachable — returns an error response
- Page blocks headless browsers (bot detection) — may return a CAPTCHA or error page
- Payment not completed via x402 protocol — request is rejected before rendering begins

## How this service works

Render any public web page in headless Chrome and return it as an A4 PDF (base64 JSON, or raw PDF with ?raw=1). Use when an agent needs a printable/archivable copy of a web page, a receipt or an article to store, attach or send.

## Output

Returns a JSON object containing the PDF as a base64-encoded string (default), or a raw PDF binary stream when the `?raw=1` query parameter is used. The PDF is formatted as A4 and rendered using a real headless Chrome instance, preserving layout, images, and styling from the source page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL"
  },
  "wait_ms": {
   "type": "integer",
   "default": 0,
   "maximum": 5000,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/softbot-web-page-to-pdf-renderer-de8e75ec/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)
