Bulk Email Verifier & Validator: Syntax, MX, Role
Pricing
from $0.19 / 1,000 emails checked
Bulk Email Verifier & Validator: Syntax, MX, Role
Bulk email verifier and validator at $0.29 per 1,000: RFC syntax, DNS MX and null MX, role accounts, domain typo hints, and an exact match on a built-in list of 10,141 disposable domains (not exhaustive). No mailbox (SMTP) check. Works with n8n, Make, Zapier and AI agents via MCP.
Pricing
from $0.19 / 1,000 emails checked
Rating
0.0
(0)
Developer
PlainKit bin
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Bulk Email Verifier & Validator: Syntax, MX, Role (plainkitbin/email-syntax-mx-validator)
Actor slug: plainkitbin/email-syntax-mx-validator — email syntax MX validator and bulk email verifier.
Introduction
Clean an email list in bulk with this verifier and validator before you send to it. For each address this Actor checks syntax against a strict ASCII subset of RFC 5321 and RFC 5322, queries DNS MX records with fallback to address records, flags role mailboxes such as info or support, suggests a fix for common domain typos, and flags an exact match on a built-in list of 10,141 disposable domains that is not exhaustive. You get one row per address with a simple status: mx_ok, risky or invalid.
What it does not do: it never connects to mail servers, so it makes no mailbox (SMTP) check. mx_ok means the domain has mail routing, not that the mailbox exists. Use it as a low-cost first pass, at $0.29 per 1,000 addresses on the FREE tier, to remove addresses that cannot work. It also runs from n8n, Make and Zapier, and from AI agents through the Apify MCP server.
Use cases
- Marketing list cleaning: Filter out syntax errors, defunct domains, and null MX domains before launching cold email or newsletter campaigns.
- Form submission hygiene: Validate bulk contact submissions and catch domain typos such as typos in popular providers.
- Spam and abuse reduction: Flag exact matches on a built-in list of 10,141 disposable domains that is not exhaustive and generic role mailboxes (e.g., admin, info, support) to protect lead scoring and onboarding pipelines.
Sample output
Each address gives one row like this illustrative one:
{"checked_utc": "2026-11-04T12:00:00Z","did_you_mean": "","domain": "example.com","email": "user@example.com","has_mx": true,"is_disposable": false,"is_free_provider": false,"is_role_account": false,"mx_hosts": ["mail.example.com"],"normalized_email": "user@example.com","reason": "syntax_and_mx_ok","score": 100,"status": "mx_ok","syntax_valid": true}
Tutorial
Step-by-step guide
- Prepare a JSON input object containing the
emailsarray with up to 100,000 email addresses. - Run the Actor on the Apify platform or trigger it via the Apify API.
- Once completed, view or download the checked dataset in JSON, CSV, or Excel format.
- Filter rows by
status(mx_ok,risky,invalid) to segment your contacts.
Pricing
The Actor is priced on a Pay-Per-Event model under the email-checked event. Under the FREE tier, the cost is $0.00029 per checked address, with tiered discounts available for higher subscription tiers.
- Event name:
email-checked - Pricing model: Apify Pay-Per-Event
- Tier prices:
- FREE: $0.00029 per event
- BRONZE: $0.000261 per event
- SILVER: $0.000232 per event
- GOLD: $0.000193 per event
- PLATINUM: $0.000193 per event
- DIAMOND: $0.000193 per event
Charge contract
Each row is pushed first and charged right after a successful push; a refused charge stops work and that row stays delivered and uncharged; a reached limit stops work after that row was charged; failed items are neither pushed nor charged.
- Duplicates and blank lines: Blank lines are ignored and not charged. Duplicate addresses within the input list are deduplicated before any charge; deduplication keeps the local part case-sensitive and lowercases the domain. Duplicate addresses are discarded and are not charged.
- Failed items: If a DNS timeout or nameserver failure occurs during lookup, the address is considered a failed item; failed items produce no row, so compare input and output to find them, and failed items are not charged. A failed lookup applies to every address of that domain in that run.
- Invalid input: A run with invalid input ends as failed before any address is processed; invalid input is not charged.
- Restarted runs: Rows already in the dataset of a restarted run are skipped and not charged again; if the dataset of a restarted run cannot be read, the run fails with DATASET_READ_FAILED before any new row or charge.
- Largest bill: For the maximum input of 100,000 addresses, the bill is $29.00 at the FREE price ($0.00029 per address) and $19.30 at the GOLD price ($0.000193 per address). Buyers can configure a maximum cost per run setting in the Apify Console.
- Unprocessed items and runtime budget: The actor timeout is
RUN_TIMEOUT_SECONDS = 3600seconds. When remaining execution time drops below the safety margin (DEADLINE_MARGIN_SECONDS = 15seconds, derived fromMAX_DNS_QUERIES_PER_DOMAIN * DNS_LIFETIME_SECONDS), the run stops gracefully with stop codeRUN_TIME_BUDGET_REACHED. Unprocessed addresses are neither pushed nor charged. - Large lists: A run stops when its 3,600 second time budget is nearly used. How many addresses fit depends on DNS speed and on platform calls for each row, and it has not been measured for large lists. Each address needs one DNS lookup unless its domain was already looked up in the run, then one push and one charge, in sequence. Addresses not reached produce no row and no charge, and the status message gives the count. To be safe, split a very large list into several runs.
- Syntax edge cases: Internationalised addresses (non-ASCII characters or IDN) and quoted local parts return invalid_syntax and are charged, as syntax validation requires standard ASCII dot-atom local parts.
Input and output examples
Input example
{"emails": ["user@example.com","support@example.com","invalid-user@example.org"]}
The prefilled sample uses example.com, which publishes a null MX, so a first run returns invalid with reason null_mx. Put your own list in its place.
Output example
Illustrative row, not a live result. Real domains return their own records, and example.com itself publishes a null MX.
{"checked_utc": "2026-11-04T12:00:00Z","did_you_mean": "","domain": "example.com","email": "user@example.com","has_mx": true,"is_disposable": false,"is_free_provider": false,"is_role_account": false,"mx_hosts": ["mail.example.com"],"normalized_email": "user@example.com","reason": "syntax_and_mx_ok","score": 100,"status": "mx_ok","syntax_valid": true}
Output fields
| Field | Type | Description |
|---|---|---|
checked_utc | String | ISO 8601 UTC timestamp of when the address was checked |
did_you_mean | String | Suggested address correction for common domain typos |
domain | String | Extracted lowercased domain part (empty for invalid syntax) |
email | String | Email holds the trimmed input string (truncated to 254 chars on invalid rows) |
has_mx | Boolean | True if the domain has valid DNS MX records |
is_disposable | Boolean | True if domain is an exact match on a built-in list of 10,141 domains that is not exhaustive |
is_free_provider | Boolean | True if the domain is an exact match (after lowercasing) on a built-in list of 4,462 free mailbox provider domains such as gmail.com. It is information, not risk, and does not change status or score |
is_role_account | Boolean | True if local part is a generic role account (admin, support, etc.) |
mx_hosts | Array | Up to 5 MX hostnames ordered by preference, and a hostname with a long digit run may be masked by the output safety filter |
normalized_email | String | Normalized email representation (truncated to 254 chars on invalid rows) |
reason | String | Machine-readable diagnosis reason code |
score | Integer | 0 to 100. The share of passed checks among the checks that apply to the address, times 100, rounded down. All checks weigh the same. For an address with valid syntax the six checks are: syntax valid, the domain has MX or A/AAAA records, the domain does not publish a null MX, not a disposable domain, not a role account, no did_you_mean typo suggestion. An address with invalid syntax has only the syntax check and scores 0. Free provider does not lower the score. status is unchanged and is not derived from score |
status | String | High-level validation status: mx_ok, risky, or invalid |
syntax_valid | Boolean | True if email adheres to RFC 5321 / RFC 5322 syntax specifications |
Status and reason reference
| Status | Reason | Description |
|---|---|---|
mx_ok | syntax_and_mx_ok | Syntax is valid and domain has valid DNS MX records |
risky | a_record_fallback | Domain lacks MX records but has valid A or AAAA host records |
risky | disposable_domain | Domain is an exact match on a built-in list of 10,141 domains that is not exhaustive |
risky | role_account | Local part matches a shared departmental role mailbox |
invalid | invalid_syntax | Email fails RFC 5321 length limits or character syntax rules |
invalid | nxdomain | Domain does not exist according to the DNS resolver |
invalid | null_mx | Domain explicitly announces it does not accept mail (RFC 7505) |
invalid | no_mx_or_a_record | Domain exists but has no MX, A, or AAAA DNS routing records |
Actor recommendations
For full lead pipeline management, pair this Actor with:
- Web Scraper & Crawler Actors: Extract business contact pages and domain references.
- CRM Integrator Actors: Ingest checked clean contacts directly into your CRM or email delivery platform.
FAQ and support
Does this check confirm that a specific mailbox actually exists?
No. It checks syntax, DNS MX records, an exact match on a built-in list of 10,141 domains that is not exhaustive, and role patterns. It does not connect to mail servers and does not prove the mailbox exists.
The disposable list is the public disposable-email-domains project (CC0 1.0), commit a72c0cec of 2026-11-04, minus 2 entries removed for our release checks.
The free provider list is the public willwhite/freemail project (https://github.com/willwhite/freemail, ISC license), commit 5d69d4e6 of 2020-07-03, file data/free.txt, used as data only: 4,462 domains after dropping 4 lines that are not domains. It is old and not exhaustive, and is_free_provider is an exact domain match only.
Can I read the addresses from an Apify dataset?
Yes. Set inputDatasetId to the ID of one of your own datasets and emailField to the field that holds the address (default email). The addresses are merged with the emails array before duplicates are removed, and the 100,000 address limit applies to the merged list. Items without text in that field are skipped and not charged. If the dataset is missing or cannot be read, the run stops with INPUT_DATASET_READ_FAILED before any address is processed, and nothing is charged. The Actor only reads your dataset and writes results only to its own default dataset. There is no CSV URL input.
Are my email lists logged or stored?
Addresses are never written to run logs, which hold aggregate counts and status codes only. The input list and the output rows stay in the buyer's own Apify run storage under the buyer's retention settings, because the output rows are the delivered result. The buyer must have a lawful basis to process the list under applicable data protection laws (such as GDPR).
Support and inquiries
For issues, bug reports, or feature requests, submit a ticket through the Apify Console Actor issue tracker.
Why use this Actor vs. raw DIY scripts
| Capability | plainkitbin/email-syntax-mx-validator | Raw DIY script |
|---|---|---|
| Strict syntax & typo hints | Validates RFC 5321 / RFC 5322 ASCII dot-atom syntax and returns did_you_mean hints for common provider typos | Loose regexes that miss length limits or label rules |
| DNS MX, null MX & A/AAAA fallback | Queries MX records, detects RFC 7505 null MX (null_mx), falls back to A/AAAA (a_record_fallback), and caches lookups per domain with bounded 5 s DNS lifetime; No mailbox (SMTP) check | Sequential uncached DNS calls with hanging sockets |
| Built-in domain & role lists | Flags exact matches on a built-in list of 10,141 disposable domains (not exhaustive), 4,462 free provider domains (not exhaustive), and 35 role mailboxes, plus a 0-100 score | Manually maintained lists and inconsistent scoring |
| Pre-charge deduplication & restart safety | Drops blank lines and duplicates before any charge, skips already delivered items on resume, and merges optional inputDatasetId inputs | Duplicate checks and double billing on retries |
| Runtime budget & log hygiene | Stops gracefully with RUN_TIME_BUDGET_REACHED before timeout, pushes before charging (email-checked), and logs aggregate counts only (never raw addresses) | Unhandled timeouts and raw email addresses in logs |
API Integration (Python, Node.js, cURL)
Run the Actor synchronously and fetch normalized dataset items from https://api.apify.com/v2/acts/plainkitbin~email-syntax-mx-validator/run-sync-get-dataset-items using <YOUR_APIFY_TOKEN>:
cURL
curl -sS -X POST \"https://api.apify.com/v2/acts/plainkitbin~email-syntax-mx-validator/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"emails": ["user@example.com","support@example.com"]}'
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("plainkitbin/email-syntax-mx-validator").call(run_input={"emails": ["user@example.com","support@example.com",],})items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
Node.js (apify-client)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('plainkitbin/email-syntax-mx-validator').call({emails: ['user@example.com','support@example.com',],});const { items } = await client.dataset(run.defaultDatasetId).listItems();
Use as an MCP Tool (AI Agents)
AI agents and MCP clients (such as Claude Desktop or Cursor) can invoke plainkitbin/email-syntax-mx-validator directly via @apify/actors-mcp-server over stdio:
$APIFY_TOKEN=<YOUR_APIFY_TOKEN> npx -y @apify/actors-mcp-server --actors plainkitbin/email-syntax-mx-validator
Hosted (streamable HTTP): connect to https://mcp.apify.com?tools=plainkitbin/email-syntax-mx-validator using OAuth or the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
Example MCP client configuration (mcpServers):
{"mcpServers": {"email-syntax-mx-validator": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","plainkitbin/email-syntax-mx-validator"],"env": {"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"}}}}
Example JSON tool call matching .actor/input_schema.json:
{"emails": ["user@example.com","support@example.com"]}