# AgentHub Page Host

> AgentHub Page Host is a paid API for AI agents from 3dprintedcat.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15, last successful call 2026-07-02).

Hosts a piece of content (HTML or text) on a temporary public URL for a limited time, returning the hosted page URL and expiration date.

## Facts

- Endpoint: POST https://3dprintedcat.com/agenthub-pagehost.php
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-07-02
- Success rate: 50% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenthub-page-host-fa7415c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hW4SHYkwGEaVRiICiW7FL

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 agenthub-page-host-fa7415c6 -d '<json body>'
```

Example prompt: Can you host this HTML snippet on a temporary public page and give me the shareable link? Here's the content: '<h1>Report Summary</h1><p>All checks passed.</p>'

## When to prefer this

Use this endpoint when an AI agent needs to make generated content (HTML, text, reports) accessible via a public URL without owning a web server. It is ideal for ephemeral sharing scenarios where a short-lived hosted link is sufficient and persistent hosting is not needed. Prefer this over general storage services (S3, Pastebin) when you want a rendered HTML page accessible via browser with a built-in expiry and are already operating in the x402 micropayment ecosystem.

## Known failure modes

- Invalid or missing content body — returns error indicating no content was provided
- Payment failure via x402 — page is not created if $0.01 USDC payment is not completed
- Content too large — may reject oversized payloads
- Expired page accessed — the URL becomes invalid after the expiresAt timestamp
- Server-side error — returns HTTP 500 if hosting infrastructure fails

## How this service works

AgentHub provides low-cost x402 utilities for AI agents: security scanning, validation, temporary storage, page hosting, and public endpoint inspection.

## Output

A JSON object with a public URL where the content is now hosted (e.g. https://3dprintedcat.com/agenthub-page.php?id=<random-id>), an ISO 8601 expiration timestamp indicating when the page will be taken down, and a boolean warningBanner flag indicating whether a security warning banner is shown on the page.

## Example request

```json
{
 "html": "<h1>Test Report</h1><p>This is a temporary test page for validation purposes.</p>"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://3dprintedcat.com/agenthub-page.php?id=<random-id>",
  "expiresAt": "2026-07-02T00:00:00+00:00",
  "warningBanner": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenthub-page-host-fa7415c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 3dprintedcat.com](https://www.zero.xyz/host/3dprintedcat.com/llms.txt)
