# Email Verifier & List Cleaner (Syntax, MX, Disposable) (`robindesbios/email-verifier-mx`) Actor

Bulk email verifier: checks syntax, domain, MX records, null MX, disposable providers, role accounts, free webmail and typos. Returns valid/risky/invalid with a score and reason. No API key and no SMTP probing. $0.60 per 1,000 emails.

- **URL**: https://apify.com/robindesbios/email-verifier-mx.md
- **Developed by:** [Robin DESBIOS](https://apify.com/robindesbios) (community)
- **Categories:** Lead generation, Developer tools, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

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

## Email Verifier & List Cleaner: Syntax, MX, Disposable, Role & Typo Check

Clean your email lists **before** you send. This Actor checks every address in bulk and tells you whether it is **valid**, **risky**, **invalid** or **unknown**, with a clear reason and a 0–100 score. It needs no API key, no account and no third-party verification service. It is fast and low-cost, and it never sends an email.

### Who is it for?

- **Cold-email and outbound teams** who want fewer bounces and a better sender reputation
- **Lead-generation users** cleaning lists from scrapers (Google Maps, LinkedIn, website crawlers...)
- **Marketers** importing CSVs into Mailchimp, HubSpot, Brevo, Instantly, Lemlist...
- **Developers** validating sign-up forms or CRM data through the Apify API

### What it checks

| Check | What it means |
|---|---|
| **Syntax** | RFC-style validation of the local part, domain labels, TLD and lengths (IDN supported) |
| **Domain exists** | DNS lookup; NXDOMAIN domains are flagged as invalid |
| **MX records** | Does the domain have a mail server? Lists the MX hosts by priority |
| **Null MX (RFC 7505)** | Domains that explicitly refuse email (e.g. `example.com`) are flagged invalid |
| **Implicit MX** | Domains without MX but with an A record are marked *risky* |
| **Disposable** | Matched against the open-source *disposable-email-domains* list (100k+ domains) |
| **Role account** | `info@`, `sales@`, `support@`, `admin@`... (shared inboxes, lower engagement) |
| **Free provider** | Gmail, Outlook, Yahoo, iCloud, Proton, GMX, Orange... (B2C vs B2B) |
| **Typo suggestion** | `john@gmial.com` → suggests `john@gmail.com` |

Duplicates are removed automatically. Each domain is resolved only once, so even large lists run fast.

### Input

```json
{
  "emails": ["info@apify.com", "someone@gmail.com", "test@mailinator.com", "bad@@mail"],
  "maxItems": 1000,
  "checkDisposable": true,
  "concurrency": 20
}
```

- `emails`: list of addresses. Comma, space or newline separated strings and `mailto:` links are accepted.
- `maxItems`: maximum number of emails to verify (default 20)
- `checkDisposable`: detect throwaway providers (default `true`)
- `concurrency`: number of parallel DNS lookups (default 20)

### Output

One dataset item per email:

```json
{
  "email": "test@mailinator.com",
  "input": "test@mailinator.com",
  "status": "risky",
  "reason": "Disposable / temporary email provider",
  "score": 40,
  "validSyntax": true,
  "localPart": "test",
  "domain": "mailinator.com",
  "domainExists": true,
  "hasMx": true,
  "mxRecords": ["mail.mailinator.com"],
  "isDisposable": true,
  "isRoleAccount": false,
  "isFreeProvider": false,
  "suggestion": null,
  "checkedAt": "2026-11-12T10:00:00+00:00"
}
```

**Status values**

- `valid`: correct syntax and a working mail server (MX) on the domain
- `risky`: disposable, likely typo, or no MX (A-record fallback only)
- `invalid`: bad syntax, non-existent domain, null MX, or no mail server at all
- `unknown`: DNS did not answer after 3 retries; run it again later

Export the results as CSV, Excel or JSON, or use them in Zapier, Make, n8n or the Apify API.

### Pricing

**$0.0006 per verified email**: $0.60 per 1,000 emails. You pay only for results in the dataset. There is no subscription and no extra start fee.

### Limits (read this)

- This Actor checks at the **domain/DNS level**. It does **not** open an SMTP connection, so it cannot confirm that a specific mailbox exists and it cannot detect catch-all servers. Most cloud IPs block port 25, and SMTP probing harms sender reputation, so we chose speed and reliability instead.
- Disposable detection depends on a community list. Brand-new throwaway domains may not be in it yet.
- Role and free-provider lists cover the most common cases, not every one.

### Legal & privacy

The Actor only processes the addresses **you** provide and runs public DNS queries. It does not scrape any website, does not log in anywhere and does not store your data beyond your own Apify dataset. Make sure you have a lawful basis (e.g. GDPR) to process the emails you upload.

# Actor input Schema

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

List of email addresses to check. One per line. Duplicates are removed automatically.

## `maxItems` (type: `integer`):

Maximum number of emails to verify (and results to return).

## `checkDisposable` (type: `boolean`):

Flag throwaway / temporary email providers using an open-source list of 100k+ domains.

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

How many domains to resolve in parallel.

## Actor input object example

```json
{
  "emails": [
    "info@apify.com",
    "support@github.com",
    "someone@gmail.com",
    "test@mailinator.com",
    "john.doe@example.com",
    "not-an-email",
    "sales@nonexistent-domain-zz9q.com",
    "admin@microsoft.com"
  ],
  "maxItems": 20,
  "checkDisposable": true,
  "concurrency": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

All results in a table (default dataset, Overview view).

# 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": [
        "info@apify.com",
        "support@github.com",
        "someone@gmail.com",
        "test@mailinator.com",
        "john.doe@example.com",
        "not-an-email",
        "sales@nonexistent-domain-zz9q.com",
        "admin@microsoft.com"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("robindesbios/email-verifier-mx").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": [
        "info@apify.com",
        "support@github.com",
        "someone@gmail.com",
        "test@mailinator.com",
        "john.doe@example.com",
        "not-an-email",
        "sales@nonexistent-domain-zz9q.com",
        "admin@microsoft.com",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("robindesbios/email-verifier-mx").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": [
    "info@apify.com",
    "support@github.com",
    "someone@gmail.com",
    "test@mailinator.com",
    "john.doe@example.com",
    "not-an-email",
    "sales@nonexistent-domain-zz9q.com",
    "admin@microsoft.com"
  ],
  "maxItems": 20
}' |
apify call robindesbios/email-verifier-mx --silent --output-dataset

```

## MCP server setup

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

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/VNuhQ5vBwI5d8j8H8/builds/Zul2j2htG9zvWru9M/openapi.json
