# Email Validator – Syntax, Domain, MX, Disposable (Bulk) (`icedata/email-validator`) Actor

Clean email lists fast: checks syntax, whether the domain exists and accepts mail (MX), disposable/temporary addresses, role accounts (info@, sales@), free providers, and suggests fixes for typos like gmial.com. Bulk, cheap, private.

- **URL**: https://apify.com/icedata/email-validator.md
- **Developed by:** [Ice Data](https://apify.com/icedata) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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.

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, Domain, MX, Disposable (Bulk)

Clean an email list before you send. Paste thousands of addresses (or any text containing them) and get a clear verdict for each one:

- ✅ **status** – `valid`, `risky`, `invalid` or `unknown`, plus a plain-English **reason** and a 0–100 **score**
- 🔤 **Syntax** check (RFC rules)
- 🌐 **Domain exists** and **accepts email** – live DNS lookup of MX records (null-MX domains like example.com are caught)
- 🗑 **Disposable / temporary** addresses – 10,000+ throw-away domains (mailinator, yopmail, 10minutemail …), updated every run
- 👥 **Role accounts** – info@, sales@, support@, noreply@ …
- 🆓 **Free provider** flag – gmail, outlook, yahoo, icloud …
- ✏️ **Typo fixes** – `john@gmial.com` → suggests `john@gmail.com`, `x@yahoo.con` → `x@yahoo.com`

**Great for:** cleaning lead lists before cold email, protecting sender reputation, validating sign-up forms in bulk, and de-duplicating CRM exports.

### Why use this one

| | This Actor | Typical alternatives |
|---|---|---|
| Price | **$0.30 per 1,000 emails** | $0.85 – $100 per 1,000 |
| Typo suggestions | ✅ | rarely |
| Disposable list refreshed every run | ✅ | often stale |
| Your list sent to a third-party verification company | ❌ never | often |

### What it does *not* do

It does **not** connect to the recipient's mail server to ask whether the specific mailbox exists (SMTP "ping"). That step is slow, often blocked, and can hurt your IP reputation. This Actor removes the addresses that are certainly bad (wrong syntax, dead domains, no mail server, disposable, typos) – typically the bulk of bounces – at a fraction of the price.

### How to use

1. Paste emails (one per line) or any text into **Extract emails from text**.
2. Optional: output only valid emails.
3. Run and download as CSV / Excel, or call it from Make, Zapier, n8n or the API.

### Output example

```json
{
  "email": "john.doe@gmial.com",
  "status": "risky",
  "reason": "Possible typo in domain – did you mean john.doe@gmail.com?",
  "score": 30,
  "domain": "gmial.com",
  "syntaxValid": true,
  "domainExists": false,
  "hasMx": false,
  "isDisposable": true,
  "isRole": false,
  "isFree": false,
  "suggestion": "john.doe@gmail.com"
}
```

### Pricing

**$0.0003 per email checked** ($0.30 per 1,000). Duplicates are removed before charging.

# Actor input Schema

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

One email per line.

## `text` (type: `string`):

Paste any text or CSV export; every email found is checked.

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

Check each address once.

## `onlyValid` (type: `boolean`):

Skip invalid and risky emails in the output (they are still not charged twice).

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "john.doe@gmial.com",
    "test@mailinator.com",
    "info@nonexistent-domain-zz9.com"
  ],
  "removeDuplicates": true,
  "onlyValid": false
}
```

# Actor output Schema

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

No description

## `allFields` (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": [
        "support@apify.com",
        "john.doe@gmial.com",
        "test@mailinator.com",
        "info@nonexistent-domain-zz9.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("icedata/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@nonexistent-domain-zz9.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("icedata/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@nonexistent-domain-zz9.com"
  ]
}' |
apify call icedata/email-validator --silent --output-dataset

```

## MCP server setup

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