Domains API
The Domains API allows you to manage domain monitoring, retrieve uptime statistics, and access SSL certificate information.Authentication
All requests require authentication via Bearer token. See Authentication for details.Base URL
Create Domain
Get Domain Statistics
Response Time Trends
Accessibility Scan
Generate QR Code
Error Handling
Common Errors
| Status Code | Error | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid request data |
| 401 | UNAUTHORIZED | Invalid or missing authentication |
| 403 | FORBIDDEN | Insufficient permissions |
| 404 | DOMAIN_NOT_FOUND | Domain does not exist |
| 429 | RATE_LIMIT_EXCEEDED | API rate limit exceeded |
| 500 | INTERNAL_ERROR | Server error |
Error Response Format
Rate Limits
- GET requests: 1000 per hour
- POST/PUT/DELETE: 100 per hour
- Bulk operations: 10 per hour
Webhooks
Domains support webhooks for real-time notifications. Configure webhooks in your dashboard settings.Webhook Events
domain_up- Domain comes back onlinedomain_down- Domain goes offlinessl_expiring- SSL certificate expires soonssl_expired- SSL certificate has expireddns_changed- DNS records have changed

