# Bulk Email Validator: MX, Disposable, Role & Typo Check (`1stbtln/email-validator`) Actor

Clean email lists fast: syntax, domain and MX check, disposable/temporary domain detection (10k+ domains), role accounts, free providers, typo fixes (gmial.com → gmail.com) and a 0-100 score. No SMTP pinging, so it's safe and instant. $0.30 per 1,000 emails.

- **URL**: https://apify.com/1stbtln/email-validator.md
- **Developed by:** [Ethan Wagner](https://apify.com/1stbtln) (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

from $0.30 / 1,000 email validateds

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 Validator: MX, Disposable, Role & Typo Check

Clean your email list before you send. Paste or upload thousands of addresses and get, for each one, a **status** (`valid`, `risky`, `invalid`), a **0-100 score** and the **reasons** behind it, in seconds.

**$0.30 per 1,000 emails.** Lookups that fail on our side (status `unknown`) are free.

### What it checks

| Check | What you get |
|---|---|
| Syntax | RFC-style address check (length, characters, dots) |
| Domain & MX | Does the domain exist? Does it accept mail (MX records, "null MX", A-record fallback)? Top MX hosts |
| Disposable / temporary | 10,000+ throwaway domains (mailinator, yopmail, guerrillamail…), from the community-maintained public-domain list |
| Role accounts | info@, support@, sales@, admin@, noreply@ and ~50 more |
| Free providers | Gmail, Yahoo, Outlook, iCloud, Proton, GMX and others, so you can tell B2B leads from personal addresses |
| Typos | `gmial.com` → `gmail.com`, `yahooo.com` → `yahoo.com`, `.con` → `.com` |
| Normalization | Lowercased, `+tag` removed, Gmail dots removed, handy for de-duplicating |

### Why no SMTP "ping"?

Some validators connect to the recipient's mail server and pretend to send a message. That's slow, often blocked, unreliable on catch-all domains like Gmail and Outlook, and it can get IP addresses blacklisted. This Actor only uses DNS and curated lists, so it's **instant, private and safe**. It catches the most common causes of bounces: dead domains, typos and throwaway addresses.

### Input

```json
{
  "emails": ["support@apify.com", "john.doe@gmial.com", "test@mailinator.com"],
  "checkMx": true
}
```

You can also paste a raw list (comma, space or newline separated) into **emailsText**.

### Output (one row per email)

```json
{
  "email": "someone@gmial.com",
  "status": "risky",
  "score": 10,
  "reasons": ["no_mx_uses_a_record", "disposable_domain", "possible_typo"],
  "suggestion": "someone@gmail.com",
  "isDisposable": true,
  "isRoleAccount": false,
  "isFreeProvider": false,
  "domainExists": true,
  "acceptsMail": true,
  "mxRecords": [],
  "normalizedEmail": "someone@gmial.com"
}
```

**Status meanings**

- `valid`: correct syntax, domain accepts mail, no red flags.
- `risky`: deliverable, but disposable, a role account, a likely typo, or no MX record. Review it before sending.
- `invalid`: bad syntax, the domain doesn't exist, or the domain refuses mail. Remove it.
- `unknown`: a DNS lookup failed temporarily. **Not charged**, so just re-run those.

Download the results as CSV, Excel or JSON, or call the Actor from the API, Make, Zapier, n8n or an AI agent (MCP).

### Pricing

Pay per event: **$0.0003 per validated email** ($0.30 / 1,000) plus a tiny start fee. Duplicate domains are cached, so big lists stay fast. You can set a maximum spend per run in the run options.

### FAQ

**Does it guarantee an inbox exists?** No validator can, without sending mail. This one confirms the domain can receive mail and flags the common bad-address patterns.

**Privacy?** Emails are only checked against DNS (via DNS-over-HTTPS) and local lists. Nothing is sent to the address or stored outside your own Apify dataset.

# Actor input Schema

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

Email addresses, one per line.

## `emailsText` (type: `string`):

Paste emails separated by commas, spaces, semicolons or new lines (e.g. a CSV column).

## `checkMx` (type: `boolean`):

Look up whether the domain exists and accepts mail (MX, null MX, A fallback). Turn off for syntax-only checks.

## `maxConcurrency` (type: `integer`):

Emails processed at once. Domains are cached, so repeated domains are looked up once.

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "john.doe@gmial.com",
    "test@mailinator.com"
  ],
  "checkMx": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `emails` (type: `string`):

One row per email with status (valid / risky / invalid / unknown), score, reasons, typo suggestion and flags. Rows with status 'unknown' (DNS lookup failed) are not 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": [
        "support@apify.com",
        "john.doe@gmial.com",
        "test@mailinator.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("1stbtln/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",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,1stbtln/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/61nfwCXnRbKqUjHZM/builds/0N4xzcJwWAfUFRccH/openapi.json
