# HALOWERK sprach – Page Declared Document Language Check

> HALOWERK sprach – Page Declared Document 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 on a webpage (seite) object and returns a verification finding.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/lang/seite?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-page-declared-document-language-check-1ee64cb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TMb2DWmzWp_WcZu6WAnhX

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-page-declared-document-language-check-1ee64cb3 -d '<json body>'
```

Example prompt: Can you check whether the page at https://example.com/de/impressum properly declares its document language in the HTML?

## When to prefer this

Use this endpoint when you need to verify the declared document language specifically on a webpage (seite) object — such as auditing HTML lang attributes for SEO compliance or internationalization correctness. Prefer this over generic language detection tools when the goal is to check what language a page *declares* itself to be (not what language the content *is* written in).

## Known failure modes

- URL is not publicly accessible (private/intranet URLs) — returns error or empty result
- CSS selector matches zero or multiple elements — first match used or error returned
- Malformed or non-HTTP URL input — validation error
- Target page returns non-200 HTTP status — inspection may fail or return status error
- Page has no HTML lang attribute — finding returns absence of declaration

## How this service works

Prüft am Objekt seite den Befund deklarierte Dokumentsprache.

## Output

Returns a structured finding indicating whether the target webpage (seite) has a declared document language, what that language value is, and whether the declaration is present and valid according to web standards.

## 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-page-declared-document-language-check-1ee64cb3/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)
