services / ssl-check
utilityoperational · 17 ms
SSL Certificate Check
Inspect SSL/TLS certificate for any domain. Returns valid boolean, days_remaining, issuer, valid_from, valid_to, subject_alt_names (SANs), fingerprint_sha256, and protocol version. Default port 443. Use for certificate expiry monitoring, security audits, or HTTPS verification.
Run free trial ↗3 free calls per day with the example input. Paid: $0.002 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| domain * | string | Domain to check SSL for (e.g. 'github.com', 'api.example.com'). Do not include https:// |
| port | integer = 443 | Port to check (default: 443) |
Output
| Field | Type | Description |
|---|---|---|
| domain | string | The checked domain |
| port | integer | The port that was checked |
| valid | boolean | true if certificate is currently valid and not expired |
| subject | string | Certificate subject (CN=...) |
| subject_alt_names | array | Subject Alternative Names the cert is valid for |
| issuer | string | Certificate issuer organization |
| valid_from | string | Certificate valid-from date (ISO 8601) |
| valid_to | string | Certificate expiry date (ISO 8601) |
| days_remaining | integer | Number of days until certificate expires (negative = already expired) |
| serial_number | string | Certificate serial number (hex) |
| fingerprint_sha256 | string | SHA-256 fingerprint of the certificate |
| protocol | string | TLS protocol version in use (e.g. TLSv1.3) |
Example response (data)
{
"domain": "github.com",
"port": 443,
"valid": true,
"subject": "CN=github.com",
"subject_alt_names": [
"github.com",
"www.github.com"
],
"issuer": "DigiCert Inc",
"valid_from": "2024-03-07T00:00:00.000Z",
"valid_to": "2025-03-07T23:59:59.000Z",
"days_remaining": 156,
"serial_number": "0a:bc:12:...",
"fingerprint_sha256": "AB:CD:EF:...",
"protocol": "TLSv1.3"
}