# Agent Web-Access — PDF Generator

> Agent Web-Access — PDF Generator is a paid API for AI agents from web.cyberwarex.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Renders a public URL with a full JS-capable browser and returns a PDF of the page, encoded as base64, paid per-call via x402 with no API key required.

## Facts

- Endpoint: GET https://web.cyberwarex.com/pdf
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-web-access-pdf-generator-c9c6734e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WFUUv1eUm6wxBlavQNxvT

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-web-access-pdf-generator-c9c6734e
```

Example prompt: Can you grab this page and give me a PDF of it? Here's the URL: https://example.com/annual-report-2024

## When to prefer this

Choose this endpoint when you need a full-fidelity PDF of a live, JavaScript-rendered web page without setting up an API key or account. It is ideal for archiving dynamic content, generating shareable document snapshots, or exporting web reports as PDFs, especially in agent workflows that pay per-call via x402 USDC on Base. Prefer it over static HTML-to-PDF converters when the page relies on JS for rendering.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error or empty/incomplete PDF
- JavaScript-heavy page times out before fully rendering — PDF may be incomplete
- Invalid or malformed URL input — request rejected with validation error
- Page has bot-detection or anti-scraping measures — may block headless browser, resulting in error or blank PDF
- Network unreachability of target host — returns fetch/connection error
- Payment not fulfilled via x402 — request blocked with 402 Payment Required

## How this service works

Live web access for AI agents: JS-rendered pages as clean markdown/text/html, CSS-selector extraction, full-page screenshots and PDFs. Pay-per-call via x402 (USDC on Base, v1+v2 dual-stack) — no API key, no signup.

## Output

Returns a JSON object containing the original URL and the full PDF of the rendered page encoded as a base64 string, which can be decoded into a binary PDF file for download, attachment, or storage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http/https URL to operate on"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "pdf_base64": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-web-access-pdf-generator-c9c6734e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web.cyberwarex.com](https://www.zero.xyz/host/web.cyberwarex.com/llms.txt)
