Every signup form, waitlist, and newsletter collects addresses that were never going to work: typos, throwaway inboxes, domains that stopped accepting mail years ago. Sending to them costs you twice. Your email provider charges for the volume, and the bounces damage your sender reputation, which pushes your good mail toward spam folders.

Verification before you send is the cheap fix. This post walks through the checks that actually matter, then shows working code for running them through CleanList Email Verifier on RapidAPI, which verifies 1,000 addresses a month on its free tier.

The checks that matter

A useful verifier does more than pattern-match an address against a regex. Three layers catch almost everything that hurts a list:

Syntax. Full address parsing: a valid local part, a real domain structure, no doubled dots, length within limits. This catches the obvious typos at signup time.

MX records. The domain has to publish mail exchanger records in DNS, and those records have to mean something. One case many checkers miss is the null MX record defined in RFC 7505: a domain publishes a record that explicitly declares "we accept no mail." A checker that only asks "is there an MX record?" reads that as valid. It is not. The domain is telling you, in DNS, that delivery is impossible.

Disposable domains. Temporary-mail services hand out inboxes that expire in minutes. The addresses pass syntax and MX checks, then go dead before your second campaign. The only defense is a maintained blocklist. CleanList checks against a list of 224,300 known disposable and temporary-mail domains, refreshed from its public source.

CleanList also flags role accounts such as postmaster@ and admin@, and returns every check separately in the response, so you can see exactly why an address passed or failed instead of trusting a single score.

Calling it from JavaScript

Subscribe to the API on RapidAPI (the free BASIC plan needs no card), copy your API key from the code snippets panel, and call the /check endpoint:

async function verifyEmail(email) { const url = "https://cleanlist-email-verifier.p.rapidapi.com/check?email=" + encodeURIComponent(email); const res = await fetch(url, { headers: { "X-RapidAPI-Key": process.env.RAPIDAPI_KEY, "X-RapidAPI-Host": "cleanlist-email-verifier.p.rapidapi.com", }, }); return res.json(); } const result = await verifyEmail("someone@example.com"); console.log(result.valid, result.risk, result.recommendation); 

A response looks like this:

{ "email": "someone@example.com", "checks": { "syntax": true, "disposable": false, "mx_records": ["10 mail.example.com."], "null_mx": false, "domain_resolves": true, "role_account": false, "mailbox_exists": null }, "valid": true, "risk": "low", "recommendation": "accept", "reason": "Syntax valid, domain publishes MX records, not a known disposable domain." } 

For a disposable address, the same call returns valid: false, risk: high, and recommendation: reject, with the reason stated in plain language.

Calling it from Python

import os import requests def verify_email(email): res = requests.get( "https://cleanlist-email-verifier.p.rapidapi.com/check", headers={ "X-RapidAPI-Key": os.environ["RAPIDAPI_KEY"], "X-RapidAPI-Host": "cleanlist-email-verifier.p.rapidapi.com", }, params={"email": email}, timeout=15, ) res.raise_for_status() return res.json() result = verify_email("someone@example.com") if result["recommendation"] == "reject": print("drop it:", result["reason"]) 

Loop that over a CSV export before an import or a campaign and you have a cleaned list. At signup time, run it on one address and reject the obvious failures before they enter your database at all.

What verification cannot prove

Honesty matters here, because plenty of verifiers oversell. These checks cannot prove that a specific mailbox exists or that a person reads it. Servers that accept all incoming mail make mailbox probing unreliable, and many servers block probes outright, so CleanList does not fake it: the response includes a mailbox_exists field set to null with a note explaining that it was not probed. A "valid" result means the address is well formed, the domain really accepts mail, and it is not a known disposable. That is the set of facts that decides whether your message bounces, and it is the set worth paying for.

Plans and the free tier

CleanList Email Verifier is on RapidAPI at https://rapidapi.com/YamilLittle/api/cleanlist-email-verifier. The BASIC plan is free and covers 1,000 verifications a month, which is enough for a signup form or a small list. Paid plans scale from there: PRO at $40 for 200,000 a month, ULTRA at $89 for 500,000, and MEGA at $185 for 1,000,000.

Disclosure: I built this API.