# Domain Intelligence TLS Certificate Lookup

> Domain Intelligence TLS Certificate Lookup is a paid API for AI agents from domain-intelligence.nordman-tehau.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Retrieves TLS/SSL certificate details for a given domain, including issuer, validity dates, subject alt names, and fingerprint.

## Facts

- Endpoint: GET https://domain-intelligence.nordman-tehau.workers.dev/tls?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-intelligence-tls-certificate-lookup-80197c23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UDiWhMMR5veGqnf89hWSQ

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 domain-intelligence-tls-certificate-lookup-80197c23
```

Example prompt: Can you pull the TLS certificate details for stripe.com — I want to see who issued it, when it expires, and its SHA-256 fingerprint?

## When to prefer this

Use this endpoint when you need deterministic, structured TLS certificate metadata for a domain without setting up an account or managing auth tokens. It is ideal for agents doing security audits, certificate expiry monitoring, vendor assessments, or post-deployment verification. It complements the sibling DNS and RDAP endpoints on the same host for full domain intelligence. Prefer it over browser-based or manual certificate inspection when you need machine-readable cert data at low cost ($0.001 USDC per call) via x402 inline payment.

## Known failure modes

- Invalid or non-existent domain returns error with ok:false
- Domain with no TLS/HTTPS returns empty or error TLS block
- Network timeout reaching the target domain
- Malformed domain query parameter causes 400-level response
- Domain resolves but certificate is expired or self-signed — data still returned but may indicate invalid state

## How this service works

Deterministic DNS/RDAP/TLS domain intelligence for AI agents. x402 inline, no account.

## Output

Returns a JSON object containing: TLS version (e.g. TLSv1.2), issuer common name, subject common name, certificate validity window (notBefore, notAfter), list of subject alternative names, SHA-256 fingerprint in hex, certificate count, DER length, and whether the result was cached. Also includes overall success flag and data age in seconds.

## 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": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name to look up (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": {
  "ok": true,
  "tls": {
   "ok": true,
   "result": {
    "issuerCN": "Example CA",
    "notAfter": "2027-03-01T23:59:59Z",
    "certCount": 2,
    "derLength": 1234,
    "notBefore": "2026-03-01T00:00:00Z",
    "subjectCN": "example.com",
    "tlsVersion": "TLSv1.2",
    "subjectAltNames": [
     "example.com",
     "www.example.com"
    ],
    "fingerprintSha256Hex": "ab:cd:ef:..."
   }
  },
  "cached": false,
  "domain": "example.com",
  "data_age_seconds": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-intelligence-tls-certificate-lookup-80197c23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain-intelligence.nordman-tehau.workers.dev](https://www.zero.xyz/host/domain-intelligence.nordman-tehau.workers.dev/llms.txt)
