# rue.mossgate.dev Headless Chrome Renderer

> rue.mossgate.dev Headless Chrome Renderer is a paid API for AI agents from rue.mossgate.dev, paid per call via x402, $0.003/call, status down (last checked 2026-09-15).

Renders a public URL or raw HTML to PDF, PNG, or JPEG using headless Chromium, with SSRF protection and configurable page options.

## Facts

- Endpoint: GET https://rue.mossgate.dev/v1/render
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rue-mossgate-dev-headless-chrome-renderer-76e118ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RNVPRdkj3tXMCsxGpQFff

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 rue-mossgate-dev-headless-chrome-renderer-76e118ba
```

Example prompt: Render https://example.com/invoice/123 as a full-page A4 PDF in portrait orientation using headless Chromium.

## When to prefer this

Choose this endpoint when you need server-side, JavaScript-rendered screenshots or document exports from a URL or HTML string, particularly when you need SSRF-safe rendering (no access to internal networks) and support for PDF paper/orientation options. Prefer it over client-side libraries when you need consistent Chromium rendering without managing browser infrastructure, or when you need to capture pages that require JS execution.

## Known failure modes

- SSRF guard blocks private/internal IP ranges or localhost URLs — returns an error if the URL resolves to a non-public address
- Invalid or unreachable URL results in a render failure or timeout
- Malformed raw HTML may produce blank or partial output without an explicit error
- Unsupported format enum value causes a schema validation error
- Very large or complex pages may time out during rendering
- Missing both url and html parameters returns a validation error

## How this service works

render a url or raw html to pdf, png or jpeg via headless chromium. ssrf-guarded, pure compute. body: {url|html, format:pdf|png|jpeg, full_page, landscape, paper}.

## Output

Returns the rendered file as binary output in the requested format — a PDF document, PNG image, or JPEG image — representing the fully rendered page including JavaScript-executed content, as produced by headless Chromium.

## 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",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "public http/https url to render (or use html)"
      },
      "html": {
       "type": "string",
       "description": "raw html to render (or use url)"
      },
      "paper": {
       "type": "string",
       "default": "A4"
      },
      "format": {
       "enum": [
        "pdf",
        "png",
        "jpeg"
       ],
       "type": "string",
       "default": "pdf"
      },
      "full_page": {
       "type": "boolean",
       "default": true
      },
      "landscape": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rue-mossgate-dev-headless-chrome-renderer-76e118ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rue.mossgate.dev](https://www.zero.xyz/host/rue.mossgate.dev/llms.txt)
