/v1/check
Full certificate details for a domain
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/sslcheck-api/v1/check" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sslcheck-api/v1/check", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sslcheck-api/v1/check");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/sslcheck-api/v1/check",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"certificate": {
"port": 443,
"domain": "github.com",
"issuer": {
"common_name": "Sectigo Public Server Authentication CA DV E36",
"organization": "Sectigo Limited"
},
"expired": false,
"subject": {
"common_name": "github.com",
"organization": null
},
"key_bits": 256,
"valid_to": "2026-08-02T23:59:59.000Z",
"valid_from": "2026-05-05T00:00:00.000Z",
"chain_error": null,
"self_signed": false,
"tls_protocol": "TLSv1.3",
"chain_trusted": true,
"not_yet_valid": false,
"serial_number": "E7CECC3B13FB3B7B8A46EA8CD0AEB71C",
"days_remaining": 63,
"subject_alt_names": [
"github.com",
"www.github.com"
],
"fingerprint_sha256": "A7:B8:10:34:CD:43:95:51:C5:0A:29:B5:43:55:25:4A:84:94:2A:0A:99:0C:1A:9E:12:85:6C:85:5B:64:B6:5F"
}
},
"meta": {
"timestamp": "2026-05-31T11:14:11.369Z",
"request_id": "7b0203c0-d89b-4ed1-94ff-48d095c6e455"
},
"status": "ok",
"message": "Certificate checked",
"success": true
}