# DomainAudit TLS Inspector

> DomainAudit TLS Inspector is a paid API for AI agents from domainaudit.genexxis.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-04).

Performs a live TLS handshake check on a given hostname's port 443, returning protocol version, cipher suite, certificate details, chain trust, hostname match, SAN count, expiry status, and legacy TLS acceptance flags.

## Facts

- Endpoint: GET https://domainaudit.genexxis.com/tls?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domainaudit-tls-inspector-cec797f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MLjoVGE9SbRwLimqCr-3P

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 domainaudit-tls-inspector-cec797f9
```

Example prompt: Can you check the TLS setup for api.mycompany.com — I want to know what protocol and cipher it's using, whether the certificate is trusted and matches the hostname, and how many days are left before it expires?

## When to prefer this

Choose this endpoint when you need a live, real-time TLS handshake probe of a specific hostname — especially when you need granular certificate metadata (subject, issuer, SANs, days left), protocol/cipher negotiation details, and legacy TLS acceptance flags in a single call. Prefer it over general SSL checkers when you need machine-readable output for automated monitoring pipelines, expiry alerting, or compliance verification against TLS 1.2+ requirements.

## Known failure modes

- Host unreachable or no TLS listener on port 443 — connection refused or timeout
- Invalid or malformed hostname input — validation error returned
- Self-signed or untrusted certificate chain — authorized: false with chain error detail
- Certificate subject/SAN does not match hostname — hostnameMatch: false
- Server supports only very old TLS versions causing handshake incompatibility

## How this service works

TLS check on port 443: negotiated protocol and cipher, certificate subject, issuer, validity dates, days left, SANs, chain trust, hostname match, legacy TLS 1.0/1.1 acceptance, with flags for expiry < 21 days and TLS < 1.2.

## Output

Returns a JSON object with: the queried hostname, negotiated TLS protocol (e.g. TLSv1.3), cipher suite (e.g. TLS_AES_256_GCM_SHA384), certificate subject CN, issuer organization, validity start/end dates, days remaining until expiry, SAN count, chain authorization status (true/false), hostname match status (true/false), and a flags array that will include warnings such as 'EXPIRY_SOON' (< 21 days) or 'LEGACY_TLS_ACCEPTED' (TLS 1.0/1.1 supported).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string",
       "description": "Hostname, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "host": "example.com",
  "flags": [],
  "cipher": "TLS_AES_256_GCM_SHA384",
  "protocol": "TLSv1.3",
  "authorized": true,
  "certificate": {
   "issuerO": "Example CA",
   "validTo": "2027-01-15T23:59:59.000Z",
   "daysLeft": 83,
   "sanCount": 2,
   "subjectCN": "example.com"
  },
  "hostnameMatch": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domainaudit-tls-inspector-cec797f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domainaudit.genexxis.com](https://www.zero.xyz/host/domainaudit.genexxis.com/llms.txt)
