# Domain OSINT, TLS Certificate & Security Headers Recon

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

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

## Facts

- Endpoint: POST https://agentdiet.dev/v1/subdomain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-12-05
- Activations on Zero: 0
- Provider: agentdiet.dev
- Website: https://agentdiet.dev
- Canonical page: https://www.zero.xyz/c/agentdiet-dev-domain-osint-tls-certificate-security-headers-recon-8a31716b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sBdBkR_dxmBzYKpB1fN72

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 agentdiet-dev-domain-osint-tls-certificate-security-headers-recon-8a31716b -d '<json body>'
```

Example prompt: Can you run a full domain OSINT scan on stripe.com — I want to see its DNS resolution, TLS certificate issuer and expiry date, and HTTP security header grade?

## When to prefer this

Choose this endpoint when you need a combined, single-call OSINT snapshot covering DNS, TLS, and HTTP security headers for a domain — especially useful for security audits, due diligence workflows, certificate expiry monitoring, or competitive infrastructure reconnaissance. Prefer this over manual curl/dig commands or separate DNS/TLS tools when you need structured, agent-consumable output in one step.

## Known failure modes

- Domain does not exist or is unresolvable — DNS lookup fails with NXDOMAIN or similar error
- Domain exists but has no HTTPS — TLS certificate data unavailable
- Connection timeout if the target server is slow or unreachable
- Invalid domain format in request body — validation error returned
- Rate limiting or payment failure via x402 preventing execution

## 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://agentdiet.dev/v1/subdomain-scan)

## Output

Returns live DNS resolution results (IPv4 and IPv6 addresses), TLS certificate metadata (issuer, expiry date, validity status), and an HTTP security header grade reflecting the domain's security posture — all gathered in real time from the target 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/agentdiet-dev-domain-osint-tls-certificate-security-headers-recon-8a31716b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
