# agentdiet-ssl-audit

> agentdiet-ssl-audit 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).

Performs live DNS resolution, TLS certificate inspection, and HTTP security header analysis for a given domain

## Facts

- Endpoint: GET https://agentdiet.dev/v1/ssl-audit?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-ssl-audit-a03368df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jD9JITyuQ-1tIxsvor7MN

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-ssl-audit-a03368df
```

Example prompt: Can you audit the SSL certificate and HTTP security headers for stripe.com — I want to know who issued the cert, when it expires, and what security grade the headers get?

## When to prefer this

Choose this endpoint when you need a quick, combined OSINT snapshot of a domain's DNS posture, TLS certificate health, and HTTP security headers in a single call — particularly useful for security audits, vendor assessments, pre-deployment checks, and certificate expiry monitoring without spinning up your own scanning infrastructure.

## Known failure modes

- Domain does not exist or fails DNS resolution — returns resolution error
- Domain has no HTTPS/TLS — cert fields may be null or absent
- Connection timeout if the target host is unreachable
- Invalid domain format in query param — returns validation error
- Domain resolves but security headers endpoint returns non-200 — partial results possible

## 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/ssl-audit)

## Output

Returns live DNS resolution results (IPv4 and IPv6 addresses), TLS certificate details (issuer, validity dates, days until expiry), HTTP security header presence and an overall security grade for the inspected 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-ssl-audit-a03368df/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)
