Overview
An SSL certificate API for expiry monitoring and domain audits. SSL Checker works by fetching the live SSL certificate of the website provided and returning its details — issuer, subject, validity dates and key strength — along with derived checks computed from the certificate: current validity, days until expiry, an expiring-soon flag, and self-signed detection.
Live Test SSL Certificate Checker API →
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/sslchecker?domain=ebay.com" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/sslchecker?domain=ebay.com', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/sslchecker?domain=ebay.com",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/sslchecker?domain=ebay.com", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
domainRequired | string | The domain of the website to check the SSL certificate of domain |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"subject": {
"C": "US",
"ST": "California",
"O": "eBay, Inc.",
"CN": "ebay.com"
},
"issuer": {
"C": "GB",
"O": "Sectigo Limited",
"CN": "Sectigo Public Server Authentication CA OV R36"
},
"subjectaltname": "DNS:ebay.com, DNS:befr.ebay.be, DNS:benl.ebay.be, DNS:cafr.ebay.ca, DNS:e-bay.it, DNS:ebay.at, DNS:ebay.be, DNS:ebay.ca, DNS:ebay.ch, DNS:ebay.co.uk, DNS:ebay.com.au, DNS:ebay.com.hk, DNS:ebay.com.my, DNS:ebay.com.sg, DNS:ebay.de, DNS:ebay.es, DNS:ebay.fr, DNS:ebay.ie, DNS:ebay.in, DNS:ebay.it, DNS:ebay.nl, DNS:ebay.ph, DNS:ebay.pl, DNS:ebay.us, DNS:ebay.vn, DNS:wwww.ebay.co.uk, DNS:wwww.ebay.com, DNS:wwww.ebay.com.au, DNS:wwww.ebay.de, DNS:wwww.ebay.in, DNS:wwww.ebay.it",
"infoAccess": {
"CA Issuers - URI": [
"http://crt.sectigo.com/SectigoPublicServerAuthenticationCAOVR36.crt"
],
"OCSP - URI": [
"http://ocsp.sectigo.com"
]
},
"ca": false,
"bits": 2048,
"valid_from": "Jul 28 00:00:00 2025 GMT",
"valid_to": "Jul 28 23:59:59 2026 GMT",
"serialNumber": "99F408949A6416EDC3B8F5EC77B2EBE5",
"domain": "ebay.com",
"isExpired": false,
"isValid": true,
"daysUntilExpiry": 20,
"isExpiringSoon": true,
"isSelfSigned": false
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
subjectPremium | object | {...} | Certificate subject information including country, state, organization, and common name |
CPremium | string | "US" | Country code of the certificate subject |
STPremium | string | "California" | State or province of the certificate subject |
OPremium | string | "eBay, Inc." | Organization name of the certificate subject |
CNPremium | string | "ebay.com" | Common name of the certificate subject domain |
issuerPremium | object | {...} | Certificate issuing authority information including country, organization, and common name |
CPremium | string | "GB" | Country code of the certificate issuer |
OPremium | string | "Sectigo Limited" | Organization name of the certificate issuing authority |
CNPremium | string | "Sectigo Public Server Authentication CA OV R36" | Common name of the certificate authority |
subjectaltnamePremium | string | "DNS:ebay.com, DNS:befr.ebay.be, DNS:benl.ebay.be, DNS:cafr.ebay.ca, DNS:e-bay.it, DNS:ebay.at, DNS:ebay.be, DNS:ebay.ca, DNS:ebay.ch, DNS:ebay.co.uk, DNS:ebay.com.au, DNS:ebay.com.hk, DNS:ebay.com.my, DNS:ebay.com.sg, DNS:ebay.de, DNS:ebay.es, DNS:ebay.fr, DNS:ebay.ie, DNS:ebay.in, DNS:ebay.it, DNS:ebay.nl, DNS:ebay.ph, DNS:ebay.pl, DNS:ebay.us, DNS:ebay.vn, DNS:wwww.ebay.co.uk, DNS:wwww.ebay.com, DNS:wwww.ebay.com.au, DNS:wwww.ebay.de, DNS:wwww.ebay.in, DNS:wwww.ebay.it" | Alternative subject names included in the certificate |
infoAccessPremium | object | {...} | Information access extension with CA issuers and OCSP URIs |
CA Issuers - URIPremium | array | [http://crt.sectigo.com/SectigoPublicServerAuthenticationCAOVR36.crt] | URLs to CA issuer certificates for validation |
OCSP - URIPremium | array | [http://ocsp.sectigo.com] | Online Certificate Status Protocol URLs for validation |
ca | boolean | false | Indicates if certificate is a certificate authority |
bits | number | 2048 | Key size in bits representing certificate strength |
valid_from | string | "Jul 28 00:00:00 2025 GMT" | Certificate validity start date and time in GMT |
valid_to | string | "Jul 28 23:59:59 2026 GMT" | Certificate validity end date and time in GMT |
serialNumberPremium | string | "99F408949A6416EDC3B8F5EC77B2EBE5" | Unique serial number of the SSL certificate |
domain | string | "ebay.com" | Domain name the certificate was checked for |
isExpired | boolean | false | Whether the certificate is past its valid_to date |
isValid | boolean | true | Whether the current time is within the certificate's validity window (valid_from to valid_to) |
daysUntilExpiryPremium | number | 20 | Whole days until the certificate expires (negative if already expired) |
isExpiringSoonPremium | boolean | true | Whether the certificate expires within the next 30 days |
isSelfSignedPremium | boolean | false | Whether the certificate is self-signed (subject and issuer are the same entity), which browsers do not trust |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Start from a template
A working app built on this API, ready to deploy with your own key. Vercel asks for the key when you deploy; the code is on GitHub to change first.
SSL Certificate Checker
Check whether a site’s SSL certificate is valid and when it expires.
- Python
- Flask
Use cases
- Expiring Certificate Alerts
- DevOps teams check domain validity dates daily to send renewal alerts before certificates expire and cause browser warnings.
- Customer Domain Audits
- When clients point custom hostnames to a SaaS platform, automated onboarding scripts verify validity status and key strength before activating traffic.
- Weak Cipher Detection
- Flag outdated configurations across corporate web properties by checking whether deployed certificates meet minimum encryption key bit lengths.
- Partner Domain Verification
- To prevent broken checkouts, e-commerce marketplaces inspect partner payment gateways to confirm validity windows before routing shopper transactions.
Other ways to use SSL Certificate Checker
Set up SSL Certificate Checker on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Domain Data:
