# x-402 HTML Page Publisher

> x-402 HTML Page Publisher is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-12).

Hosts a generated HTML page on a permanent, unguessable link for up to 30 days, rendering static HTML, inline CSS and SVG while blocking scripts, forms and external requests.

## Facts

- Endpoint: GET https://api.x-402.online/v1/publish?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-402-html-page-publisher-c6cdb6e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dlylUbZBBraD51KTJQsrv

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 x-402-html-page-publisher-c6cdb6e6
```

Example prompt: Take this HTML sales summary report I just generated and publish it to a permanent shareable link so I can send it to my team — keep it live for up to 30 days.

## When to prefer this

Choose this endpoint when an AI agent has generated a static HTML document (report, invoice, dashboard, summary) and needs to share it via a stable URL without managing any server infrastructure. Ideal for ephemeral but shareable documents that only need to live for up to 30 days. Best suited for purely presentational content — if the page needs interactive JavaScript, dynamic data fetching, or form submissions, this endpoint is not appropriate.

## Known failure modes

- Invalid or malformed HTML content may fail to publish or render incorrectly
- Content exceeding size limits may be rejected
- External resources referenced in the HTML will be blocked and not load
- Scripts or forms in the HTML will be silently stripped or blocked
- Link expires after 30 days and becomes inaccessible
- Payment failure via x402 protocol results in 402 response and no page is created

## How this service works

Host a generated HTML page on a permanent unguessable link for up to 30 days: static HTML, inline CSS and SVG render; scripts, forms and external requests are blocked Host a generated HTML page (report, dashboard, summary, invoice) on a pe…

## Output

A permanent, unguessable URL where the submitted HTML page is hosted for up to 30 days. The page renders static HTML, inline CSS and inline SVG; JavaScript, forms and external network requests are all blocked for security. The link can be shared with anyone who has it.

## 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": {}
    }
   },
   "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/x-402-html-page-publisher-c6cdb6e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
