x402

SSL Certificate Check (x402)

Check a domain's SSL/TLS certificate. Returns issuer, validity dates, days until expiry, protocol version, cipher, and SAN entries.

get/x402/v2/ssl-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/ssl-check
  • Auth: none required

Query parameters

domainstring required

Domain name (e.g. example.com)

Response

Success

validboolean
domainstring
issuerstring
valid_tostring
is_expiredboolean
days_until_expiryinteger

Example response

{
  "valid": false,
  "domain": "expired.badssl.com",
  "issuer": "COMODO CA Limited",
  "subject": "*.badssl.com",
  "protocol": "TLSv1.2",
  "valid_to": "2015-04-12T23:59:59.000Z",
  "is_expired": true,
  "valid_from": "2015-04-09T00:00:00.000Z",
  "cipher_name": "ECDHE-RSA-AES128-GCM-SHA256",
  "serial_number": "4AE79549FA9ABE3F100F17A478E16909",
  "cipher_version": "TLSv1.2",
  "is_expiring_soon": false,
  "days_until_expiry": -4009,
  "subject_alt_names": [
    "*.badssl.com",
    "badssl.com"
  ],
  "fingerprint_sha256": "BA:10:5C:E0:2B:AC:76:88:8E:CE:E4:7C:D4:EB:79:41:65:3E:9A:C9:93:B6:1B:2E:B3:DC:C8:20:14:D2:1B:4F"
}

Changes

No recorded changes to this operation across all 1 revision of this API.