# HALOWERK pfad – Alternate Fragment Target Check

> HALOWERK pfad – Alternate Fragment Target 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 whether an 'alternate' HTML element on a given URL contains a valid fragment target (anchor).

## Facts

- Endpoint: POST https://pfad.halowerk.com/v1/pruef/pfad/fragment/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-alternate-fragment-target-check-816f4eb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7k7rqPE3hmx8QFjh0iSdv

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-alternate-fragment-target-check-816f4eb1 -d '<json body>'
```

Example prompt: Check the page at https://example.com/blog and tell me whether any of its alternate link elements have a fragment target — use the CSS selector 'link[rel="alternate"]' to target them specifically.

## When to prefer this

Use this endpoint when you need to specifically validate whether 'alternate' HTML link elements on a page contain fragment targets (anchor hashes) — particularly useful during SEO audits, hreflang validation, or automated site health checks. Prefer this over generic link checkers when the focus is precisely on alternate-element fragment inspection.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status
- CSS selector matches zero elements, returning no result
- The target URL is private or behind authentication, blocking access
- Malformed URL input causes validation error
- Rate limiting or network timeout during page fetch
- Fragment resolution fails due to JavaScript-rendered content

## How this service works

Prüft am Objekt alternate den Befund vorhandenes Fragmentziel.

## Output

Returns a finding (Befund) indicating whether the 'alternate' object at the given URL contains a fragment target — including presence/absence of the fragment, the inspected element details, and the resolved target URL.

## 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-alternate-fragment-target-check-816f4eb1/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)
