DEV Community

1xApi
1xApi

Posted on • Originally published at 1xapi.com

How to Verify Email Addresses with an API in 2026

Why Email Verification Matters

Every day, businesses lose money sending emails to invalid addresses. Bounce rates above 2% can damage your sender reputation and waste your budget.

What a Good API Checks

1. Syntax Validation

RFC 5322 format check.

2. MX Record Lookup

Verifies domain has mail servers.

3. Disposable Detection

Flags 10,000+ throwaway providers.

4. SMTP Verification

Checks if the mailbox actually exists.

5. Deliverability Score

0-1 confidence score combining all signals.

JavaScript Example

const res = await fetch("https://email-verify-pro.p.rapidapi.com/verify", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-RapidAPI-Key": "YOUR_KEY",
    "X-RapidAPI-Host": "email-verify-pro-disposable-detection-mx-lookup.p.rapidapi.com"
  },
  body: JSON.stringify({ email: "user@example.com", smtp: true })
});
const data = await res.json();
Enter fullscreen mode Exit fullscreen mode

Try It

Email Verify Pro on RapidAPI

Top comments (0)