# util.beauty Net Certs — TLS/SSL Certificate Lookup

> util.beauty Net Certs — TLS/SSL Certificate Lookup is a paid API for AI agents from util.beauty, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Retrieves TLS/SSL certificate details for a given hostname or domain via a metered HTTP API.

## Facts

- Endpoint: POST https://util.beauty/v1/net/certs
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/util-beauty-net-certs-tls-ssl-certificate-lookup-d8614e72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5QnZqPyMySsCJWjyJez-y

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 util-beauty-net-certs-tls-ssl-certificate-lookup-d8614e72 -d '<json body>'
```

Example prompt: Can you pull the TLS certificate details for api.example.com — I want to see the issuer, expiry date, and any subject alternative names listed on the cert?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-use TLS certificate inspection without managing your own OpenSSL tooling or a dedicated certificate monitoring service. Ideal for AI agents doing one-off security checks, pre-deployment audits, or enriching domain records with live certificate data. Prefer this over browser-based SSL checkers when you need structured JSON output suitable for downstream automation.

## Known failure modes

- Host unreachable or connection refused — certificate cannot be fetched
- Domain does not exist (NXDOMAIN) — returns error or empty cert data
- Self-signed or untrusted certificate may return partial data or an error
- Invalid input hostname format — returns validation error
- Payment failure (insufficient USDC or API key balance) — 402 response, request not executed
- Timeout if remote host is slow to respond on port 443

## How this service works

Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.

## Output

A JSON response containing the TLS/SSL certificate details for the queried host, including fields such as issuer, subject, subject alternative names, validity period (not-before/not-after), certificate chain, and fingerprint. The envelope also includes ok (boolean), utility name, requestId, and chargedCredits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "description": "JSON request body (see OpenAPI for the utility schema).",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "utility": {
       "type": "string"
      },
      "requestId": {
       "type": "string"
      },
      "chargedCredits": {
       "type": "number"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "utility": "…",
  "requestId": "req_…",
  "chargedCredits": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/util-beauty-net-certs-tls-ssl-certificate-lookup-d8614e72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from util.beauty](https://www.zero.xyz/host/util.beauty/llms.txt)
