Kit.Domains Docs
Guides

Monitor a Domain

Add a domain and set up monitoring via the API

Add a Domain

curl -X POST https://api.kit.domains/v1/domains \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "example.com"}'

After adding, Kit.Domains automatically:

  • Looks up WHOIS/registrar information
  • Checks SSL certificate validity
  • Records DNS records snapshot
  • Starts monitoring for changes

Check Domain Status

curl https://api.kit.domains/v1/domains/DOMAIN_ID \
  -H "Authorization: Bearer YOUR_TOKEN"

Check SSL Certificate

curl https://api.kit.domains/v1/domains/DOMAIN_ID/ssl \
  -H "Authorization: Bearer YOUR_TOKEN"

Returns the domain's current SSL certificate (expires_at, days_left, is_expired, provider, is_checked, message). See the SSL endpoint in the API Reference for the full schema.

Monitor for Incidents

curl "https://api.kit.domains/v1/domains/DOMAIN_ID/incidents?status=created" \
  -H "Authorization: Bearer YOUR_TOKEN"

Incident Types

TypeDescription
domain_expiredDomain is expiring soon
cert_expiredSSL certificate is expiring soon
dns_changedDNS records were changed
dns_zone_updatedDNS zone was updated
cert_invalidSSL certificate is invalid

Build an Expiry Dashboard

List all your domains with their expiry and SSL fields via the list domains endpoint (GET /v1/domains?per_page=100) and flag the ones nearing renewal — see the API Reference for every field it returns.

On this page