Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierGoogle SheetsMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / Product / API

Email verification API

Verify one address in real time, or submit a whole list and fetch the results when it's done. Plain JSON over HTTPS, one API key, and you only pay for answers.

Updated 2026-11-24

Illustration for "Email verification API"

TL;DR

  • REST API at https://mailexchange.com/api/v1. POST /verify checks one address; POST /lists takes up to 100,000 per call.
  • Every result has a state (deliverable, risky, undeliverable, unknown), a reason, a score and catch-all, role, free and disposable flags.
  • One credit per unique address. Duplicates free, unknowns refunded. Included in every plan, from $49 a month for 10,000 ($4.90 per 1,000 at full use).
  • Create a key in your account; the free trial includes 25 checks to test with.

You want to stop bad addresses at the point they enter your system, or clean a list from a script instead of uploading CSVs by hand. This page is the whole API on one screen: the calls, real request and response bodies, what each result means, the limits and what it costs. Every endpoint and field below is what the API returns today; the deeper guides are linked from each section.

Your first call

Send your key as a bearer token on every request:

Authorization: Bearer mx_live_xxxxxxxxxxxxxxxx

Then verify one address:

curl -X POST https://mailexchange.com/api/v1/verify \
  -H "Authorization: Bearer $MAILEXCHANGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

Response:

{
  "email": "[email protected]",
  "state": "deliverable",
  "reason": "accepted_email",
  "score": 100,
  "accept_all": false,
  "role": false,
  "free": false,
  "disposable": false,
  "mx": "aspmx.l.google.com"
}

Ready-made clients for each language: Python, Node.js, PHP, Go and the rest on the developer hub.

What every call checks

Each address goes through the same six checks as the web app (how it works): syntax, DNS and MX records, risk lists (disposable and role addresses), an SMTP mailbox check, a catch-all test and then a verdict. The SMTP step asks the recipient's mail server whether it would accept mail for the address and stops there. No email is ever sent, so the person never sees anything (how verifying without sending works).

The catch-all test matters more than most people expect. In Mail Exchange's checks of 779,784 unique business addresses across 200,799 domains (17 Oct to 22 Nov 2026; mostly B2B PR, media and marketing contact lists, not a random sample of all email), 18.1% were on domains that accept mail for any address, and 7.6% were undeliverable outright. An API that only says "valid" or "invalid" hides the first group.

The same six checks run in the API and the web app. No email is sent at any step.

Endpoints at a glance

CallWhat it does
POST /verifyCheck one address now. Body {"email": "..."}.
POST /listsSubmit up to 100,000 addresses: emails, optional name and callback_url. Returns the list summary at once.
GET /lists/{id}Status and counts per state.
GET /lists/{id}/resultsOne row per address. offset, limit (default 1,000, max 10,000), or format=csv.
DELETE /lists/{id}Delete the list and its results.
GET /accountYour name, credits, credits_used and number of lists.
POST /feedbackOptional: report real outcomes, e.g. {"events": [{"email": "[email protected]", "event": "bounced"}]}. It makes your results better.

All paths are under https://mailexchange.com/api/v1. Errors come back as {"error": "message"} with a status code.

Real-time example: a signup form

Call /verify from your backend when someone submits a form, before you create the account. A catch-all domain looks like this:

POST /api/v1/verify
{"email": "[email protected]"}

{
  "email": "[email protected]",
  "state": "risky",
  "reason": "low_deliverability",
  "score": 50,
  "accept_all": true,
  "role": false,
  "free": false,
  "disposable": false,
  "mx": "aspmx.l.google.com"
}

A sensible form rule: block undeliverable, ask "is this right?" on disposable, and accept the rest, since a catch-all can still be a real person. Never block on unknown: it means the server didn't give an answer, not that the address is bad.

Slow mail servers. Most single checks answer in a few seconds. If a server is slow, /verify waits about 20 seconds and then returns 202 with {"state": "pending", "list_id": 4821}. The check is running and already paid for. Save the list_id and read the result later from /lists/{list_id}/results; never post the address again. Set your client timeout to around 45 seconds. The full pattern is in errors, credits and rate limits.

A hosted form widget is in early access and not generally available yet (email validation widget), so today the form check is a server-side call like the one above.

Bulk example: verify a list

Submit the whole list in one call. Duplicates are removed before charging:

POST /api/v1/lists
{"emails": ["[email protected]", "[email protected]", "[email protected]"], "name": "october-leads",
 "callback_url": "https://you.example/mx-hook"}

{
  "id": 4821,
  "name": "october-leads",
  "status": "processing",
  "total": 2,
  "duplicates_removed": 1,
  "checked": 0,
  "counts": {"deliverable": 0, "risky": 0, "undeliverable": 0, "unknown": 0},
  "created_at": 1792310400,
  "finished_at": null
}

