New The MCP server is live: all 45 APIs in Claude, Cursor or any MCP client. Connect your agent

Email security and deliverability analysis

Email Deliverability API

The Email Deliverability API helps businesses and developers evaluate the readiness of email domains to ensure successful email communication. It analyzes DNS records such as SPF, DKIM, DMARC, and PTR, providing insights into a domain's email configuration.

Built for email marketers, security professionals, and developers who need to enhance email security and deliverability through comprehensive domain analysis and validation.

Free tier included, no credit card required. One key works across every API.

At a glance

Email Deliverability API

5 credits / call
Free calls / month
200
Record Types
4
Analysis Speed
<500ms
Accuracy Rate
99.8%
Get your free API key

200 free calls on the free plan

Key features

  • SPF Record Validation: Checks the Sender Policy Framework records to verify authorized email senders
  • DKIM Record Retrieval: Validates DomainKeys Identified Mail records for email authenticity
  • DMARC Record Check: Ensures proper domain-based message authentication configuration
  • PTR Record Lookup: Validates reverse DNS records for email server legitimacy
  • Scoring and Recommendations: Provides actionable insights for email security improvement

Built for

  • Email deliverability optimization
  • Domain security assessment
  • Anti-phishing protection
  • Email marketing compliance
  • Brand protection monitoring
  • Fraud prevention systems
  • Security compliance auditing
  • Email infrastructure validation

MCP · for your agent

Hand the Email Deliverability API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 5 credits per call, the same as REST, from your team's balance.

Pre-flight a newsletter domain

“Our launch newsletter goes out tomorrow from news.example.com. Score its email setup and tell me what to fix first.”

list_apis · get_api_docsfree

api_request GET /email-deliverability/v1/deliverability?domain=news.example.com 5 cr

A deliverability score, SPF, DKIM and DMARC status, and fixes in order of impact.

Find out why invoices hit spam

“Customers say our invoices land in spam. Check billing.example.com and our sending IP 198.51.100.24 for problems.”

list_apis · get_api_docsfree

api_request GET /email-deliverability/v1/deliverability?domain=billing.example.com&ip=198.51.100.24 5 cr

Score, SPF/DKIM/DMARC status, reverse DNS and SPF coverage for the IP, plus the fix list.

Audit client domains at onboarding

“We're onboarding 12 client domains to our email platform. Score each and list which ones still need DMARC.”

list_apis · get_api_docsfree

api_request GET /email-deliverability/v1/deliverability?domain=fabrikam.com 5 cr

A score per client domain and the ones missing DMARC or DKIM, as an onboarding checklist.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

GET /email-deliverability/v1/deliverability
Open in Playground

Parameters

Request · HTTP
GET /email-deliverability/v1/deliverability?domain=example.com HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
Response · JSON 200 OK
{
"domain": "example.com",
"score": 85,
"improvements": [
  "Add a valid DKIM record to help verify the sender's identity.",
  "Configure a valid reverse DNS (PTR) record for better server reputation."
],
"dns": {
  "spf": "v=spf1 include:_spf.example.com ~all",
  "dkim": {
    "default": "v=DKIM1; k=rsa; p=..."
  },
  "dmarc": "v=DMARC1; p=none; rua=mailto:[email protected]"
},
"dns_results": {
  "spf": true,
  "dkim": true,
  "dmarc": true
},
"reverse_dns": "mail.example.com",
"ip_in_spf": true
}

Documentation

Email Deliverability API Documentation

The Email Deliverability API provides comprehensive analysis of email domain configurations to improve deliverability and security. This documentation outlines how to integrate and use the API effectively.

Base URL

url
https://api.apicodex.io/email-deliverability

Authentication

Authenticate every request with your API key: send it in an X-Api-Key header, or pass it as an ?apikey= query parameter.

headers
{
"X-Api-Key": "YOUR_API_KEY"
}

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
GET /email-deliverability/v1/deliverability?domain=example.com HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
response · json
{
"domain": "example.com",
"score": 85,
"improvements": [
  "Add a valid DKIM record to help verify the sender's identity.",
  "Configure a valid reverse DNS (PTR) record for better server reputation."
],
"dns": {
  "spf": "v=spf1 include:_spf.example.com ~all",
  "dkim": {
    "default": "v=DKIM1; k=rsa; p=..."
  },
  "dmarc": "v=DMARC1; p=none; rua=mailto:[email protected]"
},
"dns_results": {
  "spf": true,
  "dkim": true,
  "dmarc": true
},
"reverse_dns": "mail.example.com",
"ip_in_spf": true
}

Code examples

JavaScript (Node.js)
const axios = require('axios');

const options = {
  method: 'GET',
  url: 'https://api.apicodex.io/email-deliverability/v1/deliverability',
  params: {domain: 'example.com'},
  headers: {
    'X-Api-Key': 'YOUR_API_KEY'
  }
};

try {
  const response = await axios.request(options);
  console.log(response.data);
} catch (error) {
  console.error(error);
}

Endpoints

GET /v1/deliverability

Score a domain's email setup (SPF, DKIM, DMARC and reverse DNS) and list the fixes that would raise it. Pass domain, and optionally the sending server's ip to check it against SPF and its PTR record.

/v1/deliverability?domain=example.com&ip=192.0.2.1

Pricing

Email Deliverability API Pricing

This API costs 5 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~200 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~10,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~50,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Email Deliverability?