# VendSDK TLS Certificate Inspector

> VendSDK TLS Certificate Inspector is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Retrieves TLS peer certificate subject, issuer, expiry, and authorization status for a given public hostname

## Facts

- Endpoint: GET https://vendsdk.com/api/v/tls-cert
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-tls-certificate-inspector-b032eadc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lE6f1sYDX2DyH_ND0EL_3

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 vendsdk-tls-certificate-inspector-b032eadc
```

Example prompt: Can you check the TLS certificate for api.stripe.com — I want to know who issued it, what the subject is, and how many days until it expires?

## When to prefer this

Use this endpoint when you need lightweight, per-call TLS certificate inspection without setting up your own network probes. Ideal for security agents, uptime monitors, and brand-protection workflows that need certificate subject, issuer, expiry, and authorization status in a single call. Prefer this over generic HTTP fetch endpoints when TLS metadata specifically is required, and over full bundle endpoints (DNS+TLS+WHOIS) when you only need the certificate layer.

## Known failure modes

- Host unreachable or DNS resolution failure — endpoint returns an error or non-ok response
- Invalid hostname format — malformed input may result in a 400-level error
- Port not open or TLS not supported on specified port — connection refused or timeout
- Self-signed or untrusted certificate — authorized field returns false
- Rate limiting or payment failure — 402 or 429 response if quota exceeded

## How this service works

TLS peer certificate subject, issuer, expiry, and authorization status for a public host

## Output

Returns a JSON object with the hostname, service name, whether the certificate is authorized (boolean), days until expiry (number), and a boolean ok field indicating overall health of the certificate. Allows agents to assess certificate validity, issuer trust, and expiry risk for any public host.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string",
       "description": "Hostname e.g. example.com"
      },
      "port": {
       "type": "string",
       "description": "443 (default) or 8443"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "host": {
       "type": "string"
      },
      "service": {
       "type": "string"
      },
      "authorized": {
       "type": "boolean"
      },
      "days_until_expiry": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vendsdk-tls-certificate-inspector-b032eadc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vendsdk.com](https://www.zero.xyz/host/vendsdk.com/llms.txt)
