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

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

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/tls-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-256aa97f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kE1olhXWyvg81OCY6Ohvn

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-256aa97f
```

Example prompt: Can you scan anthropic.com and tell me its DNS resolution (IPv4 and IPv6), who issued its TLS certificate, when it expires, and how its HTTP security headers grade?

## When to prefer this

Use this endpoint when you need a quick, live OSINT snapshot of a domain's DNS, TLS certificate, and HTTP security headers in a single call — ideal for security audits, vendor due diligence, certificate expiry monitoring, or pre-deployment checks. Prefer it over manual lookups or separate DNS/TLS tools when you need structured, machine-readable output for agent workflows.

## Known failure modes

- Domain does not exist or fails DNS resolution — returns error or empty DNS result
- Domain has no TLS/HTTPS — certificate fields may be null or absent
- Network timeout reaching the target domain — returns timeout error
- Invalid domain input (e.g. URL instead of hostname) — returns validation error
- Domain actively blocks scanning probes — may return incomplete data

## 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/tls-scanner)

## Output

Returns live DNS resolution results including IPv4 and IPv6 addresses, TLS certificate details such as issuer CA and expiration date, and an HTTP security header grade reflecting the presence or absence of headers like HSTS, CSP, X-Frame-Options, and others.

## 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-256aa97f/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)
