API Documentation

Integrate our SSL tools directly into your workflow.

Back to Tools

1. Single Domain Check

Retrieve SSL status, expiry date, and issuer for a specific domain.


GET /check.php?domain={domain}
Example
curl "https://your-site.com/check.php?domain=google.com"
Response (JSON)
{
  "isValid": true,
  "domain": "google.com",
  "issuer": "GTS CA 1C3",
  "expiryDate": "2026-10-20",
  "daysRemaining": 59
}

2. Bulk Domain Scan

Scan a list of domains (uploaded as a text file). Requires authentication.


POST /batch.php
Parameters (Multipart Form Data)
FieldDescription
emailYour registered email address (Use demo@example.com for testing).
keyYour API Key (Use test for testing).
fileA .txt file containing one domain per line.
Example (cURL)
curl -X POST -F "email=demo@example.com" \
     -F "key=test" \
     -F "file=@domains.txt" \
     https://your-site.com/batch.php
Response (JSON)
{
  "status": "success",
  "message": "Scan Complete",
  "data": [
    { "domain": "example.com", "status": "Valid", "days_left": 300 },
    { "domain": "expired.com", "status": "Valid", "days_left": -5 }
  ]
}