# Email Validator - Syntax, MX, Disposable & Role Check (`darikami/email-address-checker`) Actor

Validate email lists in bulk before you import or mail them. Each address gets a syntax check, its mail route in DNS (MX), a disposable flag and a role-account flag such as info@. It never connects to a mail server, so it cannot tell whether a mailbox exists. USD 1.50 per 1,000 addresses.

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

## Pricing

$1.50 / 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

## Email Validator - Syntax, MX, Disposable & Role Check

**Check an email list before you import it or mail it.** Each address gets a status from 3 checks: syntax, a mail route in DNS and a disposable-domain list. A separate flag marks role accounts such as info@.
The main fields are `status`, `mailRoute` (`mx`, `a-fallback`, `null-mx`, `none`), `mxHosts`, `disposable` and `roleAccount`. The actor reads public DNS. It never connects to a mail server, so it cannot tell whether a mailbox exists.
**USD 0.0015 per address (USD 1.50 per 1,000).** An invalid address is a row too and is charged. A failed DNS lookup (`unknown`) and the note that maxResults stopped a run are free.
Input: a list of addresses, for example `{"emails": ["info@gmail.com", "someone@mailinator.com", "not-an-address"]}`.

| Input | Status | Mail route | Disposable | Role account |
|---|---|---|---|---|
| info@gmail.com | ok | mx | no | yes |
| someone@mailinator.com | disposable | mx | yes | no |
| admin@wikipedia.org | ok | mx | no | yes |
| jane.doe@this-domain-does-not-exist-meniti.invalid | no-mail-server | none | no | no |
| not-an-address | invalid-syntax | - | - | - |

The rows come from a real cloud run of 2026-11-08. The full item is under Output.

### Who uses it

- **Sign-up forms and imports:** drop text that is no address, and domains that take no mail, before you store a list.
- **Lead and CRM lists:** flag disposable domains and role accounts such as `info@` before a campaign.
- **Mail preparation:** find the addresses that a bounce is likely for, because the domain has no mail route.

### What it does not do

- It never opens an SMTP connection and never sends a message. It cannot tell whether a mailbox exists, is full, or will accept a message. `status: ok` means: the syntax fits, the domain has a mail route in DNS, and the domain is not on the disposable list.
- The disposable list is a snapshot from 2026-11-08. New disposable domains appear every day, and a domain may be on the list by mistake.
- Role accounts come from a fixed list of common names (`info`, `admin`, `support`, `sales` and others). A company can use any of them for a person.
- `unknown` means a DNS lookup failed (timeout or server error). The domain may be fine. Run the address again later.
- Quoted local parts (`"a b"@example.com`) and address literals (`a@[1.2.3.4]`) are not supported and come back as `invalid-syntax`.

### Input

```json
{
  "emails": ["info@gmail.com", "someone@mailinator.com", "not-an-address"],
  "maxResults": 10000
}
```

| Field | What it does |
|---|---|
| `emails` | The addresses to check. Duplicates and empty entries are skipped. Up to 100,000. |
| `maxResults` | The run checks at most this many addresses. Default 10,000. |

### Output

One item per address:

```json
{
  "input": "info@gmail.com",
  "status": "ok",
  "syntaxValid": true,
  "syntaxError": null,
  "email": "info@gmail.com",
  "domain": "gmail.com",
  "mailRoute": "mx",
  "mxHosts": ["gmail-smtp-in.l.google.com", "alt1.gmail-smtp-in.l.google.com"],
  "disposable": false,
  "roleAccount": true,
  "source": "syntax check, public DNS (MX, A, AAAA), disposable-email-domains snapshot (CC0 1.0)"
}
```

- `status`: `ok`, `invalid-syntax`, `no-mail-server` (no MX and no address record, or a null MX), `disposable` or `unknown`.
- `mailRoute`: `mx` has MX records. `a-fallback` has none, but the domain has an A or AAAA record, and mail servers then deliver to that address. `null-mx` says the domain takes no mail. `none` has neither.
- `mxHosts` lists up to 10 mail hosts by priority. The domain part of `email` is lower case; the part before @ keeps your spelling.
- Each domain is looked up once per run, however many addresses use it.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `row` | **USD 0.0015** | one address checked and pushed to the dataset |

Free: the note that maxResults stopped the run, an `unknown` row (the DNS lookup failed), and the addresses left untried after DNS failed for 25 domains in a row.
1,000 addresses cost USD 1.50.
You pay no more than the maximum charge that you set for a run.

### Personal data

- An email address is personal data. You are responsible for having a lawful basis to process the addresses that you send, for example consent or a contract.
- The actor processes only the addresses that you send. It stores nothing outside your run's dataset, and it contacts no mail server. The only outside requests are DNS lookups for the domain part, which the DNS servers on the way can see.

### Data source and terms

- **Syntax:** the common address form of RFC 5321 and RFC 5322, checked by the actor's own code.
- **Mail route:** public DNS, read with Node's `dns/promises`: MX, then A and AAAA as RFC 5321 section 5.1 allows. Each lookup has a timeout of about 10 seconds per DNS server.
- **Disposable domains:** the `disposable-email-domains` blocklist (github.com/disposable-email-domains/disposable-email-domains, CC0 1.0), 10,181 domains, snapshot of 2026-11-08, commit 31ccaba.
- **Role accounts:** a list of common function names, written for this actor.
- The actor is provided without warranty.

**More official-data actors by darikami:** [European company registers](https://apify.com/darikami/european-company-registers) · [SEC company fundamentals](https://apify.com/darikami/sec-company-fundamentals) · [Swiss UID validator](https://apify.com/darikami/swiss-uid-validator) · [French company search](https://apify.com/darikami/french-company-search).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/email-address-checker`.

# Actor input Schema

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

The addresses to check, one per entry. You need a lawful basis to process the addresses that you send. Up to 100,000.

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

The run checks at most this many addresses.

## Actor input object example

```json
{
  "emails": [
    "info@example.com",
    "someone@mailinator.com",
    "not-an-address"
  ],
  "maxResults": 10000
}
```

# Actor output Schema

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

One item per address: status, mail route, disposable domain, role account.

## `summary` (type: `string`):

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

## `stats` (type: `string`):

STATS record: addresses, checked, ok, invalidSyntax, noMailServer, disposable, unknown, notTried, emitted, charged.

# 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@example.com",
        "someone@mailinator.com",
        "not-an-address"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/email-address-checker").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@example.com",
        "someone@mailinator.com",
        "not-an-address",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("darikami/email-address-checker").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@example.com",
    "someone@mailinator.com",
    "not-an-address"
  ]
}' |
apify call darikami/email-address-checker --silent --output-dataset

```

## MCP server setup

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

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/cUGHbdHqvRFZCBNCP/builds/Ga0SGktaxQX4sY92T/openapi.json
