# Domain OSINT, TLS Certificate & Security Headers Recon

> Domain OSINT, TLS Certificate & Security Headers Recon is a paid API for AI agents from onchain-risk.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 a target domain.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/dns-recon?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-domain-osint-tls-certificate-security-0a809785
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3FUqZUmJfnW0mTvw4tH6d

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 onchain-risk-agentdiet-dev-domain-osint-tls-certificate-security-0a809785 -d '<json body>'
```

Example prompt: Can you check the DNS records, TLS certificate details, and HTTP security headers for anthropic.com — I want to know who issued their cert, when it expires, and whether they have proper security headers in place?

## When to prefer this

Choose this endpoint when you need a live, multi-signal security snapshot of a domain combining DNS, TLS, and HTTP header data in a single call — particularly useful for security OSINT, due diligence workflows, certificate expiry checks, or assessing whether a domain follows modern web security practices. Prefer this over generic DNS lookup tools when TLS and HTTP security header context is also required.

## Known failure modes

- Domain does not exist or fails DNS resolution — returns error or empty DNS records
- Target host is unreachable or times out during live probing — may return partial results
- Domain resolves but serves no HTTPS — TLS certificate data absent
- Invalid domain format provided — validation error returned
- Rate limiting or payment failure (HTTP 402) if USDC micropayment not processed

## 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://onchain-risk.agentdiet.dev/v1/dns-recon)

## Output

Returns live DNS resolution results (IPv4/IPv6 addresses), TLS certificate metadata (issuer, expiry date, validity status), and an HTTP security header assessment including presence and grade of headers such as HSTS, CSP, X-Frame-Options, and related directives.

## 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/onchain-risk-agentdiet-dev-domain-osint-tls-certificate-security-0a809785/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
