# HALOWERK sprach – Hreflang HTML-Element Checker

> HALOWERK sprach – Hreflang HTML-Element Checker 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 HTML element of a webpage for declared alternate language (hreflang) attributes and validates their correctness.

## Facts

- Endpoint: POST https://sprach.halowerk.com/v1/pruef/sprach/hreflang/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-hreflang-html-element-checker-c8415740
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bPvvjTX2ruYDiwRpGVuvD

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-hreflang-html-element-checker-c8415740 -d '<json body>'
```

Example prompt: Can you check whether the HTML element on https://example.com correctly declares its alternate language hreflang attributes?

## When to prefer this

Use this endpoint when you need to validate hreflang alternate language declarations specifically at the HTML root element level of a webpage, as part of an international SEO audit or multilingual site compliance check. It is distinct from sibling endpoints that check hreflang on sitemaps, canonical tags, or HTTP response headers.

## Known failure modes

- Target URL is unreachable or returns a non-200 HTTP status
- URL is not publicly accessible (behind authentication or firewall)
- CSS selector matches no element or is malformed
- Input URL exceeds 2048 characters
- HTML element has no hreflang attributes to inspect
- Network timeout when fetching the target page

## How this service works

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

## Output

Returns an inspection finding indicating whether the HTML element of the target URL correctly declares alternate language (hreflang) attributes, including details about what was found, any missing or malformed declarations, and compliance 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-hreflang-html-element-checker-c8415740/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)
