# Serve Hosted Webpage by Slug

> Serve Hosted Webpage by Slug is a paid API for AI agents from site.withzero.ai, paid per call via MPP, price unknown, status unknown (last checked 2026-09-29).

Retrieves and serves the stored HTML for a hosted webpage identified by its slug, with 1-hour caching and visit counter tracking.

## Facts

- Endpoint: GET https://site.withzero.ai/s/:slug?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Provider: site.withzero.ai
- Website: https://site.withzero.ai
- Canonical page: https://www.zero.xyz/c/site-withzero-ai-serve-hosted-webpage-by-slug-82db259a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PVNV7Sgpfghlhuz2C4LOO

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 site-withzero-ai-serve-hosted-webpage-by-slug-82db259a
```

Example prompt: Can you pull up the hosted page at slug 'my-landing-page' on site.withzero.ai and show me its HTML content?

## When to prefer this

Use this endpoint when you need to retrieve and display the HTML content of a specific page hosted on site.withzero.ai by its slug identifier. Prefer this over the HEAD variant when you need the full page body, not just headers. This is the canonical read endpoint for hosted pages within the withzero ecosystem.

## Known failure modes

- Slug not found — returns 404 if the slug does not exist or has expired
- Expired content — slug was valid but has passed its 365-day TTL
- Cache miss resulting in slightly higher latency on first fetch after cache expiry
- Rate limiting if too many requests hit the endpoint in quick succession

## How this service works

Serve the stored HTML for a slug. Cached for 1h. Increments visit counter.

## Output

Returns the full HTML content of the hosted webpage for the given slug, served from a 1-hour cache. Each successful GET also increments the slug's visit counter. The response body is the rendered HTML document.

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/site-withzero-ai-serve-hosted-webpage-by-slug-82db259a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from site.withzero.ai](https://www.zero.xyz/host/site.withzero.ai/llms.txt)
