AVALON COMPANY · PRACTICAL GUIDE
Follow the steps below and use the linked tools and references as you go.
Evidence trail: Email Domain Doctor API on RapidAPI · Web Content & URL Tools MCP Server on Apify
Mail from a domain without SPF and DMARC lands in spam or gets spoofed. One GET request checks MX, SPF, DMARC, DKIM, MTA-STS, TLS-RPT and BIMI and returns a grade with fixes.
The request
Subscribe to the free plan on RapidAPI, then call the endpoint with your RapidAPI key:
curl -G 'https://email-domain-doctor.p.rapidapi.com/v1/email-domain'
--data-urlencode 'domain=stripe.com'
-H 'x-rapidapi-host: email-domain-doctor.p.rapidapi.com'
-H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'What came back for stripe.com
We ran this exact call against stripe.com while writing this post. The key fields of the real response:
{
"grade": "B",
"score": 78,
"summary": {
"mx": "pass",
"spf": "pass",
"dmarc": "pass",
"dkim": "warn",
"mta_sts": "warn",
"tls_rpt": "warn",
"bimi": "info"
}
}The same call in Python
import requests
resp = requests.get(
'https://email-domain-doctor.p.rapidapi.com/v1/email-domain',
params={'domain': 'stripe.com'},
headers={'x-rapidapi-host': 'email-domain-doctor.p.rapidapi.com', 'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY'},
timeout=30,
)
resp.raise_for_status()
print(resp.json())When to use it
- Check your own domain before a newsletter or cold-email campaign.
- Audit client domains for spoofing risk in one pass.
- Catch an SPF record that exceeds the 10-lookup limit.
Limits
- DKIM can only be checked for selectors it knows or that you pass in; there is no way to list every selector a domain uses.
- It reads public DNS; it does not send test mail.
Use it from an AI agent
The same endpoint is one of the tools in the Web Content & URL Tools MCP Server on Apify. Point any client that supports remote MCP servers at `https://avalonai–web-content-url-tools-mcp.apify.actor/mcp` with your Apify token (`YOUR_APIFY_TOKEN`) and the agent can call it directly: https://apify.com/avalonai/web-content-url-tools-mcp
Try it
Email Domain Doctor API on RapidAPI (free plan available): https://rapidapi.com/avalonai/api/email-domain-doctor
Try it free
Our APIs on RapidAPI: https://rapidapi.com/user/avalonai
Made with
- Email Domain Doctor API — produced the example response in this tutorial (run against stripe.com): https://rapidapi.com/avalonai/api/email-domain-doctor
🛠️ Free tools, shown in 30 seconds
Short demonstrations of free tools you can use in your own workflow.
All the free tools, no sign-up: avaloncompany.ai/tools
Prefer a feed? RSS
Make everyday tasks easier with reusable AI prompts
Stop Typing, Start Asking gives you 30 one-page prompts for writing messages, comparing products, planning everyday tasks, and checking AI-generated answers. The guide includes 119 pages in PDF and EPUB formats, with a full first chapter available to read for free.