# Bulk Email Validator — syntax, MX, disposable & role check (`openregistry/bulk-email-validator`) Actor

Clean an email list before you send: syntax (RFC), domain exists, MX records, disposable domain (10,000+ list), role address (info@, sales@), typo suggestion (gmial.com). DNS only, no SMTP probing, so your IP is never flagged. Pay per email.

- **URL**: https://apify.com/openregistry/bulk-email-validator.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 email address checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk Email Validator — syntax, MX, disposable & role check

Clean an email list before you import it into your CRM or send a campaign. For every address the Actor tells you whether it is **valid**, **risky**, **invalid** or **unknown**, and why.

Checks performed, in this order:

1. **Syntax** — RFC 5321/5322 rules in their common form (length limits, allowed characters, dots, domain labels, top-level domain). International domains are converted to punycode.
2. **Domain exists** — DNS lookup; a domain that does not exist is `invalid`.
3. **Mail server** — MX records (sorted by priority). Domains that explicitly refuse email (null MX, RFC 7505) are `invalid`; domains with no MX but an A record (accepted by RFC 5321) are `risky`.
4. **Disposable domain** — embedded list of 10,000+ throwaway domains (mailinator, yopmail, 10minutemail...), sub-domains included.
5. **Role address** — info@, contact@, sales@, support@, no-reply@... (also in French, German, Spanish and Italian).
6. **Typo suggestion** — `jane@gmial.com` gets `didYouMean: jane@gmail.com`.
7. **Free provider flag** — Gmail, Outlook, Yahoo, iCloud, Orange... useful to separate B2B from B2C leads.

**No SMTP connection is ever made.** The Actor never talks to the recipient's mail server, so nothing is sent, your IP is not blacklisted, and the run is fast (thousands of addresses per minute, each domain looked up once).

### What it is for

- Remove dead and fake addresses from sign-up forms, lead lists and old CRM exports before they hurt your sender reputation.
- Block throwaway sign-ups (free trials, coupons) with the `isDisposable` flag.
- Route `info@` / `sales@` contacts differently from named people.
- Fix typos at the source with `didYouMean`.
- Run it from Make, Zapier, n8n or the API on every new form entry.

### Input example

```json
{
  "emails": ["john.doe@gmail.com", "info@apify.com", "someone@mailinator.com", "jane@gmial.com"],
  "fileUrl": "https://example.com/my-list.csv"
}
```

- `emails` — one address per entry; several per line separated by commas, semicolons or spaces also work.
- `fileUrl` — optional public link to a CSV/TXT file (max 20 MB); every address found in it is checked.
- `maxResults` — stop condition, you control the cost.

### Output example (real result)

`gmial.com` is a known typo-trap domain: it is flagged disposable and a correction is suggested.

```json
{
  "input": "jane@gmial.com",
  "email": "jane@gmial.com",
  "status": "risky",
  "reason": "disposable_domain",
  "syntaxValid": true,
  "domain": "gmial.com",
  "domainExists": true,
  "hasMx": false,
  "mxRecords": [],
  "isRoleBased": false,
  "isDisposable": true,
  "isFreeProvider": false,
  "didYouMean": "jane@gmail.com",
  "checkedAt": "2026-11-16T10:00:00.000Z"
}
```

| `status` | Meaning | Typical action |
|---|---|---|
| `valid` | Syntax OK, domain has mail servers, not disposable, not a role address | keep |
| `risky` | Deliverable domain but disposable, role-based, or no MX (A record only) | review / segment |
| `invalid` | Bad syntax, domain does not exist, or domain accepts no email | remove |
| `unknown` | DNS did not answer in time | retry later |

Export as CSV, Excel or JSON from the dataset, or read it through the API.

### Honest limits

- Without an SMTP probe, nobody can tell whether the **mailbox itself** exists (`jane@` vs `jnae@` on the same valid domain). Tools that claim it either connect to the server (slow, often blocked, risky for your IP) or guess. This Actor checks everything that can be checked reliably without that.
- Catch-all domains are not detected (that also requires SMTP).
- The disposable list is the open-source `disposable-email-domains` list (CC0), embedded at build time; brand-new throwaway domains may be missing.

### Privacy

The addresses you submit are only used to run the checks and are stored in your own Apify dataset. Only the **domain** is sent to DNS; the full address never leaves the run. You are responsible for having a lawful basis to process the addresses in your list (GDPR and similar laws).

### Pricing

**$0.0008 per address checked** ($0.80 per 1,000), plus nothing else. Duplicates in the same run are checked and charged once. Set a maximum charge per run in the Apify console and the Actor stops cleanly when it is reached.

### Step-by-step guide

- [Validate an email list without SMTP pinging (syntax, MX, disposable and role checks)](https://app.mahedesk.com/outils/guides/validate-email-list-without-smtp/)

# Actor input Schema

## `emails` (type: `array`):

One address per entry (you can also paste several separated by commas, semicolons or spaces). Duplicates are checked and charged once.

## `fileUrl` (type: `string`):

Public link to a CSV, TXT or any text file (max 20 MB). Every email address found in it is checked, in addition to the list above.

## `maxResults` (type: `integer`):

The run stops once this many addresses are delivered, so you control the cost.

## `concurrency` (type: `integer`):

Each domain is looked up once and cached for the whole run.

## Actor input object example

```json
{
  "emails": [
    "john.doe@gmail.com",
    "info@apify.com",
    "someone@mailinator.com",
    "jane@gmial.com"
  ],
  "maxResults": 100000,
  "concurrency": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "emails": [
        "john.doe@gmail.com",
        "info@apify.com",
        "someone@mailinator.com",
        "jane@gmial.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/bulk-email-validator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "emails": [
        "john.doe@gmail.com",
        "info@apify.com",
        "someone@mailinator.com",
        "jane@gmial.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/bulk-email-validator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "emails": [
    "john.doe@gmail.com",
    "info@apify.com",
    "someone@mailinator.com",
    "jane@gmial.com"
  ]
}' |
apify call openregistry/bulk-email-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/bulk-email-validator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/l2by1EPjwgdywCWrn/builds/dBgxdm5f4YIKGMuBh/openapi.json
