Retrieve SSL status, expiry date, and issuer for a specific domain.
/check.php?domain={domain}
curl "https://your-site.com/check.php?domain=google.com"
{
"isValid": true,
"domain": "google.com",
"issuer": "GTS CA 1C3",
"expiryDate": "2026-10-20",
"daysRemaining": 59
}
Scan a list of domains (uploaded as a text file). Requires authentication.
/batch.php
| Field | Description |
|---|---|
email | Your registered email address (Use demo@example.com for testing). |
key | Your API Key (Use test for testing). |
file | A .txt file containing one domain per line. |
curl -X POST -F "email=demo@example.com" \
-F "key=test" \
-F "file=@domains.txt" \
https://your-site.com/batch.php
{
"status": "success",
"message": "Scan Complete",
"data": [
{ "domain": "example.com", "status": "Valid", "days_left": 300 },
{ "domain": "expired.com", "status": "Valid", "days_left": -5 }
]
}