# HALOWERK sprach – hreflang Gebietskennung prüfen

> HALOWERK sprach – hreflang Gebietskennung 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-23).

Validates the declared region/locale identifier (hreflang territory tag) on an hreflang element of a given URL.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/gebiet/hreflang?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-sprach-hreflang-gebietskennung-pr-fen-5a817e7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_37L6JKiPHW9S9yUnhMssk

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-gebietskennung-pr-fen-5a817e7e -d '<json body>'
```

Example prompt: Can you check whether the hreflang tags on https://example.com/en-us/ have correctly declared region/territory identifiers — I want to make sure the country codes are valid?

## When to prefer this

Use this endpoint when you need to specifically validate the region/territory portion of hreflang alternate-language declarations on a web page. It is narrowly focused on hreflang territory identifiers (e.g. checking that 'en-US' has a valid country code 'US'), complementing sibling checks for charset encoding, x-default references, and document language declarations. Prefer it over generic SEO crawlers when you need a precise, automated, per-URL hreflang geo-targeting audit with structured output.

## Known failure modes

- URL not publicly reachable — endpoint cannot fetch target page
- Malformed or missing hreflang elements — no object to inspect
- CSS selector matches zero elements — no hreflang node found
- Invalid ziel input — URL exceeds 2048 characters or is empty
- Network timeout accessing the target URL
- Target page requires authentication — returns 403 or redirect

## How this service works

Prüft am Objekt hreflang den Befund deklarierte Gebietskennung.

## Output

Returns a validation finding indicating whether the hreflang attribute on the target page correctly declares a valid region/territory identifier (e.g. a proper ISO 3166-1 country code as part of the hreflang value), along with details of any detected issues.

## 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-gebietskennung-pr-fen-5a817e7e/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)
