# Email Validator: Bulk Email Checker & Disposable Detection (`techliondev/email-validator`) Actor

Bulk email validator and email checker: syntax, domain and MX records, disposable, role and free-provider checks, typo fixes and a 0-100 score. Clean lists cheaply.

- **URL**: https://apify.com/techliondev/email-validator.md
- **Developed by:** [TechLion Dev](https://apify.com/techliondev) (community)
- **Categories:** Lead generation, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.13 / 1,000 email checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### 📧 What is Email Validator?

**Email Validator** checks a list of email addresses and tells you which ones are **valid, risky or invalid**, with a plain-English **reason** and a **0–100 score** for each. It checks the **syntax**, whether the **domain exists and has a mail server (MX records)**, and flags **disposable (throwaway) addresses**, **role accounts** (info@, sales@), **free providers** (Gmail, Yahoo, Outlook) and **typos** such as `gmial.com` with a suggested fix.

It is for marketers cleaning a mailing list, sales teams checking scraped leads, founders validating sign-ups, and developers and AI (artificial intelligence) agents that need a quick email check.

No browser, no login, no proxy and no emails are sent: **thousands of emails per minute**, at **$0.20 per 1,000 emails**.

- **Clean a list before a campaign** and protect your sender reputation by removing dead domains and typos.
- **Check leads** from a contact or lead scraper (read them straight from an Apify dataset).
- **Block throwaway sign-ups** from 10,000+ disposable email domains.
- **Separate personal and business emails** with the free-provider flag, and shared inboxes with the role flag.
- **Fix typos** with "did you mean" suggestions (`john@gmial.com` → `john@gmail.com`).

#### What does it check?

| | |
| --- | --- |
| ✅ Status: valid, risky, invalid or unknown | 💬 Reason in plain English |
| 💯 Score from 0 to 100 | ✍️ Syntax (well-formed address) |
| 🌐 Domain exists, has a mail server (MX, or A record fallback) | 📮 MX records and mail provider (Google, Microsoft, Zoho...) |
| 🗑️ Disposable / throwaway provider (10,000+ domains) | 👥 Role account (info@, sales@, support@, noreply@...) |
| 🆓 Free provider (Gmail, Yahoo, Outlook, iCloud...) | 🔤 Typo suggestion ("did you mean") |
| ➕ Plus tag (jane+news@...) | 🛡️ Domain SPF and DMARC records |

#### Statuses

| Status | Meaning |
| --- | --- |
| **valid** | Well-formed address on a domain with a working mail server, not disposable, not a role account |
| **risky** | Deliverable domain but disposable, a role account, a likely typo, or DNS that fails to answer |
| **invalid** | Bad syntax, the domain does not exist, it has no mail server, or it refuses email (null MX) |
| **unknown** | The DNS lookup timed out; try again later |

#### Why this validator?

- **Cheap:** $0.20 per 1,000 emails, no start fee worth mentioning, and filtered-out emails are free.
- **Fast:** DNS answers are cached per domain, so 10,000 emails on a few hundred domains finish in seconds.
- **Clear output:** one row per email with status, reason, score and every individual check, ready for Excel or your CRM (customer relationship management) tool.
- **Works with your scrapers:** give it a dataset ID and the name of the email field.

**What it does not do:** it does not log in to mail servers or send test emails, so it cannot confirm that a specific mailbox exists on a working domain (for example, `nobody123@gmail.com` is reported as valid because Gmail accepts mail). It removes the addresses that are certain to bounce or are low quality, which is most of the cleanup for scraped or user-entered lists.

### ⬇️ Input

- **Emails:** one per line. `Jane Doe <jane@company.com>`, comma-separated lists and `mailto:` links are understood. Duplicates are removed.
- **Dataset ID** and **Dataset email field** (optional): check the emails of another Apify run, for example a contact details scraper.
- **Keep only these results** (optional): for example only `valid` for a clean list. Filtered-out emails are not charged.

Example input:

```json
{
    "emails": [
        "support@apify.com",
        "john.doe@gmial.com",
        "test@mailinator.com",
        "Jane Doe <jane.doe@outlook.com>",
        "info@example.com"
    ],
    "keepStatuses": ["valid", "risky"]
}
```

### ⬆️ Output

You get one row per email, with the same columns on every row. The dataset has three views: **Overview**, **Domain and DNS** and **Flags**. A `RUN_SUMMARY` record has the counts by status.

#### Table view

| Email | Status | Score | Reason | Did you mean | Provider |
| --- | --- | --- | --- | --- | --- |
| not-an-email | invalid | 0 | Missing @ |  |  |
| jane.doe@outlook.com | valid | 90 | Valid address on a free email provider |  | Microsoft |
| info@example.com | invalid | 0 | Domain does not accept email (null MX) |  |  |
| test@mailinator.com | risky | 10 | Disposable (throwaway) email provider; Role account (shared… |  | Mailinator |
| ceo@nonexistent-company-zz9.com | invalid | 0 | Domain does not exist |  |  |
| maria@gmail.con | invalid | 0 | Domain does not exist | maria@gmail.com |  |
| support@apify.com | risky | 75 | Role account (shared inbox) |  | Google |
| alex+news@proton.me | valid | 90 | Valid address on a free email provider |  | Proton Mail |
| sales@stripe.com | risky | 75 | Role account (shared inbox) |  | Google |
| john.doe@gmial.com | invalid | 0 | The domain's DNS servers fail to answer (SERVFAIL), so mail… | john.doe@gmail.com |  |

#### JSON example

```json
{
    "email": "maria@gmail.con",
    "status": "invalid",
    "reason": "Domain does not exist",
    "score": 0,
    "isValidSyntax": true,
    "domain": "gmail.con",
    "localPart": "maria",
    "hasMx": false,
    "mxRecords": [],
    "mailProvider": null,
    "isDisposable": false,
    "isRoleAccount": false,
    "isFreeProvider": false,
    "hasPlusTag": false,
    "didYouMean": "maria@gmail.com",
    "domainHasSpf": false,
    "domainHasDmarc": false,
    "input": "maria@gmail.con",
    "checkedAt": "2026-11-21T15:53:13.134Z"
}
```

### ▶️ How to use it

1. Click **Try for free** (an Apify account is free to create).
2. Paste your emails, or enter the dataset ID of a scraper run.
3. Optionally choose which statuses to keep.
4. Click **Start**. The sample list finishes in about 2 seconds.
5. Download the results from the **Output** tab as Excel, CSV (comma-separated values) or JSON (JavaScript Object Notation), or connect them to another tool.

### 💲 How much does it cost?

This Actor uses **pay-per-event pricing**: you pay only for the emails you get back, never for the computer time behind them.

| Event | Price (free plan) | When it is charged |
| --- | --- | --- |
| Actor start | $0.00005 | Once per run |
| **Email checked** | **$0.0002** ($0.20 per 1,000 emails) | For each email saved to the dataset, after your status filter |

Paid Apify plans get lower prices automatically (for example $0.16 per 1,000 emails on the Silver plan). See the **Pricing** tab for every plan.

**Worked examples**

- **Sample run (5 emails):** **about $0.001**.
- **10,000 scraped leads:** **about $2.00**.
- **Daily check of 200 new sign-ups:** 30 runs × 200 × $0.0002 = **about $1.20 per month**.

### 🎯 Use cases

- **Email marketing:** remove dead domains, typos and throwaway addresses before you send, to cut bounces.
- **Lead generation:** score and filter emails found by contact and lead scrapers; keep business emails, drop role inboxes.
- **Sign-up quality:** spot disposable and mistyped addresses in your user list.
- **CRM hygiene:** add a status and score column to every contact.
- **AI agents and automations:** a fast, structured email check you can call from any workflow.

### 🔌 Integrations

This Actor works with everything on the Apify platform:

- **Chain it** after any scraper: pass the scraper's dataset ID and email field.
- **Schedules and webhooks:** check new emails every day, get a call when a run finishes.
- **Apps:** send results to Google Sheets, HubSpot, Slack, Zapier, Make, Airtable and more with Apify's ready-made integrations.
- **API and code:** start runs and read results from any language (see below and the **API** tab).
- **AI agents:** the Actor is available through the Apify MCP (Model Context Protocol) server, so AI assistants can call it as a tool.

### 💻 Use it from code (API)

Replace `YOUR_APIFY_TOKEN` with the API token from the **Settings > API & Integrations** page in Apify Console.

**Python** (install with `pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("techliondev/email-validator").call(run_input={
    "emails": ["jane@company.com", "bob@gmial.com", "temp@mailinator.com"],
})

for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["email"], row["status"], row["score"], row["reason"])
```

**JavaScript / Node.js** (install with `npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('techliondev/email-validator').call({
    datasetId: 'YOUR_SCRAPER_DATASET_ID',
    datasetField: 'email',
    keepStatuses: ['valid'],
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Any language (HTTP):** send a POST request with the input as JSON to the `run-sync-get-dataset-items` endpoint for `techliondev~email-validator` and you get the results back in the response.

### ❓ FAQ

#### Does it send emails or contact the mailbox?

No. Nothing is sent and no mail server is contacted. The Actor uses syntax rules, DNS (Domain Name System) lookups and reference lists. That is why it is fast, cheap and private.

#### Can it tell whether a specific mailbox exists?

Not on domains that accept mail: confirming a single mailbox requires talking to the mail server, which many providers block or answer with "accept everything". This validator removes everything that is certain to bounce (bad syntax, missing or broken domains, no mail server) and flags low-quality addresses (disposable, role, typos).

#### How is the score calculated?

Valid addresses on a domain with MX records start at 80; SPF and DMARC records add 5 each. Role accounts lose 15 points; disposable addresses and likely typos are capped at 15–25. Invalid addresses score 0. Use the status for decisions and the score for sorting.

#### Where does the disposable list come from?

From a community-maintained public list of more than 10,000 throwaway email domains, bundled with the Actor and refreshed with new versions.

#### Is it legal to validate emails?

Yes, checking the format of an address and public DNS records is standard practice. You remain responsible for how you collect and use email addresses (for example consent rules for marketing emails), so check the rules that apply to you.

#### Your feedback

Found a bug or want a feature? Please open an issue on the **Issues** tab. We aim to reply within a few days.

# Actor input Schema

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

Emails to check, one per line. Lines like "Jane Doe <jane@company.com>", comma-separated lists and mailto: links are understood. Duplicates are removed. When you leave both fields empty, a short sample list is checked.

## `datasetId` (type: `string`):

Optional: ID of an Apify dataset that contains emails (for example a run of a contact details scraper). Its emails are checked together with the list above.

## `datasetField` (type: `string`):

Field in the dataset that holds the email (a text or a list of texts). Default: email.

## `keepStatuses` (type: `array`):

Save only emails with these statuses, for example only valid ones for a clean mailing list. Filtered-out emails are not charged. Leave empty to save every email.

## `removeDuplicates` (type: `boolean`):

Check each email only once (ignoring upper/lower case).

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "john.doe@gmial.com",
    "test@mailinator.com",
    "info@example.com",
    "not-an-email"
  ],
  "datasetField": "email",
  "removeDuplicates": true
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset with one row per email: status, reason, score and checks

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

Counts by status and run details

# 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": [
        "support@apify.com",
        "john.doe@gmial.com",
        "test@mailinator.com",
        "info@example.com",
        "not-an-email"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("techliondev/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": [
        "support@apify.com",
        "john.doe@gmial.com",
        "test@mailinator.com",
        "info@example.com",
        "not-an-email",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("techliondev/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": [
    "support@apify.com",
    "john.doe@gmial.com",
    "test@mailinator.com",
    "info@example.com",
    "not-an-email"
  ]
}' |
apify call techliondev/email-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,techliondev/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/svczhac0Ti3VeyfiE/builds/3gnDgvMEn3inXeD9m/openapi.json
