# 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-10-21).

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

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/dns-recon?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-b9460f48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mwALTm8jPazkDjArgkSrE

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-b9460f48
```

Example prompt: Can you run a full DNS and TLS recon on openai.com — I want to see its IPv4/IPv6 addresses, who issued the SSL certificate and when it expires, and what its HTTP security header grade looks like?

## When to prefer this

Choose this endpoint when you need a quick, live, single-call OSINT sweep combining DNS, TLS certificate, and HTTP security header data for a domain — especially useful for security due diligence, certificate expiry checks, or infrastructure recon without standing up your own tooling. Prefer this over manual dig/curl or separate certificate transparency tools when you want a unified result in one API call.

## Known failure modes

- Domain does not exist or fails DNS resolution — returns empty or error response
- Target domain has no HTTPS/TLS — TLS fields may be null or absent
- Unreachable host or firewall blocking probe — may return timeout or partial results
- Malformed domain input (e.g. missing TLD) — returns validation error
- Transient network errors during live probe — may require retry

## 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 and IPv6 addresses), TLS certificate metadata (issuer name, expiry date), and an HTTP security header grade/analysis for the queried 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/onchain-risk-agentdiet-dev-domain-osint-tls-certificate-security-b9460f48/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)
