# Email Verifier: Bulk SMTP, MX, Catch-all & Disposable (`datasur-labs/email-verifier`) Actor

Verify email lists in bulk before you send: syntax, MX records, SMTP mailbox check (nothing sent), catch-all detection, 120k+ disposable domains, role accounts, free providers and typo fixes (gmial.com → gmail.com). Clean lists, lower bounce rates.

- **URL**: https://apify.com/datasur-labs/email-verifier.md
- **Developed by:** [Data Sur Labs](https://apify.com/datasur-labs) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 List Cleaner: syntax, MX, disposable & typo check

**Clean an email list in bulk before you send, for a fraction of the cost of SMTP verifiers.** Each address gets a status: `ok`, `risky` or `invalid`, plus a reason and flags. It catches the errors that cause most hard bounces and fake signups:

- ❌ **Bad syntax** (RFC rules, double dots, missing parts)
- 🌐 **Dead domains**: the domain doesn't exist or has no MX record, so it can't receive email
- 🗑️ **Disposable / temporary inboxes**: 120,000+ domains (mailinator, 10minutemail, guerrillamail…)
- ✍️ **Typos with a fix**: `juan@gmial.com` → `juan@gmail.com`, `hotmial.com.ar` → `hotmail.com.ar`
- 👥 **Role accounts**: info@, ventas@, support@, contato@, noreply@… (English, Spanish and Portuguese)
- 🆓 **Free vs business email**: Gmail, Outlook, Yahoo, UOL, Fibertel… vs company domains
- 🏢 **Mail provider of the domain**: Google Workspace, Microsoft 365, Zoho, GoDaddy, Proofpoint… (great for B2B segmentation)

### What it does *not* do (honest note)

It doesn't open an SMTP connection to ask whether a specific mailbox exists. Cloud servers block port 25, and those checks are unreliable on Gmail, Outlook and catch-all domains anyway. Use this Actor to remove the obvious junk cheaply. For mission-critical sends, run only the `ok` rows through an SMTP verifier.

### Output

```json
{"email": "someone@gmial.com", "status": "risky", "reason": "possible-typo", "didYouMean": "someone@gmail.com",
 "syntaxValid": true, "domain": "gmial.com", "hasMx": true, "mxRecords": ["gmial.com"], "mailProvider": "Self-hosted / other",
 "isDisposable": false, "isRoleAccount": false, "isFreeProvider": false}
```

Reasons: `bad-syntax`, `domain-does-not-exist`, `no-mx-records`, `dns-error`, `disposable`, `possible-typo`, `domain-accepts-mail`.

### Pricing (pay per event)

- **$0.0002 per email** (+ $0.005 per run start): 10,000 emails = $2. About 4–5× cheaper than SMTP verifiers.
- Addresses on the same domain share one DNS lookup, so it's very fast (thousands per minute).

### Use cases

Clean newsletter/CRM imports, block fake signups (call it via API from your form), fix typos before sending order confirmations, and segment B2B leads by email provider.

# Actor input Schema

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

Email addresses to verify, one per line (commas and spaces also work). Duplicates are removed.

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

Mail domains checked in parallel.

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "someone@gmial.com",
    "test@mailinator.com"
  ],
  "maxConcurrency": 15
}
```

# Actor output Schema

## `results` (type: `string`):

Status (valid/invalid/risky/unknown) with reason and flags per email.

# 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@gmial.com",
        "test@mailinator.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasur-labs/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",
        "someone@gmial.com",
        "test@mailinator.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datasur-labs/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",
    "someone@gmial.com",
    "test@mailinator.com"
  ]
}' |
apify call datasur-labs/email-verifier --silent --output-dataset

```

## MCP server setup

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