# HALOWERK sprach – HTML-Element Charset Check

> HALOWERK sprach – HTML-Element Charset 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 character encoding (charset) on the HTML element of a given web page URL.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/charset/html-element?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-html-element-charset-check-7dded5bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MqA3Iy3dC8QOPK18enoXF

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-html-element-charset-check-7dded5bb -d '<json body>'
```

Example prompt: Can you check the declared character encoding in the HTML element of https://example.com and tell me what charset it declares?

## When to prefer this

Use this endpoint when you need to specifically verify the charset declaration within the HTML element of a webpage, as opposed to checking charset in HTTP headers, meta tags, or other page objects. It is best suited for targeted, per-URL charset auditing within an automated QA, SEO, or internationalization workflow.

## Known failure modes

- URL is not publicly reachable (network error or non-200 status)
- Target URL returns no HTML element or malformed HTML
- CSS selector returns no matching element or multiple elements (first match used)
- URL exceeds maximum length of 2048 characters
- Character encoding declaration is absent (finding reflects absence)
- Request times out for slow or large pages

## How this service works

Prüft am Objekt html-element den Befund deklarierte Zeichenkodierung.

## Output

Returns a finding about the charset declared in the HTML element of the target web page, including whether a charset is present and what value it has. The response follows the HALOWERK sprach audit structure indicating the inspection result for the character encoding declaration.

## 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-html-element-charset-check-7dded5bb/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)
