# TrustSource SSL/TLS Certificate Intelligence

> TrustSource SSL/TLS Certificate Intelligence is a paid API for AI agents from api.trustsource.cc, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Analyzes a domain's SSL/TLS certificate and returns a 0–100 trust score, tier classification, chain details, expiry info, signature algorithm, TLS protocol version, and cipher quality.

## Facts

- Endpoint: GET https://api.trustsource.cc/sslcheck
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-trustsource-cc-e4b912b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5qxWbIXCKdFoDxe2fuZ4_

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-trustsource-cc-e4b912b7
```

Example prompt: Can you check the SSL certificate health for stripe.com — I want to know the trust score, whether it's flagged as VALID or something worse, when it expires, and how strong the TLS protocol and cipher are?

## When to prefer this

Use this endpoint when you need structured, scored SSL/TLS certificate intelligence about a domain — specifically when you need the tier classification (VALID/WEAK/EXPIRING/EXPIRED/UNTRUSTED/INVALID), expiry awareness, cipher quality, and TLS protocol version all in a single call. Prefer this over generic WHOIS or HTTP header checks when the focus is certificate chain integrity and TLS configuration quality.

## Known failure modes

- Domain not reachable or does not serve HTTPS — may return INVALID tier or error
- Domain has no SSL certificate at all — returns INVALID or UNTRUSTED tier
- Malformed domain input — likely returns a 400-level validation error
- Network timeout reaching the target domain — may return an error or null score
- Self-signed certificates flagged as UNTRUSTED with low score

## How this service works

Check whether a domain's TLS/SSL certificate is valid, trusted, and not expiring before connecting to it. Performs a live handshake and returns a 0–100 score and tier (VALID/WEAK/EXPIRING/EXPIRED/UNTRUSTED/INVALID) with chain trust, days-to-expiry, signature algorithm, TLS version, and cipher quality. Use before submitting credentials, posting to a webhook, or following a payment link, to catch expired, self-signed, or MITM-risk certificates.

## Output

Returns a 0–100 SSL/TLS trust score, a tier label (VALID, WEAK, EXPIRING, EXPIRED, UNTRUSTED, or INVALID), full certificate chain details, expiry timestamp, signature algorithm, TLS protocol version in use, and an assessment of cipher suite quality.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "domain": "google.com"
  }
 }
}
```

## 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": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain to perform a live TLS handshake against (e.g. example.com); port 443 is assumed."
      }
     }
    }
   },
   "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/api-trustsource-cc-e4b912b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustsource.cc](https://www.zero.xyz/host/api.trustsource.cc/llms.txt)
