# HALOWERK pfad – Canonical HTTP Status Check (Alternate)

> HALOWERK pfad – Canonical HTTP Status Check (Alternate) is a paid API for AI agents from pfad.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Checks the HTTP status of the canonical address referenced by an alternate link element on a given page or resource.

## Facts

- Endpoint: POST https://pfad.halowerk.com/v1/pruef/pfad/canonical-status/alternate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-pfad-canonical-http-status-check-alternate-f45a6b81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SohtHf-M3_2HazjmH9-g5

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 halowerk-pfad-canonical-http-status-check-alternate-f45a6b81 -d '<json body>'
```

Example prompt: Can you check the HTTP status of the canonical URL referenced by the alternate link on https://example.com/en-us/page — I want to know if that canonical address is actually reachable?

## When to prefer this

Use this endpoint when you need to specifically validate the HTTP status of a canonical URL declared within an alternate link element (e.g. hreflang alternate tags) on a page, as part of a technical SEO audit or automated site health check. Prefer this over generic HTTP checkers when you need structured SEO-context-aware validation of canonical-alternate relationships.

## Known failure modes

- Target URL is unreachable or returns a network error
- No alternate link element found on the page
- CSS selector matches zero elements or multiple ambiguous elements
- Canonical address in alternate element is malformed or empty
- Target URL returns a non-HTTP response (e.g. FTP, javascript: scheme)
- Rate limiting or bot protection blocks the HTTP request to the canonical URL
- Input URL exceeds 2048 characters
- Invalid user_agent string pattern

## How this service works

Prüft am Objekt alternate den Befund HTTP-Status der kanonischen Adresse.

## Output

The endpoint returns the HTTP status code observed when fetching the canonical address declared in the alternate link element of the target URL, along with diagnostic information indicating whether the canonical is reachable, redirected, or returning an error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ziel": {
   "oneOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1,
     "description": "Öffentliche HTTP(S)-Adresse; bei DNS-Befunden Domain oder öffentliche IP."
    },
    {
     "type": "object",
     "required": [
      "adresse"
     ],
     "properties": {
      "adresse": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "selektor": {
       "type": "string",
       "maxLength": 240,
       "minLength": 1,
       "description": "CSS-Selektor: genau ein Objekt, sonst erster Treffer des Objektfilters."
      },
      "vergleich": {
       "type": "string",
       "maxLength": 2048,
       "description": "Öffentliche Vergleichsadresse für Link-, Sitemap- oder Sprachbefunde."
      },
      "user_agent": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,80}$"
      },
      "dkim_selektor": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,63}$"
      }
     },
     "additionalProperties": false
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-pfad-canonical-http-status-check-alternate-f45a6b81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pfad.halowerk.com](https://www.zero.xyz/host/pfad.halowerk.com/llms.txt)
