# Domain OSINT, TLS Certificate & Security Headers Recon

> Domain OSINT, TLS Certificate & Security Headers Recon is a paid API for AI agents from preflight.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Performs live DNS resolution (IPv4/IPv6), TLS certificate inspection (issuer, expiry), and HTTP security header grading for any domain.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/tls-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-domain-osint-tls-certificate-security-headers-10e3c10f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iuVO-EFXaXHQo3dn7f_b6

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 preflight-agentdiet-dev-domain-osint-tls-certificate-security-headers-10e3c10f -d '<json body>'
```

Example prompt: Can you run a full DNS and TLS recon on stripe.com — I want to see the certificate issuer, expiry date, whether it resolves over IPv6, and how it scores on HTTP security headers?

## When to prefer this

Choose this endpoint when you need a combined DNS + TLS + HTTP security posture snapshot for a domain in a single call, rather than running separate dig, openssl, or curl commands. Ideal for security audits, vendor due diligence, OSINT investigations, or monitoring certificate expiry across domains. Prefer over generic port scanners when you specifically need certificate issuer/expiry and security header grading together.

## Known failure modes

- Domain does not resolve — returns DNS failure or empty address set
- Domain unreachable over HTTPS — TLS scan cannot complete
- Invalid domain format provided — validation error returned
- Payment not processed — HTTP 402 returned if x402 payment header is missing or invalid
- Timeout on slow-responding domains — may return partial results

## How this service works

Inspects live IPv4/IPv6 DNS resolution, TLS certificate issuer/expiry, and HTTP security grade. (Live x402 v2, IETF MPP & MCP endpoint at https://preflight.agentdiet.dev/v1/tls-scanner)

## Output

Returns live DNS resolution results (IPv4 and IPv6 addresses), TLS certificate metadata (issuer, expiry date, validity), and an HTTP security grade based on present/absent security headers (e.g. HSTS, CSP, X-Frame-Options) for the given domain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "domain"
 ],
 "properties": {
  "domain": {
   "type": "string",
   "minLength": 1,
   "description": "Target domain name (e.g. anthropic.com, openai.com) for DNS, TLS certificate, and security header OSINT"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-agentdiet-dev-domain-osint-tls-certificate-security-headers-10e3c10f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
