Skip to content
GET /v1/expiry

Lean expiry status (for monitoring)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sslcheck-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/sslcheck-api/v1/expiry" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sslcheck-api/v1/expiry", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sslcheck-api/v1/expiry");
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/expiry",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "port": 443,
        "domain": "github.com",
        "status": "ok",
        "expired": false,
        "valid_to": "2026-08-02T23:59:59.000Z",
        "chain_trusted": true,
        "days_remaining": 63
    },
    "meta": {
        "timestamp": "2026-05-31T11:14:11.456Z",
        "request_id": "8e2ff3ee-b942-44e3-8fc3-9da17b20f312"
    },
    "status": "ok",
    "message": "Expiry checked",
    "success": true
}