# HALOWERK sprach – Sitemap Declared Language Check

> HALOWERK sprach – Sitemap Declared Language Check 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).

Checks the declared document language of a sitemap object via hreflang/lang attributes and reports validation findings.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/lang/sitemap?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-sitemap-declared-language-check-e1ee15dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e9TDMZy_JZWQGqxnJuQg4

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-sitemap-declared-language-check-e1ee15dd -d '<json body>'
```

Example prompt: Can you check my sitemap at https://example.com/sitemap.xml and verify whether the declared document language is correctly specified?

## When to prefer this

Use this endpoint when you specifically need to validate the declared document language in a sitemap (XML sitemap or sitemap index), as part of an SEO audit, internationalization compliance check, or multilingual site validation workflow. Prefer this over generic crawl or SEO tools when you need a focused, per-object language declaration check with structured findings.

## Known failure modes

- Sitemap URL is not publicly accessible (non-200 HTTP status)
- Target URL exceeds 2048 character limit
- Sitemap is malformed XML and cannot be parsed
- CSS selector matches no element or is ambiguous
- Comparison address is unreachable
- Rate limiting or payment failure (x402 protocol error)

## How this service works

Prüft am Objekt sitemap den Befund deklarierte Dokumentsprache.

## Output

Returns a structured finding indicating whether the sitemap object has a correctly declared document language, including details about the detected language declaration, any mismatches or missing attributes, and the overall validation status.

## 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-sitemap-declared-language-check-e1ee15dd/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)
