curl "https://domscan.net/v1/health?domain=example.com"
Example Response
{
"domain": "example.com",
"score": 85,
"grade": "A",
"details": {
"dns": {
"score": 100,
"hasA": true,
"hasAAAA": true,
"hasMX": true,
"hasNS": true,
"hasTXT": true
},
"ssl": {
"score": 90,
"valid": true,
"issuer": "Let's Encrypt",
"expires_in_days": 45
},
"email": {
"score": 80,
"hasSPF": true,
"hasDMARC": true,
"hasDKIM": false
},
"security": {
"score": 70,
"hasHSTS": true,
"hasCAA": false
}
},
"warnings": ["Missing DKIM record", "No CAA records found"],
"recommendations": ["Add DKIM for better email deliverability"]
}
Key Features
DNS Analysis
Check A, AAAA, MX, NS, TXT, and other DNS records.
SSL Verification
Validate certificates, check expiry, and issuer details.
Email Deliverability
Analyze SPF, DKIM, and DMARC configuration.
Security Headers
Check HSTS, CAA, and other security configurations.
Health Score
Get a 0-100 score with letter grade (A-F).
Actionable Warnings
Clear explanations of issues and how to fix them.
Quick Check Mode
Fast DNS + HTTPS check for rapid monitoring.
Bulk Health Checks
Monitor multiple domains in a single request.
Frequently Asked Questions
The health score (0-100) combines DNS configuration, SSL validity, email deliverability setup (SPF/DKIM/DMARC), and security headers. Higher scores indicate better configuration.
The /health endpoint performs comprehensive checks including SSL validation, email records, and security headers. The /health/quick endpoint only checks DNS resolution and HTTPS reachability - much faster but less detailed.
Common improvements include: adding SPF/DKIM/DMARC records for email, ensuring valid SSL certificates, configuring HSTS headers, and adding CAA DNS records.
Yes! Use our API to build automated monitoring. Check domain health on a schedule and alert when scores drop or issues are detected.
Check Domain Health for Free
Start for free with 10,000 credits per month. Start checking domains in seconds.
View Full API Documentation