# Email Validator: Bulk MX, Syntax and Disposable Email Check (`talcoe/email-validator-mx`) Actor

Email validator for bulk lists: checks syntax, live MX records, disposable domains, role addresses, free providers and typos, with filters for strictness and verdict.

- **URL**: https://apify.com/talcoe/email-validator-mx.md
- **Developed by:** [M Usama](https://apify.com/talcoe) (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 $5.00 / 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

### What does Email Validator: Syntax, MX Records and Disposable Check do?

Paste a list of email addresses and get one verdict per address: valid, risky or invalid. Each verdict shows whether the syntax is correct, whether the domain publishes MX records that accept mail, whether it is a disposable domain, a role address like info@ or support@, or a free provider like Gmail. Common typos such as gmial.com come back with a corrected address. Every result carries a risk score from 0 to 100 and a plain list of reasons.

### Data source

Mail servers are looked up live through the public Google DNS over HTTPS endpoint (dns.google), and disposable domains are matched against the open disposable-email-domains blocklist of more than 10,000 domains, refreshed at the start of every run.

### Why use it?

- Clean an outbound list before a send, so bounces stay low and your sending domain keeps its reputation.
- Screen signups and lead forms for throwaway addresses.
- Split a list into three piles: send now, review, and drop.
- Replace a paid verification subscription when you only need syntax, domain and disposable checks.

### How to use it

1. Open the Actor and paste your addresses into the Email addresses field.
2. Pick a strictness and, if you want only one pile, a verdict filter. Click Start.
3. Download results as JSON, CSV or Excel, or read them through the API. Add a Schedule and an Integration (Slack, Google Sheets, webhook) to check new lists automatically.

### Input

| Field | Description |
|---|---|
| `emails` | List of addresses to check. Duplicates are removed. |
| `strictness` | `lenient`, `standard` (default) or `strict`. Strict marks every disposable, role, typo and free provider address as risky. |
| `onlyStatus` | `all` (default), `valid`, `risky` or `invalid`. Use `valid` for a clean list. |
| `maxResults` | Hard stop for the run. You are billed per result, so this caps the cost. |
| `proxyConfiguration` | Not needed for DNS lookups. Leave off unless a very large list gets rate limited. |

Example input:

```json
{
  "emails": ["support@apify.com", "test@mailinator.com", "name@gmial.com"],
  "strictness": "standard",
  "onlyStatus": "all",
  "maxResults": 200
}
```

### Output

Every record has the same shape:

```json
{
  "id": "support@apify.com",
  "email": "support@apify.com",
  "normalizedEmail": "support@apify.com",
  "status": "valid",
  "riskScore": 20,
  "syntaxValid": true,
  "hasMx": true,
  "isDisposable": false,
  "isRoleAddress": true,
  "isFreeProvider": false,
  "domain": "apify.com",
  "localPart": "support",
  "syntaxError": null,
  "mxRecords": ["aspmx.l.google.com", "alt2.aspmx.l.google.com", "alt1.aspmx.l.google.com"],
  "usesImplicitMx": false,
  "suggestion": null,
  "reasons": ["role address (shared inbox)"],
  "scrapedAt": "2026-11-21T06:19:23.032Z"
}
```

| Field | Meaning |
|---|---|
| `id` | Lowercased address, safe for deduplication between runs |
| `status` | `valid`, `risky` or `invalid` |
| `riskScore` | 0 (safe) to 100 (do not send) |
| `syntaxValid` | Address follows the email format rules |
| `hasMx` | The domain publishes MX records. `null` when syntax failed |
| `isDisposable` | Domain is on the disposable blocklist |
| `isRoleAddress` | Shared inbox such as info, sales, admin, noreply |
| `isFreeProvider` | Gmail, Outlook, Yahoo and similar |
| `suggestion` | Corrected address when the domain looks like a typo |
| `mxRecords` | Mail servers in priority order |
| `usesImplicitMx` | No MX records, so mail would fall back to the domain address record |
| `reasons` | Plain text list of what drove the score |

### Pricing

Pay per event: a small fee when a run starts, then a fixed price per result returned. You only pay for records that pass your filters. Set `maxResults` to cap any run.

### Limitations

- No SMTP connection is made, so whether one specific mailbox exists stays unknown. A valid verdict means the address is well formed and its domain can receive mail.
- Catch all domains cannot be detected without SMTP probing.
- Typo suggestions cover the large mailbox providers only.
- A DNS failure shows up in `reasons` and adds a small risk score, because the domain could not be confirmed.

### FAQ

**Does it send any email to the addresses?** No. It only reads public DNS records and matches against a list.

**How fast is it?** About a dozen addresses take a few seconds. Lookups run once per unique domain, so lists with repeated domains are faster.

**Is this legal?** The Actor reads public DNS records and a public blocklist. It does not collect personal data beyond the addresses you provide. You are responsible for how you use the results.

**Something is missing or broken?** Open an issue in the Issues tab; response time is usually under a day.

# Actor input Schema

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

The addresses to check. One verdict is returned per unique address.

## `strictness` (type: `string`):

Lenient flags only clear problems. Standard also flags role addresses and typos. Strict flags every disposable, role, typo and free provider address as risky.

## `onlyStatus` (type: `string`):

Keep only addresses with this verdict. Use valid to get a clean list, invalid to get the rejects.

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

Hard stop for the run. You are billed per result, so this caps the cost.

## `proxyConfiguration` (type: `object`):

Not needed for DNS lookups. Leave off unless a very large list gets rate limited.

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "someone@gmail.com",
    "john.doe@microsoft.com",
    "test@mailinator.com",
    "hello@10minutemail.com",
    "info@stripe.com",
    "name@gmial.com",
    "user@this-domain-does-not-exist-12345.com",
    "not-an-email",
    "a..b@example.com",
    "sales@github.com",
    "jane@proton.me"
  ],
  "strictness": "standard",
  "onlyStatus": "all",
  "maxResults": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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",
        "someone@gmail.com",
        "john.doe@microsoft.com",
        "test@mailinator.com",
        "hello@10minutemail.com",
        "info@stripe.com",
        "name@gmial.com",
        "user@this-domain-does-not-exist-12345.com",
        "not-an-email",
        "a..b@example.com",
        "sales@github.com",
        "jane@proton.me"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("talcoe/email-validator-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": [
        "support@apify.com",
        "someone@gmail.com",
        "john.doe@microsoft.com",
        "test@mailinator.com",
        "hello@10minutemail.com",
        "info@stripe.com",
        "name@gmial.com",
        "user@this-domain-does-not-exist-12345.com",
        "not-an-email",
        "a..b@example.com",
        "sales@github.com",
        "jane@proton.me",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("talcoe/email-validator-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": [
    "support@apify.com",
    "someone@gmail.com",
    "john.doe@microsoft.com",
    "test@mailinator.com",
    "hello@10minutemail.com",
    "info@stripe.com",
    "name@gmial.com",
    "user@this-domain-does-not-exist-12345.com",
    "not-an-email",
    "a..b@example.com",
    "sales@github.com",
    "jane@proton.me"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call talcoe/email-validator-mx --silent --output-dataset

```

## MCP server setup

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