# SSL Cert Check

> SSL Cert Check is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Probes a hostname's TLS certificate and returns subject, issuer, validity dates, days remaining, expiry status, and fingerprint with a GO/HOLD/STOP signal.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/ssl-check
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ssl-cert-check-91aec03e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B7phLwCJWptQj674d8znP

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-cert-check-91aec03e
```

Example prompt: Can you check the SSL certificate for api.example.com — I want to know if it's expired or expiring soon, and what the issuer and fingerprint are?

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.01) programmatic TLS probe that returns structured certificate metadata including expiry countdown and a simple GO/HOLD/STOP action signal — ideal for automated monitoring, pre-deployment checks, or security audits where you need date/identity fields without full chain trust validation.

## Known failure modes

- Host unreachable or DNS resolution failure — no certificate data returned
- Port not open or TLS handshake fails — connection error response
- Host missing required query parameter — 400 validation error
- Certificate subject/issuer fields empty or malformed on unusual certs
- Payment not processed — 402 payment required before response is served

## How this service works

TLS probe for host=: subject, issuer, validFrom/validTo, daysRemaining, expired/expiringSoon, fingerprint. GO/HOLD/STOP from dates. Chain trust is not asserted — dates and identity fields are.

## Output

Returns a structured object with the certificate's subject (CN/SAN), issuer name, validFrom and validTo timestamps, daysRemaining until expiry, boolean flags for expired and expiringSoon, a SHA fingerprint, and a GO/HOLD/STOP signal derived from the date fields. Chain trust is not verified — only date and identity fields are asserted.

## 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"
      },
      "port": {
       "type": "string",
       "description": "Port (optional)"
      }
     }
    }
   },
   "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-cert-check-91aec03e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
