# DataBG SSL Certificate Checker

> DataBG SSL Certificate Checker is a paid API for AI agents from api.databg.tech, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Looks up and returns SSL/TLS certificate details for a given domain, including validity, issuer, expiry, and SAN entries

## Facts

- Endpoint: POST https://api.databg.tech/v1/tools/ssl
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/databg-ssl-certificate-checker-52b7a811
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Tu9Cvp_cMsVe6EdqtynW

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 databg-ssl-certificate-checker-52b7a811 -d '<json body>'
```

Example prompt: Can you check the SSL certificate for stripe.com — is it currently valid, who issued it, and how many days until it expires?

## When to prefer this

Use this endpoint when you need structured, machine-readable SSL certificate metadata for a single domain — especially in agent workflows that need to check cert validity, monitor expiration, or audit third-party domains. Prefer this over generic HTTPS probes when you need SAN lists, issuer details, or exact expiry timestamps in a parseable format.

## Known failure modes

- Domain has no SSL certificate — certificate_found returns false
- Domain does not exist or is unreachable — success may return false
- Certificate is expired — valid_now returns false with 0 or negative days_remaining
- Malformed domain input — likely a 400/422 error
- Transient network error reaching the domain — may return null for certificate fields

## How this service works

Global structured data and machine-payable tools built for AI agents, developers and intelligent applications.

## Output

Returns a JSON object with: whether a certificate was found and is currently valid, the domain checked, issuer, subject, common name, valid_from and valid_until dates, days remaining before expiry, serial number, certificate ID, a list of Subject Alternative Names (SANs), the data source, and a timestamp of when the check was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "domain"
 ],
 "properties": {
  "domain": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "san": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "domain": {
   "type": "string"
  },
  "issuer": {
   "type": [
    "string",
    "null"
   ]
  },
  "source": {
   "type": "string"
  },
  "subject": {
   "type": [
    "string",
    "null"
   ]
  },
  "success": {
   "type": "boolean"
  },
  "valid_now": {
   "type": "boolean"
  },
  "checked_at": {
   "type": "string",
   "format": "date-time"
  },
  "valid_from": {
   "type": [
    "string",
    "null"
   ]
  },
  "common_name": {
   "type": [
    "string",
    "null"
   ]
  },
  "valid_until": {
   "type": [
    "string",
    "null"
   ]
  },
  "serial_number": {
   "type": [
    "string",
    "null"
   ]
  },
  "certificate_id": {
   "type": [
    "string",
    "null"
   ]
  },
  "days_remaining": {
   "type": [
    "integer",
    "null"
   ]
  },
  "certificate_found": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/databg-ssl-certificate-checker-52b7a811/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.databg.tech](https://www.zero.xyz/host/api.databg.tech/llms.txt)
