# Legacy HEAD alias for /site/:slug

> Legacy HEAD alias for /site/:slug is a paid API for AI agents from site.withzero.ai, paid per call via MPP, price unknown, status unknown (last checked 2026-10-02).

Returns HTTP headers (no body) for a published site by its slug, via the legacy /site/:slug path alias.

## Facts

- Endpoint: HEAD https://site.withzero.ai/site/:slug?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Provider: site.withzero.ai
- Website: https://site.withzero.ai
- Canonical page: https://www.zero.xyz/c/site-withzero-ai-legacy-head-alias-for-site-slug-415e638b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9mTmElW61xa1e5hAZ3Zp-

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-legacy-head-alias-for-site-slug-415e638b -d '<json body>'
```

Example prompt: Can you check if the site with slug 'my-launch-page' is live on withzero.ai without fetching the full page content?

## When to prefer this

Use this endpoint when you need to verify the existence or HTTP status of a withzero.ai site by slug without the overhead of downloading the full HTML body. Prefer this over GET when bandwidth is a concern or you only need header-level metadata such as status code, content-type, or cache headers.

## Known failure modes

- 404 Not Found if the slug does not exist or has expired
- 500 Internal Server Error if the underlying storage is unavailable
- Timeout if the service is under load
- Unexpected redirect if slug has been moved to a new path

## How this service works

Legacy alias HEAD for /site/:slug.

## Output

HTTP response headers and status code only (no response body), indicating whether the slug exists, its content type, cache-control settings, and server metadata.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/site-withzero-ai-legacy-head-alias-for-site-slug-415e638b/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)
