Email Security Report API - SPF, DMARC & DKIM Audit
Send a domain name and receive a full email authentication audit. The endpoint checks SPF, DMARC, and DKIM records, assigns a letter grade (A through F) with a numeric score out of 100, and returns actionable recommendations for improving email security posture.
Code examples
curl -X POST https://api.botoi.com/v1/email-security/report \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}'When to use this API
Email deliverability audits
Run this check before launching email campaigns to confirm SPF, DMARC, and DKIM are configured correctly. A missing or misconfigured record can send your emails straight to spam folders.
Compliance checks for security certifications
SOC 2 and ISO 27001 auditors ask about email authentication controls. Generate this report as evidence that SPF, DMARC, and DKIM are in place and correctly configured.
Domain security monitoring
Schedule weekly audits of your production domains. Alert your security team when the grade drops or when a previously configured record goes missing.
Frequently asked questions
How is the grade calculated?
Which DKIM selector does it check?
Can this endpoint detect email spoofing?
What does rua and ruf mean in the DMARC section?
Does this work for subdomains?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.