TL;DR
- Four calls cover a whole list:
POST /v1/lists, pollGET /v1/lists/{id}, readGET /v1/lists/{id}/results, thenDELETE /v1/lists/{id}. - One list holds up to 100,000 unique addresses. One credit per unique address is taken when you submit. Duplicates are free and unknown results are refunded when the list finishes.
- Results come as paginated JSON (default 1,000 rows, at most 10,000 per request) or as CSV with
format=csv. Pass acallback_urlto skip polling. - Cost: a 5,000-address list uses 5,000 credits at most, half of the Starter plan's 10,000 a month ($49). Verifications reset every month, and unused ones don't carry over.
You have a CSV of leads from Apollo, a CRM export or a scrape you want to clean before it goes into Instantly or Smartlead, and you want it done by a script rather than by hand. This page is the whole bulk workflow: the four calls, what each one returns, how to page through 100,000 results, what it costs, and the mistakes that cost people credits. Every endpoint and field here is from the API reference.
When to use a list instead of /verify
POST /verify is for one address at a time, such as a signup form, and usually answers in a few seconds. Anything from a few dozen addresses up should go through the list endpoints. Three reasons:
- Rate limits. Limits are per key over a rolling 60-second window.
/verifycounts one per request, whilePOST /listscounts one per address with a much larger allowance (errors, credits and rate limits). Looping over/verifyis the slow way to do volume. - No open connections. A list is checked in the background. A slow mail server does not hold your HTTP request open, which it can do with
/verify(that call waits about 20 seconds before it returns202). - Free deduplication. Repeats inside a list are dropped and not charged. Two separate
/verifycalls for the same address are charged twice.
If you would rather not write code at all, the bulk upload does the same with a CSV, TXT file or paste. For the API you need a key: sign up, then create an API key in your account.
1. Submit the list
Post a JSON array of addresses to POST /v1/lists. You get a list ID back straight away. name is optional and helps you recognise the list later. Addresses are trimmed and lower-cased, blanks are ignored and duplicates are removed (and not charged).
curl -X POST https://mailexchange.com/api/v1/lists \
-H "Authorization: Bearer $MAILEXCHANGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"emails": ["[email protected]", "[email protected]", "[email protected]"], "name": "october-leads"}'
The answer is 201 and a summary of the list. The numbers below are an example:
{
"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
}
Credits are taken now, one per unique address. If you do not have enough you get 402 and nothing is created or charged, so you can upgrade your plan and submit the same body again. A list over 100,000 addresses gets 400 (max 100000 addresses per list), as does a callback_url that is not https. Timestamps are Unix seconds.
GET /v1/account (it returns credits and credits_used) before resubmitting, rather than posting blindly and paying twice.2. Poll for status
Call GET /v1/lists/{id} every 5 to 10 seconds until the status is done or failed, or pass a callback_url and wait for the list.done event. The call returns the same summary as the submit, updated. The status moves through processing and checking to done, and it is failed if the list could not be completed. checked against total gives you a progress bar, and counts fills in as results arrive. There is no reason to poll faster: polls count towards your rate limit.
To skip polling, add "callback_url": "https://you.example/hook" to the submit call. When the list finishes we POST {"event": "list.done", "list": {...}} to it with an X-MX-Signature header (hex HMAC-SHA256 of the raw body with your webhook secret). Failed deliveries are retried after 30 seconds and after 5 minutes. The payload is the summary only, not the rows, so you still fetch the results. Code for checking the signature is in webhooks and callbacks.
3. Fetch the results
Page through GET /v1/lists/{id}/results with offset and limit, or add format=csv to download a file. Results come back in the order the unique addresses were added. Each row has the same fields as a single /verify response (email, state, reason, score, accept_all, role, free, disposable, mx) plus a provider field.
curl -H "Authorization: Bearer $MAILEXCHANGE_API_KEY" \
"https://mailexchange.com/api/v1/lists/4821/results?offset=0&limit=1000"
The response is {"results": [...]}. The default limit is 1,000 and a request returns at most 10,000 rows. To read a bigger list, keep adding the page size to offset until a page comes back with fewer rows than you asked for. Rows not yet checked have the state pending.
As CSV
Add format=csv to get a file. The columns are email, state, reason, score, accept_all, role, free, disposable, mx, provider, with booleans written as True and False. The same offset and limit apply, and each page has its own header row, so strip the header from every page after the first when you join them.
curl -H "Authorization: Bearer $MAILEXCHANGE_API_KEY" \
"https://mailexchange.com/api/v1/lists/4821/results?format=csv&offset=0&limit=10000" \
-o results-0.csv
What to do with each state
| state | reason | For a cold email list |
|---|---|---|
| deliverable | accepted_email | Send. |
| risky | low_deliverability (catch-all) | Separate. Send in a small, slower batch from established inboxes, or skip (catch-all emails and cold email). |
| risky | low_quality (role), disposable | Usually leave out of cold campaigns (role-based addresses). |
| undeliverable | rejected_email, invalid_domain, invalid_email | Remove. These hard bounce. |
| unknown | unavailable_smtp, no_connect, dns_error | Retry later in a new list. The credit was refunded. |
4. Delete the list
Call DELETE /v1/lists/{id} to remove the list and its results once you have saved them.
curl -X DELETE -H "Authorization: Bearer $MAILEXCHANGE_API_KEY" \
https://mailexchange.com/api/v1/lists/4821
# {"deleted": true}
Deleting is optional, but there is little reason to keep contact data with a vendor after you have the results.
A worked example: 5,000 leads
Say you export 5,200 rows from a lead tool and 200 of them are repeats. You post all 5,200. The summary comes back with total 5,000 and duplicates_removed 200, and 5,000 credits are taken: half of the Starter plan's 10,000 monthly verifications ($49 a month, $0.0049 per address at full use; pricing).
What comes back depends on the list. As a reference point: 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, so not a random sample of all email), 18.1% were catch-all, 7.8% role addresses and 7.6% undeliverable. Applied to 5,000 leads, that is about 905 catch-alls to separate, 390 role addresses and 380 addresses that would hard bounce. The rest come back deliverable or unknown, and unknown results are refunded when the list finishes.
Those 380 undeliverable addresses are the point of the exercise. At 7.6% they alone are above the 5% bounce rate at which Instantly says it pauses a campaign (Instantly help center, after at least 200 sends, checked 2026-11-22). More on thresholds in how many bounces burn a domain.
For more than 100,000 addresses, split the file into chunks of 100,000 and submit each as its own list. Deduplicate the whole file first: duplicates are only removed within one list, so the same address in two chunks is charged twice.
The whole flow in a shell script
This uses curl and jq. It reads emails.txt (one address per line), submits it, waits, saves every result page as CSV and deletes the list.
#!/usr/bin/env bash
set -euo pipefail
API=https://mailexchange.com/api/v1
AUTH="Authorization: Bearer $MAILEXCHANGE_API_KEY"
ID=$(jq -R -s '{emails: (split("\n") | map(select(length > 0))), name: "shell-example"}' emails.txt \
| curl -sf -X POST "$API/lists" -H "$AUTH" -H "Content-Type: application/json" -d @- \
| jq -r .id)
while :; do
STATUS=$(curl -sf -H "$AUTH" "$API/lists/$ID" | jq -r .status)
[ "$STATUS" = "done" ] && break
[ "$STATUS" = "failed" ] && { echo "list $ID failed" >&2; exit 1; }
echo "list $ID: $STATUS"; sleep 10
done
curl -sf -H "$AUTH" "$API/lists/$ID" | jq .counts
OFFSET=0
while :; do
curl -sf -H "$AUTH" "$API/lists/$ID/results?format=csv&offset=$OFFSET&limit=10000" -o "results-$OFFSET.csv"
ROWS=$(( $(wc -l < "results-$OFFSET.csv") - 1 )) # minus the header row
[ "$ROWS" -lt 10000 ] && break
OFFSET=$(( OFFSET + 10000 ))
done
curl -sf -X DELETE -H "$AUTH" "$API/lists/$ID"
Complete versions with a decision function and 429 retries are in Python, Node.js, PHP, Ruby, Go, Java and C#.
Common mistakes
- Resubmitting after a timeout. Check
GET /v1/accountfirst. A second submit of the same list is charged again. - Trusting rows before
done.pendingis not a result. Wait for the list status. - Reading only the first page. The default
limitis 1,000, so a 5,000-row list needs five requests at the default, or one atlimit=10000. - Retrying 402 in a loop. It will not succeed until credits are added. Retry only 429 and network errors, with backoff (1, 2, 4, 8 seconds).
- Treating catch-all as deliverable. A catch-all domain accepts every address at the SMTP stage, so the mailbox cannot be confirmed. Keep those rows apart.
What it costs
One credit per unique address, taken at submission. Duplicates cost nothing. Unknown results are refunded automatically when the list is done, so you only pay for answers. Plans are monthly: Starter $49 for 10,000 verifications, Growth $99 for 25,000 and Agency $249 for 100,000, and every plan includes the API (pricing). Over 100,000 a month, talk to us. Verifications reset every month, and unused ones don't carry over. A full 100,000-address list therefore fits one month of the Agency plan ($249, $0.00249 per address at full use). The cost calculator works out other sizes, and you can test the whole flow on a free trial first.
Questions
How many addresses can I send in one list?
Up to 100,000 unique addresses per list. Larger lists need to be split into several POST /lists calls. Remove duplicates across the chunks yourself first, because duplicates are only dropped within one list.
Can I read results before the list is finished?
Yes. Rows that are not checked yet come back with the state pending, so you can show progress, but only trust final states once the list status is done.
How do I download a list as CSV?
Call GET /lists/{id}/results?format=csv. Offset and limit still apply, so for lists over 1,000 rows pass limit and page through with offset.
Am I charged for duplicates and unknown results?
No. Duplicates inside a list are removed before charging, and every result that finishes as unknown has its credit refunded when the list is done. You pay one credit per unique address that gets a real answer.
Should I poll or use a callback?
Use a callback_url if your system can receive an HTTPS request: you are told the moment the list is done and you save the polling calls. Poll every 5 to 10 seconds if you run a script or a job with no public endpoint.
