# Email Verifier: Bulk Email Validation, MX & Disposable Check (`publicrecords/email-verifier`) Actor

Validate a list of email addresses without sending mail. It checks the syntax, the domain, MX records and disposable domains, not the mailbox, plus role accounts, SPF/DMARC and typo fixes, with a verdict per email.

- **URL**: https://apify.com/publicrecords/email-verifier.md
- **Developed by:** [Public Records](https://apify.com/publicrecords) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 email verifieds

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 Verifier: Bulk Email Validation, MX & Disposable Check

Paste a list of email addresses and get a verdict for each one, without sending any mail. It checks the domain and its MX records, not the mailbox. For every address the Actor checks the syntax, whether the domain exists, its MX records (or A-record fallback), SPF and DMARC, and whether it is a disposable domain, a role account (info@, support@) or a free webmail provider. It also suggests a fix for common domain typos such as `gmial.com`.

**Who it's for:** anyone cleaning a list before a send, checking sign-up forms, or scoring leads, and AI agents that need a quick, cheap email check.

### Bulk email verifier: what each email gets

| Field | What it tells you |
|---|---|
| `verdict` | `deliverable_domain` (MX records found, nothing risky), `risky` (role account, disposable domain, or no MX but an A record) or `undeliverable` (domain missing, null MX, or no MX and no A record) |
| `reasons` | Why, in plain words (e.g. "disposable email domain") |
| `domainExists`, `hasMx`, `mxRecords`, `nullMx`, `acceptsMail` | Can the domain receive mail at all |
| `disposable` | Throwaway domain, from the open disposable-email-domains list (CC0) |
| `roleAccount` | Role address such as info@, sales@, support@ |
| `freeProvider` | Free webmail such as gmail.com or outlook.com |
| `spf`, `dmarc` | The domain publishes SPF / DMARC records |
| `didYouMean` | Suggested address when the domain looks like a typo |

`deliverable_domain` means the domain and its MX records can receive mail and nothing about the address looks risky. The mailbox itself is not checked, so a made-up name at a real domain still gets `deliverable_domain`.

### Sample input

```json
{
  "emails": ["support@apify.com", "jane.doe@gmial.com", "info@mailinator.com", "sales@stripe.com", "someone@no-such-domain-4k7q.com"]
}
```

### Sample output (from a real run)

```json
{
  "email": "sales@stripe.com",
  "localPart": "sales",
  "domain": "stripe.com",
  "syntaxValid": true,
  "domainExists": true,
  "hasMx": true,
  "mxRecords": [
    { "priority": 10, "host": "aspmx.l.google.com" },
    { "priority": 20, "host": "alt1.aspmx.l.google.com" }
  ],
  "nullMx": false,
  "acceptsMail": true,
  "disposable": false,
  "roleAccount": true,
  "freeProvider": false,
  "spf": true,
  "dmarc": true,
  "didYouMean": null,
  "verdict": "risky",
  "reasons": ["role account, not a person"],
  "input": "sales@stripe.com",
  "checkedAt": "2026-11-25T21:19:55.140Z"
}
```

(MX list shortened here; the dataset has all of them.) The same run returned `undeliverable` / "domain does not exist" for `someone@no-such-domain-4k7q.com`, and `didYouMean: "jane.doe@gmail.com"` for `jane.doe@gmial.com`.

### Pricing

Pay per event: one start fee per run, then one charge per email checked and written to your dataset.

| Event | Price |
|---|---|
| Actor start (per GB of memory, minimum one; the default 256 MB run is one event) | $0.0005 |
| Email verified | $0.0005 |

Example: 1,000 emails at the default memory = 1 start ($0.0005) + 1,000 × $0.0005 ($0.50) = **$0.5005**. 10,000 emails cost $5.0005.

Not charged per email (the start fee still applies once per run): values with invalid syntax, duplicates, and emails that could not be checked because DNS was unavailable. They are listed in the run's `OUTPUT` record with the reason.

### Disposable email and role account detection

The disposable list is the open [disposable-email-domains](https://github.com/disposable-email-domains/disposable-email-domains) blocklist (CC0), bundled with each build. Subdomains of a listed domain count as disposable. Role accounts are matched on the part before `@` (ignoring `+tags`).

### Limits

- Up to 10,000 emails per run; more are listed in `OUTPUT` as over the limit and not charged.
- Checks the domain and MX, not the mailbox (no SMTP check: Apify blocks outbound port 25, and SMTP probing gets IPs blocklisted), and does not detect catch-all domains. For a mailbox-level check, run the deliverable_domain rows through an SMTP verifier.
- DNS answers come from the platform resolver unless you set **DNS servers**.

### Errors and empty runs

A run never fails because of your input. If no value is a valid email, or DNS is unreachable, the run still ends as SUCCEEDED with 0 rows, and both the status message and the `OUTPUT` record say why.

### FAQ

**Does it send email?** No. It only reads public DNS.

**Why is a real address marked risky?** Role addresses (info@, sales@) and disposable domains get `risky`. A domain with no MX record but an A record also gets `risky`, with the reason "no MX record; mail would fall back to the A record": mail can still arrive through the A-record fallback, but it is risky for cold sends. A domain with no MX and no A record, or a null MX, gets `undeliverable`.

**Can I use it from an AI agent?** Yes. Call it through the Apify API with your Apify token, or add it to an agent through Apify's MCP server (mcp.apify.com), with a list of emails; each result is one dataset row.

# Actor input Schema

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

Email addresses to check, one per line (up to 10,000 per run). Duplicates are checked once. No email is sent.

## `dnsServers` (type: `array`):

IP addresses of DNS resolvers to use, e.g. 1.1.1.1. Leave empty to use the platform resolver.

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "jane.doe@gmial.com",
    "info@mailinator.com",
    "sales@stripe.com",
    "someone@no-such-domain-4k7q.com"
  ]
}
```

# Actor output Schema

## `results` (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": [
        "support@apify.com",
        "jane.doe@gmial.com",
        "info@mailinator.com",
        "sales@stripe.com",
        "someone@no-such-domain-4k7q.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("publicrecords/email-verifier").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",
        "jane.doe@gmial.com",
        "info@mailinator.com",
        "sales@stripe.com",
        "someone@no-such-domain-4k7q.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("publicrecords/email-verifier").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",
    "jane.doe@gmial.com",
    "info@mailinator.com",
    "sales@stripe.com",
    "someone@no-such-domain-4k7q.com"
  ]
}' |
apify call publicrecords/email-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,publicrecords/email-verifier"
        }
    }
}
```

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/lNhYfA5OXw5TTmEET/builds/wFAbmVgu5aqlJ5hsC/openapi.json
