# x402.forgemesh.io Certificate Expiry Checker

> x402.forgemesh.io Certificate Expiry Checker is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Checks a domain's TLS/SSL certificate and returns its issuer, subject, validity dates, and exact days remaining (or overdue) before expiration

## Facts

- Endpoint: POST https://x402.forgemesh.io/cert-expiry-checker
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-certificate-expiry-checker-0c7f9392
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XXEvo2lzei-Jb9YgY1nSY

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 x402-forgemesh-io-certificate-expiry-checker-0c7f9392 -d '<json body>'
```

Example prompt: Check when the SSL certificate for github.com expires — I need the issuer, the valid-from and valid-until dates, and exactly how many days are left before it runs out.

## When to prefer this

Use this endpoint when you need machine-readable TLS certificate expiry metadata for any domain, especially in renewal-reminder workflows, cron-based monitoring, uptime dashboards, or security audits. It handles already-expired and validation-failing certificates gracefully, making it more robust than browser-based checks.

## Known failure modes

- Domain does not exist or is unreachable — connection timeout or DNS failure
- Domain has no TLS/SSL certificate configured — no certificate data returned
- Malformed hostname input — validation error
- Network error reaching the target host on port 443
- Certificate already expired — still returns data but days-remaining will be negative

## How this service works

Certificate expiration checker: point it at any domain and get back its certificate's issuer, subject, valid-from and valid-until dates, and exactly how many days remain before it expires, even for certificates that are already expired or fail validation. Built for renewal-reminder cron jobs, uptime monitors, and security audits that can't afford a surprise lapse.

## Output

Returns the certificate's issuer name, subject, valid-from date, valid-until date, and the precise number of days remaining until expiration (negative if already expired), even for certificates that fail validation or have already lapsed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "hostname, e.g. example.com"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "issuer": "DigiCert Inc",
  "authorized": true,
  "days_until_expiry": 143
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-certificate-expiry-checker-0c7f9392/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
