# Agent Wonderland Publish HTML to Public URL

> Agent Wonderland Publish HTML to Public URL is a paid API for AI agents from api.agentwonderland.com, paid per call via x402, $0.1/call, not verified (last probed 2026-10-12); live alternatives: cdn.withzero.xyz Static Site & File CDN Upload (free) and host.withzero.ai Static Website Upload (free).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [cdn.withzero.xyz Static Site & File CDN Upload](https://www.zero.xyz/c/cdn-withzero-xyz-static-site-file-cdn-upload-a0d9f22f) (free)
- [host.withzero.ai Static Website Upload](https://www.zero.xyz/c/host-withzero-ai-static-website-upload-6b5dcf40) (free)

Publishes raw HTML content to a publicly accessible URL, with optional custom slug, title, and password protection.

## Facts

- Endpoint: POST https://api.agentwonderland.com/x402/endpoints/publish-html-to-a-public-url?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Last successful call: 2026-07-01
- Success rate: 25% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 4
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-wonderland-publish-html-to-public-url-ca9af729
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YhOC6WuxHnp2kpnFsmTFf

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-wonderland-publish-html-to-public-url-ca9af729 -d '<json body>'
```

Example prompt: Publish this HTML to a public URL with the slug 'my-launch-page' and title 'Product Launch' — here's the HTML: <!DOCTYPE html><html><body><h1>Welcome!</h1></body></html>

## When to prefer this

Use this endpoint when you need to quickly host and share an HTML page at a public URL without managing servers or deployment pipelines — ideal for one-off pages, agent-generated reports, landing pages, or any scenario where you need a shareable link for HTML content within seconds.

## Known failure modes

- HTML content exceeds ~500KB size limit — request rejected
- Invalid or already-taken custom slug — conflict or validation error
- Malformed HTML input — may publish as-is or return error
- Payment not processed — 402 response requiring USDC payment
- Service unavailable — 5xx error

## How this service works

Publishes HTML content to a public URL for easy sharing and access.

## Output

Returns a public URL where the submitted HTML content is now live and accessible, optionally gated by a password if one was provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "title": "Html",
   "description": "HTML content to publish. Max ~500KB."
  },
  "slug": {
   "type": "string",
   "title": "Slug",
   "description": "Optional custom URL slug (random if omitted)."
  },
  "title": {
   "type": "string",
   "title": "Title",
   "description": "Optional page title shown in the browser tab."
  },
  "password": {
   "type": "string",
   "title": "Password",
   "description": "Optional password to gate access."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-wonderland-publish-html-to-public-url-ca9af729/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentwonderland.com](https://www.zero.xyz/host/api.agentwonderland.com/llms.txt)
