# Halowerk Language Declaration Audit

> Halowerk Language Declaration Audit is a paid API for AI agents from inhalt.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Passively inspects a public URL to audit whether the page correctly declares its human language (e.g. HTML lang attribute) and returns a verdict with evidence and actionable guidance.

## Facts

- Endpoint: POST https://inhalt.halowerk.com/v1/language-declaration-audit?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-language-declaration-audit-4775517f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gErmD8GT01UMSctzQw_E1

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-language-declaration-audit-4775517f -d '<json body>'
```

Example prompt: Can you do a passive language declaration audit on https://example.com and tell me whether the page correctly declares its language, what evidence was found, and what I should fix?

## When to prefer this

Use this endpoint when you need a lightweight, passive, non-intrusive check specifically for HTML language declaration compliance on a public webpage — particularly for accessibility audits, SEO validation, or content quality monitoring pipelines. Prefer this over general HTML validators when you want a structured verdict with evidence and remediation guidance specifically scoped to language declaration, without any side effects or authenticated access.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status, resulting in an inability to fetch evidence
- Target is behind authentication or a paywall, limiting observable evidence
- Rate limiting or bot protection on the target may block the passive fetch
- Very large pages may hit fetch timeout limits
- Dynamically rendered lang attributes set by JavaScript may not be detected if the page requires JS execution
- Malformed or non-HTTP URLs are rejected at input validation

## How this service works

Language declaration audit fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns a structured report containing: the observation (what was found on the page), the threshold criterion being evaluated, a pass/fail verdict, the exact evidence source (e.g. HTML element or header), known limitations of the passive check, and a mode-specific recommended action — all without performing any login, form submission, or intrusive testing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-language-declaration-audit-4775517f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from inhalt.halowerk.com](https://www.zero.xyz/host/inhalt.halowerk.com/llms.txt)
