SSL Certificate Lookup Code Examples
Domain Intelligence and AnalysisReady-to-run SSL Certificate Lookup calls. Replace YOUR_API_KEY with the key from your dashboard.
SSL Certificate Lookup — Code Samples
cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/domain/ssl \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain_name":"google.com"}'
Expected Response — 200
{
"status": "SUCCESS",
"status_code": 200,
"charged": true,
"success": true,
"message": "",
"message_code": "OK",
"order_id": "W2A1739512345abcdef01",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"domain_name": "google.com",
"certificates": [
{
"chain_order": "end_user",
"authentication_type": "domain",
"valid_from": "2026-06-29 08:37:25 UTC",
"valid_to": "2026-09-21 08:37:24 UTC",
"serial_number": "02:b0:c1:99:b5:f2:ff:96:09:5e:3c:86:1a:f4:2b:ee",
"signature_algorithm": "SHA256-RSA",
"subject": {
"common_name": "*.google.com",
"organization": ""
},
"issuer": {
"common_name": "WR2",
"organization": "Google Trust Services",
"country": "US"
},
"public_key": {
"algorithm": "ECDSA",
"size": "256 bit"
},
"key_usages": [
"digital_signature"
],
"extended_key_usages": [
"server_auth"
],
"san_dns_names": [
"*.google.com",
"google.com",
"*.youtube.com"
]
}
],
"queried_at": "2026-08-04 13:32:43"
}
}
}