DEV Community

Alexey D
Alexey D

Posted on

Email Validation API — MX Check, Disposable Detection & Quality Score

Regex tells you if an email looks valid. It doesn't tell you if it actually works.

user@gmaill.com passes regex. It fails MX check. user@mailinator.com is a throwaway that will never convert.

Email Validator Pro catches both.

What you get

  • ✅ Syntax validation
  • 📡 MX record check (does the domain actually receive email?)
  • 🚫 Disposable email detection (mailinator, guerrilla mail, etc.)
  • 📊 Quality score 0–100
  • 🌐 Domain info

Quick start

Python

import requests

url = "https://email-validator-pro11.p.rapidapi.com/validate"
headers = {
    "X-RapidAPI-Key": "YOUR_KEY",
    "Content-Type": "application/json"
}
payload = {"email": "user@gmail.com"}

r = requests.post(url, json=payload, headers=headers)
print(r.json())
Enter fullscreen mode Exit fullscreen mode

Response:

{
  "email": "user@gmail.com",
  "is_valid": true,
  "syntax_valid": true,
  "mx_valid": true,
  "is_disposable": false,
  "quality_score": 100,
  "reason": "ok"
}
Enter fullscreen mode Exit fullscreen mode

JavaScript

const res = await fetch("https://email-validator-pro11.p.rapidapi.com/validate", {
  method: "POST",
  headers: {
    "X-RapidAPI-Key": "YOUR_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ email: "test@mailinator.com" })
});
const data = await res.json();
console.log(data); // is_disposable: true, quality_score: 0
Enter fullscreen mode Exit fullscreen mode

cURL

curl -X POST https://email-validator-pro11.p.rapidapi.com/validate \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'
Enter fullscreen mode Exit fullscreen mode

Batch validation

Validate up to 50 emails in one call:

payload = {
  "emails": ["user@gmail.com", "test@mailinator.com", "info@github.com"]
}
r = requests.post(".../batch", json=payload, headers=headers)
Enter fullscreen mode Exit fullscreen mode

Use cases

  • Signup forms — block disposable emails before they pollute your DB
  • Email campaigns — clean your list before sending, reduce bounce rate
  • Lead generation — score leads by email quality
  • B2B SaaS — verify work emails vs personal addresses
  • Marketplace — prevent fake account creation

Pricing

Plan Price Rate limit
BASIC Free 30 req/hr
PRO $9.99/mo 500 req/hr
ULTRA $24.99/mo 5000 req/hr

Try it

👉 Email Validator Pro on RapidAPI

Free tier, no credit card required.


We were seeing 25% bounce rate on our email campaigns. Turned out 1 in 4 signups used a disposable address. This API dropped our bounce rate to under 3% in one week.

Top comments (0)