
SSL Certificate Checker API
Security
Check any website's SSL/TLS certificate: whether it is trusted, covers the domain and is in date, plus the issuer, expiry, TLS version and full chain.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
20 requests per minute
Endpoints
1 endpoint available
Overview
Open a TLS connection to a public host and report on the certificate it presents: whether the chain is trusted, whether it covers the hostname, when it expires, who issued it, the key type and size, the names it covers, and every certificate in the chain the server sent.
Notes
- Send fields as query parameters (GET) or in a JSON body (POST).
hostcan be a bare domain,example.com:8443or a URL. An explicitportwins over a port inhost; the default is 443.- Works for any service that starts TLS straight away (HTTPS, IMAPS 993, POP3S 995, SMTPS 465, LDAPS 636). STARTTLS ports such as SMTP 25 or 587 are not supported.
- Hostnames that resolve to private, loopback, link-local or other reserved addresses are refused. The connection goes to the vetted IP with SNI set to the hostname. Timeout is 8 seconds.
- Untrusted or mismatched certificates are reported, not rejected: check
trusted,trustError,hostnameMatchesandhostnameError. chainstarts with the leaf certificate.daysRemainingis negative once a certificate has expired.
Endpoints
GET
https://opentools.ca/api/v1/tools/ssl-checkerCheck the TLS certificate a host presents. POST with the same fields in a JSON body also works.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| host | string | Required | Domain to check, e.g. example.com, example.com:8443 or https://example.com. Max 300 characters. |
| port | number | Optional | Port to connect to, 1-65535.Default: 443 |
Response Example
{
"success": true,
"host": "example.com",
"port": 443,
"ip": "93.184.215.14",
"checkedAt": "2026-11-25T15:04:05.000Z",
"protocol": "TLSv1.3",
"cipher": "TLS_AES_256_GCM_SHA384",
"trusted": true,
"trustError": null,
"hostnameMatches": true,
"hostnameError": null,
"chain": [
{
"subject": "*.example.com",
"subjectOrg": "Internet Corporation for Assigned Names and Numbers",
"issuer": "DigiCert Global G3 TLS ECC SHA384 2020 CA1",
"issuerOrg": "DigiCert Inc",
"validFrom": "2026-01-15T00:00:00.000Z",
"validTo": "2027-01-15T23:59:59.000Z",
"daysRemaining": 51,
"serialNumber": "0AD893BAFA68B0B7FB7A404F06ECAF9A",
"fingerprint256": "31:0D:B7:AF:4B:2B:C9:04:0C:83:44:70:1A:CA:08:D0:C6:93:81:E3:...",
"keyType": "ec",
"keyBits": 256,
"curve": "prime256v1",
"altNames": [
"*.example.com",
"example.com"
],
"isCa": false,
"selfSigned": false
},
{
"subject": "DigiCert Global G3 TLS ECC SHA384 2020 CA1",
"subjectOrg": "DigiCert Inc",
"issuer": "DigiCert Global Root G3",
"issuerOrg": "DigiCert Inc",
"validFrom": "2021-04-14T00:00:00.000Z",
"validTo": "2031-04-13T23:59:59.000Z",
"daysRemaining": 1600,
"serialNumber": "0B00E92D4D6D731FCA3059C7CB1E1886",
"fingerprint256": "...",
"keyType": "ec",
"keyBits": 384,
"curve": "secp384r1",
"altNames": [],
"isCa": true,
"selfSigned": false
}
]
}Error Codes
400
Invalid host or port, or the host points to a private or reserved address401
Missing or invalid API key403
API key inactive, expired, or not allowed from this IP404
The domain does not exist or has no IP addresses429
Rate limit exceeded500
Internal server error502
Connection refused or reset, the port does not speak TLS, or no certificate was sent504
The host did not answer in timeCode Examples
curl "https://opentools.ca/api/v1/tools/ssl-checker?host=example.com&port=443" \
-H "Authorization: Bearer YOUR_API_KEY"Rather use it in your browser? Open the SSL Certificate Checker