The status moves through processing and checking to done (or failed). Either poll GET /lists/4821 every 5 to 10 seconds, or wait for the webhook. When the list finishes we POST {"event": "list.done", "list": {...}} to your callback_url (https only) with an X-MX-Signature header: the hex HMAC-SHA256 of the raw body using your account's webhook secret. Check it before trusting the call. Failed deliveries are retried after 30 seconds and 5 minutes (webhooks and callbacks).

Then read the rows:

GET /api/v1/lists/4821/results?offset=0&limit=1000      # {"results": [...]}
GET /api/v1/lists/4821/results?format=csv&limit=10000     # CSV file

Each row has the same fields as a /verify response plus a provider field. CSV columns are email, state, reason, score, accept_all, role, free, disposable, mx, provider. Rows not checked yet show pending. For paging through 100,000 rows and a complete shell script, see verify a list with the API.

Submit once, then either poll GET /lists/{id} every 5 to 10 seconds or wait for the list.done webhook. Results page at up to 10,000 rows per request.

States and reasons

statereasonWhat to do
deliverableaccepted_emailSend
riskylow_deliverability (catch-all), low_quality (role), disposableSend with care. Usually leave out of cold campaigns, or send to them separately
undeliverablerejected_email, invalid_domain, invalid_emailRemove
unknownunavailable_smtp, no_connect, dns_errorRetry later. The credit is refunded

The full meaning of each reason is in email verification statuses, and the catch-all decision for outbound is in should you send to catch-all addresses?

What teams build with it

  • Signup and lead forms. One /verify call per submit stops typos and fake addresses before they reach your CRM or trial list.
  • Cold email pre-upload. Submit the export with /lists, keep deliverable, then upload to your sender. There's no native connector yet; it's the API or a CSV. See Instantly and Smartlead.
  • Automation tools. Anything that can make an HTTP request can call the API, for example Make's HTTP module or Clay.
  • Scheduled CRM hygiene. A nightly job submits contacts that haven't been checked in a few months and suppresses new undeliverable results.
  • AI assistants. The same key works with the MCP server, so Claude or another assistant can verify a list for you.

Errors, limits and credits

StatusMeaningWhat to do
202Single check still runningRead the list later. Don't resend
400Bad request, e.g. max 100000 addresses per list, callback_url must be httpsFix the request
401Key missing or wrongCheck the header
402Not enough credits, or no active plan (An active plan is required to verify addresses). Nothing was created or chargedChoose a plan, or upgrade your plan (or wait for it to renew), then submit again
404Unknown list or route. Lists belong to the key's accountCheck the ID
429Rate limitBack off and retry
  • Credits. Each unique address costs one credit, charged when you submit. Duplicates within a list aren't charged, and unknown results are refunded automatically when the list finishes.
  • Rate limits are per key over a rolling 60 second window. /verify counts one per request; /lists counts one per address with a much larger allowance, so use lists for volume. A rate-limited call is rejected before any work happens, so it's safe to repeat.
  • List size: up to 100,000 addresses per call. Split bigger files into several lists.

Pricing

The API is included in every plan and uses the same monthly verifications as the web app (pricing). Plans renew monthly until you cancel; cancel anytime in your account.

PlanPriceVerifications a monthPer 1,000 at full use
Starter$49/month10,000$4.90
Growth$99/month25,000$3.96
Agency$249/month100,000$2.49

Every plan also includes daily checks on your sending domains (10, 50 or 200). Over 100,000 a month? Talk to us. Verifications reset every month; unused ones don't carry over.

Because unknowns come back as credits, the price per 1,000 is the price per 1,000 answers. How that compares with other verifiers is in email verification pricing compared. Want to see results on your own data first? The free trial gives you 25 checks in the web app.

Monthly plan price divided by the plan's verifications, if you use them all. Unknown results are refunded, so these are prices per 1,000 answers.

FAQ

How much does the email verification API cost?

One credit per unique address. The API is included in every monthly plan: Starter is $49 a month for 10,000 verifications, Growth $99 for 25,000 and Agency $249 for 100,000. Duplicates inside a list are not charged, unknown results are refunded, and verifications reset every month (unused ones don't carry over). The API and the web app use the same credits.

Is there a free email verification API?

There is no permanently free tier. The free trial gives you 25 checks to test results. After that you pick a plan; the API is included in every plan, from $49 a month for 10,000 verifications.

Does the API send an email to the address?

No. The API asks the recipient's mail server whether it would accept mail for the address and stops before any message is sent. The person behind the address never receives anything.

Should I use /verify or /lists?

Use POST /verify for one address at the moment you need an answer, such as a signup form. Use POST /lists for anything more than a few addresses: one call takes up to 100,000, duplicates are removed for free, and the rate limit allowance for lists is much larger.

How do I get an API key?

Sign up, then create a key in your account under API keys (the free trial includes 25 checks). Send it as a Bearer token in the Authorization header on every call.

Start your free trial →