Docs · Intelligence

SSL certificate

Issuer, expiry, SANs, days remaining.

POST /v1/intel/ssl

Returns the active TLS certificate for a domain.

Parameters

Name Type Required Default Description
domain string yes Domain to inspect.

Request

curl -X POST https://api.datasonar.dev/v1/intel/ssl \
  -H "Authorization: Bearer osk_..." \
  -d '{"domain": "anthropic.com"}'

Response

{
  "status": "success",
  "domain": "anthropic.com",
  "issuer": "Let's Encrypt",
  "subject": "anthropic.com",
  "expiry_date": "Jul  6 15:34:42 2026 GMT",
  "days_remaining": 51,
  "sans": ["anthropic.com","console.anthropic.com"],
  "is_valid": true
}

Related