# HALOWERK pfad – Redirect Loop Detection (Alternate)

> HALOWERK pfad – Redirect Loop Detection (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 whether an alternate URL target is involved in a redirect loop, returning the detection finding.

## Facts

- Endpoint: POST https://pfad.halowerk.com/v1/pruef/pfad/schleife/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-redirect-loop-detection-alternate-a19f663d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xex9SmOtVV0uJLPbvWDK_

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-loop-detection-alternate-a19f663d -d '<json body>'
```

Example prompt: Can you check if the alternate URL https://example.com/en-gb/page is stuck in a redirect loop? I want to know if there's a looping redirect on that alternate target.

## When to prefer this

Use this endpoint specifically when you need to check the 'alternate' link object for redirect loop findings — not for general page redirects, canonical redirect checks, or sitemap targets. It is purpose-built for alternate URL redirect loop detection (e.g., hreflang alternate targets) and pairs with sibling endpoints for other object types like navigation, sitemap-ziel, or weiterleitung.

## Known failure modes

- Invalid or unreachable URL returns an error finding
- URL exceeds 2048 character limit — rejected with validation error
- CSS selector matches zero elements — first match fallback or error
- Non-public or private IP address rejected
- Malformed user_agent pattern causes schema validation failure
- Target server timeout leads to inconclusive or error result

## How this service works

Prüft am Objekt alternate den Befund vorhandene Weiterleitungsschleife.

## Output

Returns a structured finding indicating whether a redirect loop was detected on the alternate object of the given URL. The response includes the detection verdict (loop present or absent) and relevant diagnostic details about the alternate target's redirect chain.

## 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-loop-detection-alternate-a19f663d/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)
