# AgentRXI HTML/URL to PDF Renderer

> AgentRXI HTML/URL to PDF Renderer is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-15).

Renders a URL or raw HTML string to a PDF file using a headless browser and returns the raw PDF bytes

## Facts

- Endpoint: GET https://agentrxi.com/v1/pdf?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-html-url-to-pdf-renderer-db5408e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gePJzyE_SeNda6MEJX5IE

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 agentrxi-html-url-to-pdf-renderer-db5408e0
```

Example prompt: Can you convert this URL — https://example.com/invoice/12345 — to a PDF file I can download and send to the client?

## When to prefer this

Choose this endpoint when you need to convert a live webpage or raw HTML string into a downloadable PDF document, especially for invoices, receipts, reports, and page archiving use cases. It uses a real headless browser, so it handles styled HTML accurately. Prefer it over server-side LaTeX or document libraries when your source is already HTML or a public URL.

## Known failure modes

- Invalid or unreachable URL returns an error or empty response
- Malformed HTML may produce a blank or broken PDF
- Neither url nor html provided results in a missing-parameter error
- Timeout if the target URL is slow to load
- JavaScript-heavy pages may not render completely if scripts don't finish in time

## How this service works

Render a URL or raw HTML to a PDF file with a headless browser. Returns the PDF bytes. Use for invoices, reports, receipts, archiving pages. Also callable as GET with the same fields as query parameters.

## Output

Raw PDF bytes representing the rendered page or HTML content, suitable for saving as a .pdf file, attaching to emails, or streaming to a client. The response is the binary PDF document produced by a headless 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "html": {
       "type": "string",
       "description": "Raw HTML instead of url"
      }
     }
    }
   },
   "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/agentrxi-html-url-to-pdf-renderer-db5408e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
