# AgentDiet TLS Scanner

> AgentDiet TLS Scanner is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Inspects a domain's live DNS resolution (IPv4/IPv6), TLS certificate details (issuer, expiry), and HTTP security headers to produce a security grade.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/tls-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-tls-scanner-d3abc0b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CGf13t34TItmFoEmUcuBj

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 agentdiet-tls-scanner-d3abc0b6
```

Example prompt: Can you scan example.com and tell me its TLS certificate issuer, expiry date, whether it resolves over IPv6, and what HTTP security grade it gets?

## When to prefer this

Use this endpoint when you need a quick, combined OSINT snapshot of a domain's DNS resolution, TLS certificate health, and HTTP security posture in a single call. Prefer it over raw DNS lookup tools when you also need certificate and header data, and over full vulnerability scanners when you need a lightweight, fast check rather than a deep security audit.

## Known failure modes

- Domain does not exist or fails to resolve — returns DNS lookup failure
- Domain is unreachable or times out — returns connection error
- Domain has no TLS certificate (HTTP only) — TLS fields may be null or absent
- Invalid domain format in query parameter — returns validation error
- Domain exists but returns no HTTP response headers — security grade may be unavailable

## 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://agentdiet.dev/v1/tls-scanner)

## Output

Returns live DNS resolution results (IPv4 and IPv6 addresses), TLS certificate details including issuer and expiry date, HTTP security header analysis, and an overall HTTP security grade 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/agentdiet-tls-scanner-d3abc0b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
