GET /v1/tools/sslhttps://api.cludz.net/v1/tools/ssl
Get details about a domain's SSL certificate, including validity and expiration.
Query Parameters:
| Parameter | Required | Description | Type |
|---|---|---|---|
domain | Yes | The domain name to check. | string |
curl "https://api.cludz.net/v1/tools/ssl?domain=google.com" \
-H "Authorization: Bearer YOUR_API_KEY"
const res = await fetch('https://api.cludz.net/v1/tools/ssl?domain=google.com', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await res.json();
const res = await fetch('https://api.cludz.net/v1/tools/ssl?domain=google.com', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await res.json();
import requests
url = "https://api.cludz.net/v1/tools/ssl"
params = {"domain": "google.com"}
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get(url, headers=headers, params=params)
data = response.json()
{
"statusCode": 200,
"statusMessage": "OK",
"message": "SSL Info retrieved",
"data": {
"valid": true,
"authorized": true,
"subject": {
"CN": "*.google.com",
"O": "Google LLC",
"L": "Mountain View",
"ST": "California",
"C": "US"
},
"issuer": {
"CN": "GTS CA 1C3",
"O": "Google Trust Services LLC",
"C": "US"
},
"validFrom": "Oct 23 08:22:20 2023 GMT",
"validTo": "Jan 15 08:22:19 2024 GMT",
"daysRemaining": 83
}
}