# HALOWERK pfad – Redirect Chain Length Check (Resource)

> HALOWERK pfad – Redirect Chain Length Check (Resource) 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 resource URL, detecting excessively long or problematic redirect sequences.

## Facts

- Endpoint: POST https://pfad.halowerk.com/v1/pruef/pfad/kette/ressource?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-resource-a6449f35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cV_ocm-CMNGIcW0BeXzl_

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-resource-a6449f35 -d '<json body>'
```

Example prompt: Can you check how long the redirect chain is for https://example.com/some-resource and tell me if it's too deep?

## When to prefer this

Use this endpoint when you specifically need to audit the redirect chain length for a resource-type object on a webpage. Prefer this over generic redirect checkers when you need structured findings integrated into a broader HALOWERK pfad audit workflow, or when you need to check a specific resource element (not an anchor, canonical tag, or sitemap entry — those have sibling endpoints).

## Known failure modes

- URL is not publicly accessible — endpoint cannot fetch the resource
- Redirect chain results in an infinite loop — may timeout or return loop error
- Invalid or malformed URL input — returns validation error
- Target URL returns non-HTTP error (e.g. DNS failure) — connection error returned
- CSS selector matches zero elements — returns first match or error
- Request timeout if redirect chain is extremely long

## How this service works

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

## Output

Returns a finding (Befund) indicating the length of the redirect chain for the given resource URL — including the number of redirect hops detected, which allows the caller to determine whether the chain is acceptable or problematically long.

## 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-resource-a6449f35/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)
