# HALOWERK sprach – hreflang Dokumentsprache prüfen

> HALOWERK sprach – hreflang Dokumentsprache prüfen is a paid API for AI agents from sprach.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-18).

Checks the declared document language on a webpage's hreflang attributes and validates whether it matches the actual page language.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/lang/hreflang?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-sprach-hreflang-dokumentsprache-pr-fen-57ccf1a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q6Pon5dQ0G7HdX5eJU-re

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-sprach-hreflang-dokumentsprache-pr-fen-57ccf1a4 -d '<json body>'
```

Example prompt: Can you check whether the hreflang language declarations on https://example.com/en/ are correct and actually match the declared document language?

## When to prefer this

Use this endpoint when you specifically need to validate the declared document language within hreflang attributes on a webpage, particularly for multilingual SEO audits, pre-launch internationalization checks, or diagnosing language declaration mismatches. It is more targeted than a full hreflang suite check — focusing solely on the declared language finding rather than backlinks, encoding, or x-default references.

## Known failure modes

- URL is not publicly accessible (non-200 HTTP response)
- No hreflang attribute found on the target page or selected element
- CSS selector matches zero elements or is invalid
- URL exceeds 2048 character limit
- Target page blocks crawlers via robots.txt or firewall
- Network timeout or DNS resolution failure

## How this service works

Prüft am Objekt hreflang den Befund deklarierte Dokumentsprache.

## Output

Returns a structured validation finding (Befund) for the hreflang attribute on the target URL, indicating whether the declared document language is correct, what language was declared, and any discrepancies detected.

## 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-sprach-hreflang-dokumentsprache-pr-fen-57ccf1a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sprach.halowerk.com](https://www.zero.xyz/host/sprach.halowerk.com/llms.txt)
