POST

Inspect TLS certificate for domain (issuer, validity, SANs). Uses tls socket peek

/v1/ssl-info

Validation · tls socket peek

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/ssl-info
Content-Type: application/json

{
  "domain": "tools402.dev",
  "port": 1
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Inspect TLS certificate for domain (issuer, validity, SANs). Uses tls socket peek.

Request schema

Body: JSON · application/json

FieldTypeDescription
domainstringrequiredpattern: ^(?=.{1,253}$)(?!.*\.\.)(?!-)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$
portintegeroptionalmin: 1
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/ssl-info \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "tools402.dev",
  "port": 1
}'

402 payment flow omitted — see Integrations for settlement.