Email Security API
Validate SPF, DKIM, DMARC, BIMI, and MTA-STS across all your sending domains. Get letter-grade scores and fix-it recommendations to prevent spoofing and improve inbox placement.
What you can do
Real outcomes teams achieve with Email Security
SPF Validation
Parse and validate SPF records including DNS lookup counting, mechanism analysis, and policy evaluation to prevent exceeding the 10-lookup limit.
DKIM Discovery
Automatically discover and validate DKIM keys across common selectors, with key strength analysis and configuration recommendations.
DMARC Policy Check
Verify DMARC policy configuration, reporting addresses, and alignment requirements to ensure proper enforcement.
Email Security Scoring
Get an overall email security grade (A-F) combining SPF, DKIM, DMARC, and MX health into actionable scores.
Simple Integration
Get started in minutes with our RESTful API, or connect via MCP and let your AI call these endpoints directly. Clean documentation, predictable responses, and comprehensive error handling.
- RESTful JSON API
- Global edge-delivered responses
- Comprehensive documentation
- 99.9% uptime target
- MCP-compatible — use with Claude, ChatGPT, or Gemini
const headers = { 'Authorization': 'Bearer YOUR_API_KEY' };
const [spf, dkim, dmarc, score] = await Promise.all([
fetch('https://api.edgedns.dev/v1/security/spf?domain=example.com', { headers }),
fetch('https://api.edgedns.dev/v1/security/dkim?domain=example.com', { headers }),
fetch('https://api.edgedns.dev/v1/security/dmarc?domain=example.com', { headers }),
fetch('https://api.edgedns.dev/v1/score/email?domain=example.com', { headers }),
].map(r => r.then(res => res.json())));
if (score.data.grade !== 'A') {
console.log('Issues found:', score.data.recommendations);
}Related Endpoints
9 endpoints available for email security
Real-World Use Cases
See how teams are using Email Security in production
Email Deliverability Monitoring
Improve inbox placement with proactive email authentication monitoring.
Read more
Client Security Assessment
Quickly evaluate client security posture for MSPs and consultants.
Read more
Security Compliance Auditing
Automate security posture assessments for SOC 2 and ISO 27001.
Read more
Put Email Security to work — via API or AI
Start free with 200 requests/month. Call the API directly or connect your AI through MCP. Upgrade to Pro when you need private monitoring and higher limits.
No credit card required
Already have an account? Sign in