# the402.ai SSL Certificate Check

> the402.ai SSL Certificate Check is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Checks the SSL certificate status of a given domain, returning validity, expiry, and trust chain details

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_57204171ad264d9a/purchase
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-434a59e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eHfVJr3zJMtvVYIRcCnUC

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 api-the402-ai-434a59e1 -d '<json body>'
```

Example prompt: Can you check the SSL certificate for example.com — is it valid, who issued it, and when does it expire?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call SSL certificate validity and expiry check without provisioning your own TLS scanning infrastructure. Ideal for AI agents monitoring domain health, auditing third-party vendor certificates, or checking prior to establishing secure connections. Cost-effective at $0.002 per call for infrequent or ad-hoc checks.

## Known failure modes

- Domain does not exist or is unreachable — returns error or empty result
- Domain has no SSL certificate — returns not-found or plain HTTP flag
- Payment of $0.002 USDC not completed — request rejected with 402 status
- Malformed domain input — returns validation error
- Timeout reaching domain — returns connectivity error

## How this service works

Purchase: SSL Certificate Check

## Output

Returns SSL certificate details for the queried domain, including validity status, expiry date, issuing authority, and trust chain information. Useful for detecting expired, self-signed, or untrusted certificates.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-434a59e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
