# TLS Hostname Match Decision

> TLS Hostname Match Decision is a paid API for AI agents from webschutz.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-02).

Passively evaluates whether a target domain's TLS certificate hostname matches the domain being served, returning a structured verdict with evidence, threshold, and recommended action.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/tls-hostname-match-decision?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tls-hostname-match-decision-8a630c01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SDTyk5soyMhSA8GsK2Up8

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 tls-hostname-match-decision-8a630c01 -d '<json body>'
```

Example prompt: Can you check whether the TLS certificate hostname correctly matches the domain for https://example.com and tell me if there's a mismatch, what the evidence shows, and what action I should take?

## When to prefer this

Use this endpoint when you need a lightweight, passive, per-domain TLS hostname match check that returns a structured verdict with evidence provenance — ideal for security audits, compliance pipelines, or monitoring workflows where you need a machine-readable pass/fail with supporting details rather than a broad certificate analysis tool. Prefer it over generic SSL checkers when you need structured JSON output with an explicit action recommendation consumable by an AI agent or automation pipeline.

## Known failure modes

- Target URL is unreachable or returns a connection error — verdict cannot be determined
- Target uses a private or self-signed certificate that cannot be evaluated passively
- Malformed or non-public target URL causes input validation failure
- Rate limiting or network timeout on the target host prevents evidence retrieval
- Domain resolves but TLS handshake is refused, blocking evidence collection

## How this service works

TLS hostname match decision 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 decision object including: the observed TLS hostname match status, the threshold criterion used for pass/fail, a binary verdict, the exact evidence source (e.g. the certificate CN or SAN fields fetched live), applicable limitations of the passive check, and a mode-specific recommended action — all without performing any login, payload injection, 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/tls-hostname-match-decision-8a630c01/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webschutz.halowerk.com](https://www.zero.xyz/host/webschutz.halowerk.com/llms.txt)
