# HALOWERK pfad – Redirect Chain Length Check

> HALOWERK pfad – Redirect Chain Length Check 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 redirect chain length for a given URL's redirection object, returning an audit finding about how many hops the redirect chain contains.

## Facts

- Endpoint: POST https://pfad.halowerk.com/v1/pruef/pfad/kette/weiterleitung?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-redirect-chain-length-check-c81ecd9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6dnxRGEndX2-QJv-mVP1z

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-redirect-chain-length-check-c81ecd9f -d '<json body>'
```

Example prompt: Can you check how long the redirect chain is for https://example.com/old-page — I want to know if it's going through too many hops before reaching its final destination?

## When to prefer this

Use this endpoint when you need to specifically audit the number of redirect hops (chain length) for a URL tagged as a redirect object, as part of technical SEO or web performance auditing. Prefer this over generic HTTP status checkers when you need quantitative redirect chain depth data rather than just the final HTTP status code.

## Known failure modes

- Target URL is unreachable or returns a non-redirect status — no chain length can be measured
- URL exceeds maximum length of 2048 characters — validation error
- Target is not a publicly accessible HTTP/HTTPS address — rejected input
- Redirect loop detected — chain measurement may fail or timeout
- CSS selector matches no element or multiple elements — first match used or error returned

## How this service works

Prüft am Objekt weiterleitung den Befund Länge der Weiterleitungskette.

## Output

Returns an audit finding describing the length (number of hops) of the HTTP redirect chain for the specified target URL's redirection object, allowing the caller to assess whether the redirect chain is within acceptable limits.

## 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-redirect-chain-length-check-c81ecd9f/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)
