# HALOWERK sprach – HTTP-Antwort deklarierte Dokumentsprache prüfen

> HALOWERK sprach – HTTP-Antwort deklarierte 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-23).

Checks the declared document language of an HTTP response object for a given URL.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/lang/http-antwort?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-http-antwort-deklarierte-dokumentsprache-pr-fen-9f327364
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VWm3AFQupfuSxXIDPXpve

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-http-antwort-deklarierte-dokumentsprache-pr-fen-9f327364 -d '<json body>'
```

Example prompt: Can you check what declared document language is set in the HTTP response for https://example.com and tell me if the lang attribute is correctly declared?

## When to prefer this

Use this endpoint when you specifically need to check the declared document language (e.g. HTML lang attribute) present in an HTTP response from a live URL, as opposed to checking language from title elements, link tags, or sitemaps. It is ideal for automated SEO audits, accessibility checks, and internationalization QA pipelines where the HTTP-level language declaration is the focus.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — finding may be empty or error returned
- URL is not publicly accessible (private/intranet) — request fails with connection error
- Malformed or missing lang declaration — finding may indicate absence of declaration
- CSS selector matches no element — first match fallback or empty result
- Invalid URL format — input validation error returned

## How this service works

Prüft am Objekt http-antwort den Befund deklarierte Dokumentsprache.

## Output

Returns a structured finding indicating the declared document language extracted from the HTTP response (e.g. the HTML lang attribute or Content-Language header value), along with validation status and any relevant details about the language declaration found at the 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-sprach-http-antwort-deklarierte-dokumentsprache-pr-fen-9f327364/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)
