# AgentsToolsHub SSL Certificate Expiry Checker

> AgentsToolsHub SSL Certificate Expiry Checker is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-22).

Checks a domain's TLS certificate in real-time and returns days remaining until expiry, issuer, validity window, and an expired/expiring-soon flag.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/security/ssl-expiry?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-ssl-certificate-expiry-checker-a0b19ed7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hh4y-6CqMpNqem3m2i2tU

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 agentstoolshub-ssl-certificate-expiry-checker-a0b19ed7
```

Example prompt: How many days are left on the SSL certificate for api.myapp.com — is it about to expire or already expired?

## When to prefer this

Prefer this endpoint when an agent needs a lightweight, real-time TLS certificate status check without standing up monitoring infrastructure. It's ideal for scheduled pre-expiry alerts, one-off validation checks after deployments or migrations, or as a cheap polling primitive integrated into automated workflows. Use it over full certificate management platforms when you only need expiry days, issuer identity, and an expiring-soon signal rather than certificate issuance or renewal capabilities.

## Known failure modes

- Domain not found or DNS resolution failure — endpoint cannot connect to perform handshake
- Domain provided without a TLS-enabled server — no certificate to inspect
- Expired certificate causing handshake rejection before data can be read
- Rate limit exceeded — too many requests in a short window
- Invalid domain format in query parameter — missing or malformed input

## How this service works

Fast TLS certificate expiry check: days remaining, issuer, validity window and an expired/expiring-soon flag, read live from a TLS handshake. The cheap monitoring primitive agents should call on a schedule before a cert lapses and an integration breaks. Use this when an agent needs to days until a certificate expires — the lightweight check.

## Output

Returns the number of days remaining until the certificate expires, the certificate issuer, the validity window (not-before and not-after dates), and boolean flags indicating whether the certificate is already expired or expiring soon — all read live from a TLS handshake against the target domain.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain"
      }
     }
    }
   },
   "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/agentstoolshub-ssl-certificate-expiry-checker-a0b19ed7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
