SSL Check

Inspect the TLS certificate for any hostname. Returns subject, issuer, expiry dates, days remaining, and subject alternative names.

GET /api/ssl-check

Try it

{
  "ok": true,
  "hostname": "example.com",
  "normalizedHostname": "example.com",
  "certificate": {
    "valid": true,
    "subject": "CN=example.com",
    "issuer": "DigiCert Inc",
    "valid_from": "2026-01-01T00:00:00.000Z",
    "valid_to": "2026-12-31T23:59:59.000Z",
    "days_remaining": 271,
    "sans": ["example.com", "www.example.com"]
  },
  "meta": {
    "lookupTimeMs": 84,
    "cached": false,
    "rateLimitedScope": "global"
  },
  "error": null
}

What it returns

Use cases

Quick API examples

curl

curl "https://tinyutils.dev/api/ssl-check?hostname=example.com"

JavaScript (fetch)

const res = await fetch(
  "https://tinyutils.dev/api/ssl-check?hostname=example.com"
);
const data = await res.json();
console.log(data.certificate.valid);
console.log(data.certificate.days_remaining);