Email Validation API: Bulk List Cleaning, Risk and Typo Check avatar

Email Validation API: Bulk List Cleaning, Risk and Typo Check

Pricing

from $5.00 / 1,000 email validation results

Go to Apify Store
Email Validation API: Bulk List Cleaning, Risk and Typo Check

Email Validation API: Bulk List Cleaning, Risk and Typo Check

Email validation API and bulk email verifier: deliverable, undeliverable, catch-all and do-not-send results, risk level, disposable and role address flags, typo suggestions and bulk list cleaning jobs with summaries, on US or EU hosts (Mailgun Validate). Bring your own key.

Pricing

from $5.00 / 1,000 email validation results

Rating

0.0

(0)

Developer

Nabeel Hassan

Nabeel Hassan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Features

Limited permissions

Share

Validate email addresses in real time or clean a whole list in one bulk job, with deliverable, undeliverable, catch-all and do-not-send results, a risk level, the reasons behind each verdict, disposable and role address flags and typo suggestions, as clean rows you can export to CSV, Excel or JSON.

This actor wraps the Mailgun Validate API v4 (Mailgun's email verification service) on the US or EU host: single address validation, bulk list validation jobs and List Health Preview job reads. Use it for sign-up form checks, CRM and lead list hygiene, bounce prevention before a campaign, and sender reputation protection. Bring your own Mailgun private API key.

BYOK, not live tested: every route, parameter and response field comes from Mailgun's own OpenAPI description and guides (documentation.mailgun.com), and every route was probed on 2026-11-05 with an invalid key of realistic length. The routes have not been run against a live key.

What it does

  • Email validation: one real-time result per address: result (deliverable, undeliverable, do_not_send, catch_all or unknown), risk (high, medium, low or unknown), reasons such as mailbox_does_not_exist, no_mx, high_risk_domain or catch_all, plus isDisposableAddress, isRoleAddress, didYouMean for domain typos, rootAddress for aliases and engagement data where Mailgun has it.
  • Keep only what you need: keep all results, deliverable addresses only, or drop undeliverable and do_not_send addresses. Left out rows are not charged.
  • Provider lookup switch: let Mailgun ask the mailbox provider when its own data is not enough (the API default), or turn it off for a data-only check.
  • Bulk list validation: the addresses become one CSV bulk job; the actor waits until Mailgun finishes and returns one summary row with result, risk and engagement counts and the CSV and JSON download links of the full results.
  • Validation jobs: read the status and summary of existing bulk jobs or List Health Preview jobs, by job ID or all at once.
  • US and EU hosts: pick the region your Mailgun account lives in.
  • Safe by design: no email is ever sent, and no job is cancelled, deleted or promoted to a paid job. Lines that are not email addresses are skipped without a call and cost nothing.

What you need

A Mailgun account whose plan includes Mailgun Validate. The actor never signs up or buys anything for you.

  1. Log in to Mailgun and open Account Settings, API Keys.
  2. Copy your private API key.
  3. Paste it into the Mailgun private API key field (or set the DATA_API_KEY secret) and pick your account region. The key is sent only as HTTP Basic auth (user api) to api.mailgun.net or api.eu.mailgun.net, and is removed from every log line and message.

Input

FieldModesNotes
modeallvalidateAddresses, bulkValidation, validationJobs
apiKeyallyour Mailgun private API key; falls back to the DATA_API_KEY secret
regionallus (default) or eu
addressesvalidateAddresses, bulkValidationone email address per line, at most 512 characters
providerLookupvalidateAddresseson by default
resultFiltervalidateAddressesall, deliverable, dropUndeliverable
jobNamebulkValidationunique job name, no @; generated when empty
waitMinutesbulkValidationhow long to wait for the job (default 30)
jobTypevalidationJobsbulk or preview
jobIdsvalidationJobsjob names; empty lists every job
maxResultsallstop after this many rows (default 1,000)

Example input:

{
"mode": "validateAddresses",
"region": "us",
"addresses": ["john.smith@example.com", "sales@example.org", "jane@gmial.com"],
"providerLookup": true,
"resultFilter": "all"
}

Output

An email validation row (the values are illustrative):

{
"recordType": "validation",
"found": true,
"mode": "validateAddresses",
"query": "jane@gmial.com",
"region": "us",
"address": "jane@gmial.com",
"domain": "gmial.com",
"result": "undeliverable",
"risk": "high",
"isDeliverable": false,
"reasons": ["no_mx"],
"reasonText": "no_mx",
"isDisposableAddress": false,
"isRoleAddress": false,
"didYouMean": "jane@gmail.com"
}

A bulk job row carries jobId, status, isFinished, quantity, recordsProcessed, createdAt, deliverable, undeliverable, doNotSend, catchAll, unknown, riskHigh, riskMedium, riskLow, riskUnknown, engagement counts when present, downloadCsvUrl and downloadJsonUrl. List Health Preview rows carry the same columns with summaryUnit set to percent, because previews summarise a sample.

Pricing

Pay per event, only for rows with data:

EventPrice
Email validation result$0.005
Validation job summary (bulk or preview job with a summary)$0.01

Mailgun bills the validations themselves to your Mailgun account, separately from this actor.

FAQ

What is the Mailgun Validate API?

Mailgun Validate is the email verification service of Mailgun, the email delivery platform. Its v4 API checks an address with syntax checks, DNS and MX validation, spell checks, provider specific mailbox grammar and mailbox detection, and returns a result, a risk level and the reasons.

What do deliverable, undeliverable, do_not_send, catch_all and unknown mean?

Deliverable addresses should accept email. Undeliverable addresses will bounce. do_not_send addresses are highly risky and would hurt your sending reputation. catch_all means the domain accepts all mail, so the mailbox cannot be confirmed. unknown means the check was inconclusive; the reasons column says why.

Does it detect disposable, role and typo addresses?

Yes. isDisposableAddress flags temporary inbox domains, isRoleAddress flags mailboxes such as admin@, sales@ or support@, and didYouMean suggests the closest domain when the domain looks like a typo, such as gmial.com for gmail.com.

When should I use bulk list validation instead of single validation?

Use single validation for sign-up forms and lists up to a few thousand addresses, when you want one row per address. Use bulk list validation for large lists: Mailgun processes the CSV as one job and the actor returns a summary row with download links to the full per-address results. Mailgun allows up to 5 bulk jobs in parallel and 25MB per file.

Does it work with an EU Mailgun account?

Yes. Set the region to EU and the actor calls api.eu.mailgun.net, where Mailgun serves single and bulk validation for EU accounts.

Does it send any email?

No. Only validation and job read routes are called. Sending, cancelling or deleting jobs and promoting a preview to a paid job are never called.

What do I pay?

$0.005 per validated address and $0.01 per job summary to this actor, plus whatever your Mailgun plan charges for the validations. Skipped lines, filtered out rows, running jobs without a summary, empty answers and refused lookups are free.

Keyword map

email validation API, email verification API, email verifier, bulk email verifier, email list cleaning, email deliverability check, catch-all detection, disposable email detection, role address detection, email typo correction, bounce prevention, Mailgun Validate API, Mailgun email validation.

Routes and verification

ModeRouteProbe with an invalid 50 character key (twice)
Email validationGET /v4/address/validate (address, provider_lookup)401 JSON "Invalid private key" on US and EU hosts
Bulk list validationPOST /v4/address/validate/bulk/{list_id}, then GET /v4/address/validate/bulk/{list_id}401 JSON "Invalid private key"
Validation jobsGET /v4/address/validate/bulk, GET /v4/address/validate/preview and their /{list_id} routes401 JSON "Invalid private key"
Invented control routes/v4/address/validatez, /v4/address/validate/bulkz, /v4/address/validate/previewz404 JSON "not found"

Licensing and data use

This actor works only with your own Mailgun key, and your agreement with Mailgun applies, including its Acceptable Use Policy: Mailgun intends validation for addresses collected through your own forms, registrations and customer lists. Validation results are deliverables for your internal use; the addresses you validate remain your own customer data. This actor is not affiliated with or endorsed by Mailgun.