# Domain OSINT, TLS Certificate & Security Headers Recon

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/asn-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: defi-yield.agentdiet.dev
- Website: https://defi-yield.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/defi-yield-agentdiet-dev-domain-osint-tls-certificate-security-ce178e08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ROT53t1kTM0a8pIebYTt

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 defi-yield-agentdiet-dev-domain-osint-tls-certificate-security-ce178e08 -d '<json body>'
```

Example prompt: Can you run a full domain OSINT scan on anthropic.com — I want to see the live DNS resolution for IPv4 and IPv6, who issued the TLS certificate and when it expires, and how the HTTP security headers grade out?

## When to prefer this

Choose this endpoint when you need a live, real-time snapshot of a domain's DNS resolution, TLS certificate health, and HTTP security posture in a single call. It is ideal for security auditing, vendor due diligence, OSINT reconnaissance workflows, or monitoring certificate expiry — especially when you need IPv6 resolution alongside IPv4 and a security headers grade rather than just a basic ping or whois lookup.

## Known failure modes

- Domain does not exist or fails DNS resolution — returns resolution error
- Domain is unreachable or times out during TLS handshake — returns connection error
- Domain has no HTTPS/TLS configured — TLS fields may be null or absent
- Malformed domain input (e.g. missing TLD, spaces) — returns validation error
- Rate limiting or payment failure — returns 402 or 429 status

## 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://defi-yield.agentdiet.dev/v1/asn-lookup)

## Output

Returns a structured object containing live IPv4 and IPv6 DNS resolution results, TLS certificate metadata (issuer, expiry date, validity status), and an HTTP security header grade reflecting the presence or absence of headers like HSTS, CSP, X-Frame-Options, and similar security controls.

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