# BRAINIAC Email Domain TLS Inspector

> BRAINIAC Email Domain TLS Inspector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Inspects TLS/SSL certificate details and mail-related DNS configuration for a given email domain, returning certificate validity, protocol, issuer, hostname matching, and MX record presence.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/email-domain/tls-inspect?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-email-domain-tls-inspector-0035553b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Od_zijJyL4PBirtYqKcSy

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 brainiac-email-domain-tls-inspector-0035553b -d '<json body>'
```

Example prompt: Can you inspect the TLS certificate and mail configuration for the domain protonmail.com and tell me whether the certificate is valid, who issued it, when it expires, and whether the hostname matches?

## When to prefer this

Use this endpoint when you need a lightweight, no-account-required TLS certificate inspection for an email domain, especially in automated agent workflows where you want to verify certificate validity, issuer trust, protocol version, and hostname matching without sending a test email or performing a full mailbox probe. Prefer this over manual certificate lookups or heavier security scanning tools when speed, cost-efficiency ($0.05 per call), and pay-per-use billing via x402/USDC are priorities.

## Known failure modes

- Domain does not exist or has no TLS certificate — may return empty or error status
- Certificate transparency lookup fails (crt.sh unavailable) — ctStatus set to 'unavailable' but live cert result still returned
- Domain name exceeds 253 characters or is empty — validation error
- Network timeout reaching the domain's mail server — partial results or error
- Domain resolves to private/loopback/link-local IP — not contacted, flagged in limitations

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with the domain's TLS certificate subject, issuer, validity window (validFrom/validTo), TLS protocol version, SANs (names array), hostname match status, whether the domain sends mail, certificate transparency lookup status, any security findings, and a checkedAt timestamp. Also includes a limitations array describing what was not tested (e.g., no test message sent, no mailbox login attempted).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "maxLength": 253,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "names": [
   "gmail.com",
   "*.gmail.com"
  ],
  "domain": "gmail.com",
  "issuer": "WE2",
  "status": "present",
  "subject": "gmail.com",
  "validTo": "Dec 30 19:09:05 2026 GMT",
  "ctStatus": "unavailable",
  "findings": [],
  "protocol": "TLSv1.3",
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "sendsMail": false,
  "validFrom": "Oct  7 19:09:06 2026 GMT",
  "limitations": [
   "No test message is sent and no mailbox login is attempted.",
   "Syntax and MX records do not show that a mailbox exists.",
   "A reputation verdict is unavailable unless a public unauthenticated source provides one.",
   "Private, loopback, and link-local addresses are not contacted.",
   "Certificate transparency data is read from crt.sh without authentication. A failed transparency lookup does not change the live certificate result."
  ],
  "certificates": [],
  "mailboxChecked": false,
  "hostnameMatches": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-email-domain-tls-inspector-0035553b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
