# HALOWERK sprach – Textblock Declared Language Check

> HALOWERK sprach – Textblock 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 a text block object on a webpage for its declared document language (lang attribute/HTTP header).

## Facts

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

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

Example prompt: Can you check whether the main text block on https://example.com/about correctly declares its document language — use the CSS selector '#main-content' to target the specific block?

## When to prefer this

Use this endpoint when you need to specifically validate the declared language attribute on a text block element of a webpage, particularly for international SEO auditing, multilingual accessibility compliance, or verifying that localized content deployments correctly set language declarations on body text. Prefer this over generic scraping or SEO tools when you need a structured, per-object language audit result with minimal cost per check.

## Known failure modes

- URL is not publicly accessible (private or firewalled host)
- CSS selector matches no element or matches more than one element ambiguously
- Target URL returns non-200 HTTP status
- Text block has no language declaration at all (finding: missing)
- Network timeout when fetching the target URL
- Invalid or malformed URL provided

## How this service works

Prüft am Objekt textblock den Befund deklarierte Dokumentsprache.

## Output

Returns a finding (Befund) indicating whether the targeted text block on the given URL has a declared document language, what language is declared, and whether it is correctly set. Typically includes a pass/fail status and details about the lang attribute or HTTP content-language header found on the text block element.

## 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-textblock-declared-language-check-ba2c3684/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)
