Email MX Verify API - Check Deliverability by DNS
Validates the address format, extracts the domain, and queries Cloudflare DNS for MX records. Returns the sorted MX hosts with priorities plus a deliverable flag: "likely" when MX records exist, "unknown" when only an A record exists (RFC 5321 fallback), and "unlikely" when neither is present. Does not send test emails, so it does not trigger the target mail server.
Code examples
curl -X POST https://api.botoi.com/v1/email-mx/verify \
-H "Content-Type: application/json" \
-d '{"email":"support@github.com"}'When to use this API
Clean a marketing list before sending
Run every address on your newsletter list through this endpoint before a major send. Drop anything flagged "unlikely" to improve deliverability and avoid spam-trap bounces that hurt your sender reputation.
Inline validation on signup forms
After format validation passes, call this endpoint to catch domain typos (gmial.com, outlok.com) that MX lookups detect. Return a client-side message suggesting the correct domain before the user submits.
Qualify sales leads by mail provider
Inspect the MX records to route leads: addresses served by Google Workspace or Microsoft 365 go to the enterprise sales queue. Personal Gmail and Yahoo addresses route to self-serve onboarding.
Frequently asked questions
Does this confirm the mailbox exists?
When does deliverable return "unknown"?
How are MX records sorted?
Which DNS resolver does the endpoint use?
Will this trigger a mail server alert?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.