# Bulk Email Verifier API – MX, Disposable, Role, Typo – $0.6/1k (`henrycrawl/email-validator-api`) Actor

Validate emails in bulk without SMTP: RFC syntax, MX records, disposable domains, role accounts, free providers, typo fixes (gmial.com→gmail.com), SPF/DMARC and a 0-100 score. Works with AI agents via Apify MCP. Pay per email; error rows are free.

- **URL**: https://apify.com/henrycrawl/email-validator-api.md
- **Developed by:** [Henry Crawl](https://apify.com/henrycrawl) (community)
- **Categories:** Lead generation, 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.60 / 1,000 email verifieds

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 Verifier API – syntax, MX, disposable, role, typo, SPF/DMARC

Bad addresses in a mailing list hurt deliverability and sender reputation. This Actor checks every email in your list and returns one clean row per address – fast, and **without opening any SMTP connection** (no port 25, no mailbox probing, nothing that can get you blocklisted).

### What it checks

- **RFC syntax** (local part, dot rules, length limits, IDN domains)
- **MX records** (with A-record fallback and RFC 7505 null-MX detection) via DNS-over-HTTPS (Cloudflare, Google fallback)
- **Disposable / temporary domains** – public blocklist from GitHub (`disposable-email-domains`, thousands of domains), updated on every run
- **Role accounts** – info@, admin@, support@, sales@, noreply@ …
- **Free providers** – Gmail, Yahoo, Outlook, iCloud, Proton, GMX, Yandex, QQ …
- **Typo suggestions** – `gmial.com → gmail.com`, `hotmail.con → hotmail.com`
- **SPF and DMARC** presence (plus DMARC policy)
- A **0–100 score** and a simple **verdict**: `deliverable`, `risky`, `undeliverable`

### Output fields

| Field | Meaning |
|---|---|
| `email` | The address exactly as you sent it |
| `valid` | `true` if the syntax is correct and the domain can receive mail |
| `verdict` | `deliverable` (score ≥ 80), `risky`, or `undeliverable` |
| `reason` | `ok`, `role_account`, `disposable`, `possible_typo`, `invalid_syntax`, `invalid_domain`, `too_long`, `domain_not_found`, `no_mail_server`, `null_mx`, `no_mx_a_record_fallback`, `dns_error` |
| `score` | 0–100 quality score |
| `domain` | Normalized (punycode) domain |
| `mx` | Domain has usable MX records |
| `mxRecords` | Up to 5 MX hosts, by priority |
| `disposable` | Domain is a known disposable/temporary provider |
| `role` | Local part is a role/group address |
| `freeProvider` | Domain is a free webmail provider |
| `didYouMean` | Suggested correction when the domain looks like a typo |
| `spf`, `dmarc`, `dmarcPolicy` | Email authentication records of the domain |

### Example output (real run)

```json
{"email": "info@apify.com", "valid": true, "reason": "role_account", "verdict": "deliverable", "domain": "apify.com", "mx": true,
 "mxRecords": ["aspmx.l.google.com", "alt1.aspmx.l.google.com", "alt2.aspmx.l.google.com", "aspmx2.googlemail.com", "aspmx3.googlemail.com"],
 "disposable": false, "role": true, "freeProvider": false, "didYouMean": null, "spf": true, "dmarc": true, "dmarcPolicy": "reject", "score": 80, "type": "result", "status": "OK"}
```

```json
{"email": "foo@mailinator.com", "valid": true, "reason": "disposable", "verdict": "risky", "mx": true, "disposable": true, "role": false,
 "freeProvider": false, "didYouMean": null, "spf": true, "dmarc": true, "score": 20}
```

```json
{"email": "john.doe@gmial.com", "valid": false, "reason": "no_mail_server", "verdict": "undeliverable", "mx": false, "didYouMean": "john.doe@gmail.com", "score": 0}
```

### Input example

```json
{
  "emails": ["test@gmail.com", "info@apify.com", "foo@mailinator.com", "john.doe@gmial.com", "not-an-email"],
  "maxResults": 1000
}
```

### Pricing

**$0.60 per 1,000 verified emails** (pay per event, no start fee). Every input address – including ones found invalid – is one result. Empty inputs return a free error row. 1,000 emails finish in well under a minute.

### Limits (honest)

No SMTP check means the Actor cannot tell whether a specific mailbox exists on a valid domain. It tells you whether the address *can* exist and how risky it is – which removes the bulk of bounces (syntax errors, dead domains, typos, throwaway addresses) at a fraction of the price.

### Use with AI agents (MCP)

Connect any MCP client (Claude, Cursor, …) to:

`https://mcp.apify.com/?tools=henrycrawl/email-validator-api`

Then ask, for example: *"Check these 200 signup emails and list the disposable ones and the likely typos."*

# Actor input Schema

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

Email addresses to verify, one per line. Checked offline + DNS only (syntax, MX, disposable, role, free provider, typo, SPF/DMARC) - no SMTP connection, no mailbox probing.

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

How many domains are looked up in parallel via DNS-over-HTTPS.

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

Maximum number of email rows for the whole run (you are only charged for delivered rows).

## Actor input object example

```json
{
  "emails": [
    "test@gmail.com",
    "info@apify.com",
    "foo@mailinator.com",
    "john.doe@gmial.com",
    "support@github.com",
    "test@yahoo.com",
    "hello@example.com",
    "test@outlook.com",
    "admin@python.org",
    "not-an-email",
    "test@henrycrawl-no-such-domain-zz91.com",
    "sales@cloudflare.com"
  ],
  "concurrency": 20,
  "maxResults": 20
}
```

# Actor output Schema

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

One row per result, plus free error rows (type = error).

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

Counts for this run (SUMMARY record).

# 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": [
        "test@gmail.com",
        "info@apify.com",
        "foo@mailinator.com",
        "john.doe@gmial.com",
        "support@github.com",
        "test@yahoo.com",
        "hello@example.com",
        "test@outlook.com",
        "admin@python.org",
        "not-an-email",
        "test@henrycrawl-no-such-domain-zz91.com",
        "sales@cloudflare.com"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("henrycrawl/email-validator-api").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": [
        "test@gmail.com",
        "info@apify.com",
        "foo@mailinator.com",
        "john.doe@gmial.com",
        "support@github.com",
        "test@yahoo.com",
        "hello@example.com",
        "test@outlook.com",
        "admin@python.org",
        "not-an-email",
        "test@henrycrawl-no-such-domain-zz91.com",
        "sales@cloudflare.com",
    ],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("henrycrawl/email-validator-api").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": [
    "test@gmail.com",
    "info@apify.com",
    "foo@mailinator.com",
    "john.doe@gmial.com",
    "support@github.com",
    "test@yahoo.com",
    "hello@example.com",
    "test@outlook.com",
    "admin@python.org",
    "not-an-email",
    "test@henrycrawl-no-such-domain-zz91.com",
    "sales@cloudflare.com"
  ],
  "maxResults": 20
}' |
apify call henrycrawl/email-validator-api --silent --output-dataset

```

## MCP server setup

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

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/JkSfdtIcEb8rtDayX/builds/asyKflgcD06TDFtwh/openapi.json
