# TLS Certificate Expiry Decision

> TLS Certificate Expiry 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 inspects a public URL or domain's TLS certificate and returns a verdict on whether its remaining lifetime meets the documented threshold, along with evidence and recommended action.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/tls-certificate-expiry-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-certificate-expiry-decision-d519d9e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2wJYmA7anMgeBm7_oBfrV

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-certificate-expiry-decision-d519d9e4 -d '<json body>'
```

Example prompt: Can you check whether the TLS certificate on api.mycompany.com is at risk of expiring soon and give me a verdict with the exact days remaining and what I should do about it?

## When to prefer this

Use this endpoint when you need an objective, evidence-backed pass/fail verdict on TLS certificate expiry for a specific domain or URL, particularly in automated monitoring pipelines, pre-deployment checks, or vendor audits. It is preferable over generic WHOIS or DNS tools because it performs a live TLS handshake inspection and returns structured decision data with threshold logic, evidence provenance, and an actionable recommendation — not just raw certificate fields. Choose it when you need a defensible, documented verdict rather than a raw data dump.

## Known failure modes

- Target domain unreachable or DNS resolution fails — returns an error with no verdict
- Target serves no TLS certificate (plain HTTP) — returns evidence of missing HTTPS rather than expiry verdict
- Certificate is self-signed or uses a non-standard CA — may return observation but with noted limitations
- Malformed or extremely short target URL input — validation error returned
- Rate limiting or connectivity issues from the inspection infrastructure — transient error returned

## How this service works

Certificate lifetime remaining 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 response containing: the observed certificate expiry date, the number of days remaining, the configured threshold for the verdict, a pass/fail decision, the exact evidence source (e.g. the TLS handshake), any known limitations of the passive check, and a mode-specific recommended action (e.g. renew now, monitor, or no action needed). The check is entirely passive — no login, payload injection, or active exploit is performed.

## 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-certificate-expiry-decision-d519d9e4/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)
