# certificate-sans

> certificate-sans is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns all Subject Alternative Names (SANs) from the most recent TLS certificate for a domain, sourced from certificate-transparency logs, including issuer, validity window, and days remaining.

## Facts

- Endpoint: GET https://intel.rallylive.ca/monitor/cert-chain-sans
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/certificate-sans-4a6d10e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wOEAYbTwNyU-AuhNq9loo

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 certificate-sans-4a6d10e4
```

Example prompt: What hostnames are covered by the current TLS certificate for rallylive.ca — show me all the SANs, any wildcards, who issued it, and how many days until it expires?

## When to prefer this

Choose this endpoint when you need to enumerate all hostnames covered by a domain's active TLS certificate, discover sibling services or staging environments, verify certificate issuer and expiry, or perform infrastructure reconnaissance using certificate transparency data. It is purpose-built for CT-log-sourced SAN extraction at $0.01 per call, making it cost-effective for bulk domain inspection compared to manually parsing CT log APIs.

## Known failure modes

- Domain has no certificate logged in CT logs — returns empty or not-found result
- Domain typo or invalid hostname — may return error or no data
- Certificate transparency log delay — newest cert may lag behind actual deployment by minutes
- Private/internal CAs not logged to public CT logs — those certs won't appear
- Rate limiting or payment failure — 402 response if x402 payment not attached

## How this service works

Subject Alternative Names of the newest certificate for a domain from certificate-transparency logs: every hostname the current cert covers, wildcard flags, issuer, validity window and days left. Reveals sibling services, staging hosts and shared certs. $0.01 per domain.

## Output

A structured object containing all SAN hostnames listed in the domain's current TLS certificate (from CT logs), wildcard coverage flags, the certificate issuer (CA name), the validity window (not-before and not-after dates), and the number of days remaining before expiry.

## 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",
     "properties": {}
    }
   },
   "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/certificate-sans-4a6d10e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
