# OrionCMD Batch Certificate & Domain Expiry Check

> OrionCMD Batch Certificate & Domain Expiry Check is a paid API for AI agents from api.orioncmd.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-12-03).

Returns SSL certificate and domain registration expiry details (days remaining, expiry dates, ok/warn/expired status) for up to 5 domains in a single call.

## Facts

- Endpoint: GET https://api.orioncmd.com/v1/expiry/batch?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orioncmd-batch-certificate-domain-expiry-check-10f4e554
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y65_xo2E-Ibyrjl6pCWE1

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 orioncmd-batch-certificate-domain-expiry-check-10f4e554
```

Example prompt: Can you check the SSL certificate and domain registration expiry for example.com, mysite.org, and mybusiness.net — tell me how many days are left and whether each one is ok, warning, or expired?

## When to prefer this

Use this endpoint when you need to check SSL certificate AND domain registration expiry together for multiple domains (2–5) efficiently in a single API call, rather than making separate per-domain requests. Prefer this over the single-domain expiry endpoint when monitoring a portfolio of domains. Choose this over the broader security audit endpoints when you only need expiry/status data without full DNS, header, or threat analysis.

## Known failure modes

- Missing or fewer than 2 domains in the query parameter returns a validation error
- More than 5 domains supplied returns an error (batch limit exceeded)
- Malformed domain names (e.g. missing TLD) may return an error or null result for that domain
- WHOIS/RDAP unavailable for certain TLDs may result in missing registration expiry data
- Payment failure or insufficient USDC balance returns a 402 Payment Required error

## How this service works

OrionCMD Checks: Certificate and domain-registration expiry for up to 5 domains in one call. Certificate and domain-registration expiry for up to 5 domains in one call: days left, expiry dates and an ok/warn/expired status per domain. $0.04 USDC on Base.

## Output

Returns per-domain objects containing: days remaining until certificate expiry, certificate expiry date, certificate status (ok/warn/expired), days remaining until domain registration expiry, domain registration expiry date, registration status (ok/warn/expired). Covers up to 5 domains per call.

## 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": [
      "domains"
     ],
     "properties": {
      "domains": {
       "type": "string",
       "description": "2 to 5 comma-separated domains, e.g. example.com,example.org"
      }
     }
    }
   },
   "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/orioncmd-batch-certificate-domain-expiry-check-10f4e554/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.orioncmd.com](https://www.zero.xyz/host/api.orioncmd.com/llms.txt)
