# Email Validator: Bulk Email Verifier, MX & Disposable Check (`steadyscrape/email-validator`) Actor

Email validator and bulk email verifier without SMTP: repairs scraped addresses, checks syntax, domain, MX and null MX, parked domains, disposable, role and free-provider emails, typos, and names the mail provider (Google Workspace, Microsoft 365…). Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/email-validator.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (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.30 / 1,000 email address 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: bulk email verifier without SMTP

**Email Validator** checks email addresses in bulk, without sending anything and without SMTP: it repairs the junk a
scraped list carries (`mailto:` links, `%40`, quotes, trailing dots, `info [at] acme [dot] com`, image names like
`logo@2x.png`), then gives every address a verdict from its syntax and its domain's DNS: MX and null MX, dead and
parked domains, disposable, role and free-provider addresses, typos of the big providers (`gmial.com` → `gmail.com`),
and the mail provider behind the domain (Google Workspace, Microsoft 365, Zoho, Proofpoint, Mimecast…). Paste a list or
pick a lead dataset; export the result to JSON, CSV or Excel, or read it via API.

It is a DNS email verification: **it never opens a connection to a mail server, so it never tells you a mailbox
exists.** A good address comes back as `acceptsMail` — "the domain accepts mail, the mailbox itself was not checked" —
never as "valid". What it does is fast, cheap and cannot be blocked: it removes the addresses that cannot work and flags
the ones that should not be mailed.

### What the email validator is for

- **Clean a scraped lead list before a campaign.** Run it on the dataset of
  [Google Maps Email Extractor](https://apify.com/steadyscrape/google-maps-email-extractor),
  [Website Contact Scraper](https://apify.com/steadyscrape/website-contact-scraper),
  [Impressum Scraper](https://apify.com/steadyscrape/impressum-scraper) or any lead list: each row keeps the lead's own
  fields (name, phone, address), so you filter the leads, not just the addresses.
- **Cut bounces from dead domains**: domains that do not exist, publish no mail server or a null MX (RFC 7505), point
  their MX at localhost, or are parked for sale (Sedo, Afternic, HugeDomains, ParkingCrew, Above.com…).
- **Keep throwaway sign-ups out**: 10,181 disposable domains (the CC0 disposable-email-domains list), plus any domain
  whose mail server belongs to one of them.
- **Segment by mail provider** for cold email: Google Workspace, Microsoft 365, Zoho, GoDaddy, IONOS… and the security
  gateway in front (Proofpoint, Mimecast, Barracuda, Cisco), with the mailbox host behind it read from SPF.
- **Fix typos in sign-up forms**: `john@gmial.com`, `jane@hotmial.com`, `bob@gmail.co`, `sales@acme.con` come back with
  `didYouMean`.

### Verdicts

| verdict | meaning | charged |
|---|---|---|
| `acceptsMail` | the domain takes mail; the mailbox itself was not checked | yes |
| `risky` | a disposable service, a role address (`info@`, `sales@`), a likely typo of a provider, a domain without MX (mail would go to its web server), non-ASCII letters before the `@` | yes |
| `invalid` | bad syntax, an image or file name, a top-level domain that does not exist, a domain that does not exist, a null MX, no mail server, an MX at localhost or a private address, mail server names that do not resolve, nameservers that fail on every resolver asked (the system's, Google's and Cloudflare's), a parked domain | yes |
| `unknown` | DNS did not answer in time, even for a role or typo address; run it again | no |
| `notAnEmail` | text without an `@` (a header, a name, a phone number), or a dataset that could not be read | no |

A repeated address (in any case, with or without `mailto:`) gets the same verdict as the first time, `duplicate: true`,
and is not charged again. Blank lines are dropped.

Role addresses are `risky` by default, as most cold-email tools treat them. For small-business lead lists, whose only
address is often `info@`, untick **Role addresses are risky**: they then get the verdict of their domain, and `isRole`
still says it.

### Input

```json
{
    "emails": [
        "mailto:Press@Patagonia.com",
        "jane.doe@stripe.com",
        "john.smith@gmial.com",
        "test@mailinator.com",
        "info@example.com"
    ],
    "roleAddressesAreRisky": true
}
```

| field | what it is |
|---|---|
| `emails` | addresses, one per line; a line with several (`a@x.com; b@y.com`) gives one row each |
| `datasetId` | or a dataset of another run, picked in the form; only the dataset you pick can be read |
| `datasetField` | the field holding the address, as a dotted path (`contact.workEmail`); empty: every top-level field named like email (`email`, `emails`, `contactEmail`, `emailDetails`…) that holds one |
| `roleAddressesAreRisky` | on by default |

### Output

One row per address, in the order given:

```json
{
    "email": "press@patagonia.com",
    "input": "mailto:Press@Patagonia.com",
    "verdict": "risky",
    "reason": "A role address (info@, sales@…): a shared inbox, not a person; the domain accepts mail (Microsoft 365), the mailbox itself was not checked.",
    "reasons": ["role"],
    "mailboxChecked": false,
    "didYouMean": null,
    "repaired": true,
    "repairs": ["mailto"],
    "localPart": "press",
    "domain": "patagonia.com",
    "isDisposable": false,
    "isRole": true,
    "isFreeProvider": false,
    "hasMx": true,
    "mxHosts": ["patagonia-com.mail.protection.outlook.com"],
    "mailProvider": "Microsoft 365",
    "securityGateway": null,
    "parkedBy": null,
    "hasSpf": true,
    "dmarcPolicy": "none",
    "duplicate": false,
    "source": "emails",
    "datasetItemIndex": null,
    "item": null,
    "checkedAt": "2026-11-12T12:00:00.000Z"
}
```

| field | what it is |
|---|---|
| `email` | the address as checked: repaired and lower-cased |
| `input` | the text as given |
| `localPart`, `domain` | the parts before and after the `@` |
| `verdict`, `reason`, `reasons` | the verdict, one sentence why, and every reason code (`nullMx`, `parked`, `disposable`, `role`, `typo`…) |
| `mailboxChecked` | always `false`: no mailbox is ever contacted |
| `didYouMean` | the address a typo was probably meant to be |
| `repaired`, `repairs` | whether the text was repaired, and how (`mailto`, `percentEncoding`, `displayName`, `obfuscation`, `whitespace`, `punctuation`, `invisibleCharacters`, `splitFromList`) |
| `isDisposable`, `isRole`, `isFreeProvider` | the flags, whatever the verdict |
| `hasMx`, `mxHosts` | the domain's mail servers, best priority first |
| `mailProvider`, `securityGateway` | who keeps the mailboxes and who filters in front, from the MX hosts and SPF |
| `parkedBy` | the parking service of a parked domain |
| `hasSpf`, `dmarcPolicy` | whether the domain publishes SPF, and its DMARC policy (`none`, `quarantine`, `reject`) |
| `duplicate` | a repeat of an address given earlier (free) |
| `source`, `datasetItemIndex`, `item` | where the address came from; for a dataset, the whole item it was in |
| `checkedAt` | when the run checked it (UTC, ISO 8601) |

The run's totals are in the key-value store record `SUMMARY`, and in the status message.

### Pricing

**US$0.0003 per unique address checked** (US$0.30 per 1,000), whatever its verdict: `acceptsMail`, `risky` or
`invalid`. Repeats, blank lines, text without an `@`, addresses DNS did not answer for and datasets that could not be
read are free. There is no start fee. A spending limit stops the run before an address it could not pay for.

### Limits

- **No SMTP, so no mailbox check and no catch-all detection.** Apify's platform does not allow outbound connections on
  port 25 (measured). An `acceptsMail` address can still bounce if the mailbox
  was closed.
- The parking services, gateways and providers are recognised from lists kept in the Actor; a domain on a service it
  does not know still gets its MX verdict, with `mailProvider` empty.
- Up to 100,000 rows per run, typed and from the dataset together; split bigger lists.
- Each domain is looked up once per run, so ten thousand addresses at gmail.com cost one lookup.

### Is it legal?

The Actor reads public DNS records only (MX, NS, TXT, A) and contacts no mailbox and no website. What you do with the
addresses is yours to keep lawful: GDPR, CAN-SPAM, CASL and the terms of your sending tool still apply. The Actor is not
affiliated with Google, Microsoft or any provider, gateway or parking service it names.

# Actor input Schema

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

One address per line, as scraped or typed: <code>mailto:</code> links, <code>Jane Doe \<jane@acme.com></code>, <code>info \[at] acme \[dot] com</code>, quotes, trailing punctuation and percent-encoding are repaired first, and a line holding several addresses gives one row each. Each unique address is checked once by its syntax, its domain's DNS (MX, null MX, parking, nameservers) and the disposable, role and free-provider lists. The mailbox itself is never checked (no SMTP). Up to 100,000 rows per run, together with the dataset below.

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

Pick the dataset of another run (a Google Maps email scrape, a website contact scrape, a lead list) and every address in it is checked. Each row keeps the whole dataset item it came from in <code>item</code>, so a lead keeps its name, phone and place. Only the dataset you pick here can be read. Items without an address are skipped and counted in the status message.

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

The field of each dataset item that holds the address (or a list of them), as a dotted path (<code>email</code>, <code>contact.workEmail</code>). Leave empty to read every top-level field named like <code>email</code> (<code>email</code>, <code>emails</code>, <code>contactEmail</code>, <code>emailDetails</code>…) that holds an address.

## `roleAddressesAreRisky` (type: `boolean`):

On: an address of a function rather than a person (<code>info@</code>, <code>sales@</code>, <code>support@</code>, <code>kontakt@</code>…) gets the <code>risky</code> verdict, as most cold-email tools treat it. Off: it gets the verdict of its domain, and <code>isRole</code> still says it. Turn it off for small-business lead lists, whose only address is often info@.

## Actor input object example

```json
{
  "emails": [
    "mailto:Press@Patagonia.com",
    "jane.doe@stripe.com",
    "john.smith@gmial.com",
    "test@mailinator.com",
    "info@example.com"
  ],
  "roleAddressesAreRisky": true
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `summary` (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": [
        "mailto:Press@Patagonia.com",
        "jane.doe@stripe.com",
        "john.smith@gmial.com",
        "test@mailinator.com",
        "info@example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/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": [
        "mailto:Press@Patagonia.com",
        "jane.doe@stripe.com",
        "john.smith@gmial.com",
        "test@mailinator.com",
        "info@example.com",
    ] }

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

```

## MCP server setup

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