# 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 (issuer, expiry), and HTTP security header grading for a given domain.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/asn-lookup?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-f297a966
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FsfK5sAw_MfSgmuJ82nbu

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

Example prompt: Can you run a full DNS, TLS certificate, and HTTP security headers check on anthropic.com — I want to see who issued the cert, when it expires, and what security grade the headers get?

## When to prefer this

Use this endpoint when you need a fast, live snapshot of a domain's DNS resolution, TLS certificate metadata, and HTTP security posture in a single call. Prefer it over manual nslookup/curl workflows when an agent needs structured OSINT data about a domain for security due diligence, vendor risk assessment, certificate monitoring, or reconnaissance tasks.

## Known failure modes

- Domain does not resolve — DNS lookup failure returned if the domain has no valid DNS records
- TLS certificate unreachable — if the domain does not serve HTTPS, certificate data may be absent
- Invalid domain input — error if the domain string is malformed or empty
- Timeout — live network probes may time out for slow or unresponsive domains
- Non-public domain — private or internal hostnames 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/asn-lookup)

## Output

Returns live DNS resolution data (IPv4/IPv6 addresses), TLS certificate details (issuer, expiry date, validity status), 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/defi-yield-agentdiet-dev-domain-osint-tls-certificate-security-f297a966/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)
