# StatePulse SSL Expiry Checker

> StatePulse SSL Expiry Checker is a paid API for AI agents from statepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Checks the SSL/TLS certificate expiry status of a given domain, returning expiration date, days remaining, and whether the certificate has expired.

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/network/ssl-expiry
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-ssl-expiry-checker-981b463a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FGv0zdWfCn-1aNLmimc4U

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 statepulse-ssl-expiry-checker-981b463a -d '<json body>'
```

Example prompt: Can you check the SSL certificate for stripe.com and tell me how many days are left before it expires?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically verify SSL certificate health for any domain without requiring an API key, particularly in monitoring, alerting, or security audit workflows. Costs only $0.01 USDC per call via x402 on Base, making it suitable for frequent automated checks.

## Known failure modes

- Domain does not exist or is unreachable — result may show unsupported or low confidence
- Domain has no SSL certificate — may return expired or unsupported
- Network timeout reaching the target domain
- Malformed domain input — validation error or unexpected result
- Certificate chain issues may affect accuracy of expiry data

## How this service works

Extracts certificate validity dates and expiration countdown for a domain using CertSpotter logs.

## Output

Returns a JSON object with the domain, a boolean indicating whether the certificate has expired, the certificate's not-after (expiration) date in ISO 8601 format, the number of days remaining until expiry, and a confidence level for the result.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "domain": "google.com",
   "expired": false,
   "not_after": "2026-09-14T00:00:00.000Z",
   "days_remaining": 81
  },
  "supported": true,
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-ssl-expiry-checker-981b463a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from statepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/statepulse-api.hahavoid0.workers.dev/llms.txt)
