# SSL Certificate Check

> SSL Certificate Check is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Retrieves TLS/SSL certificate details for a domain, including validity, issuer, expiry, SANs, TLS version, and cipher suite.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/web/ssl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ssl-certificate-check-906d7b52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xdgYcfIqhusOn3Tu3Ucy2

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 ssl-certificate-check-906d7b52
```

Example prompt: Can you check the SSL certificate for stripe.com — I want to know if it's valid, who issued it, when it expires, how many days are left, and what TLS version it's using?

## When to prefer this

Use this endpoint when you need detailed TLS certificate metadata for a specific domain — especially for expiry monitoring, security audits, or verifying certificate configuration. Prefer this over generic HTTPS reachability checks when you need issuer, SAN list, cipher, or TLS version details. Supports non-standard ports for mail and LDAP servers.

## Known failure modes

- Domain does not exist or is unreachable — connection error returned
- Domain has no TLS/SSL certificate configured — connection refused or handshake failure
- Invalid port specified — only 443, 8443, 465, 993, 995, or 636 are supported
- Certificate is expired or self-signed — still returns data but validity flag will be false
- Timeout if the domain is slow to respond

## How this service works

TLS certificate of a domain: whether it is valid, issuer, subject, valid-from and expiry dates, days left, all SAN hostnames, TLS version and cipher. Use for uptime/expiry monitoring or security checks.

## Output

Returns whether the TLS certificate is valid, the issuer and subject details, the valid-from and expiry dates, the number of days remaining, all Subject Alternative Name (SAN) hostnames covered by the certificate, the TLS protocol version negotiated, and the cipher suite in use.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "port": {
       "type": "integer",
       "description": "443 (default), 8443, 465, 993, 995 or 636"
      },
      "domain": {
       "type": "string",
       "description": "Domain name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ssl-certificate-check-906d7b52/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
