# HTML Content-Type Audit

> HTML Content-Type Audit is a paid API for AI agents from seo.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Passively fetches a public URL and audits whether it serves the correct HTML content-type header, returning a verdict, evidence, threshold, limitations, and recommended action.

## Facts

- Endpoint: POST https://seo.halowerk.com/v1/html-content-type-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/html-content-type-audit-7cc6ff9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mxm4UY8vwy1NUp_RSPzD2

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 html-content-type-audit-7cc6ff9e -d '<json body>'
```

Example prompt: Can you do a passive HTML content-type audit on https://www.example.com and tell me whether its content-type header is correct for SEO purposes, including the verdict, evidence, and any recommended fix?

## When to prefer this

Use this endpoint when you need a lightweight, non-destructive, single-URL check of the HTML content-type HTTP header for SEO compliance purposes. It is ideal for pre-launch checks, regression monitoring, or diagnosing crawl/indexing issues without any risk of side effects. Prefer it over full site crawlers when you need a fast, cheap, per-URL audit with structured verdict output rather than a broad site-wide scan.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status, resulting in an inability to fetch evidence
- Bare domain normalization to HTTPS fails if the site does not support HTTPS
- Redirect chains may cause the audit to evaluate an intermediate URL rather than the final destination
- Rate limiting or bot-blocking by the target site may prevent header retrieval
- Paywalled or authentication-gated pages cannot be inspected passively

## How this service works

HTML content type 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 observed content-type header value, the expected threshold, a pass/fail verdict, the exact evidence source (URL and response data), any known limitations of the passive check, and a mode-specific recommended action to remediate failures — without performing any login, injection, or destructive test.

## 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/html-content-type-audit-7cc6ff9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from seo.halowerk.com](https://www.zero.xyz/host/seo.halowerk.com/llms.txt)
