# Email Validator (`louisdeconinck/email-validator`) Actor

Validate emails with checks on format, alias, DNS & disposable email. Clean lists, prevent fraud and boost deliverability with this fast and easy actor.

- **URL**: https://apify.com/louisdeconinck/email-validator.md
- **Developed by:** [Louis Deconinck](https://apify.com/louisdeconinck) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 316 total users, 7 monthly users, 100.0% runs succeeded, 13 bookmarks
- **User rating**: 5.00 out of 5 stars

## 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

**🚀 Validate Any Email in Seconds: Format, DNS, and Disposable Detection in Seconds for Pennies**

Get instant, in-depth insights on any email address. Detect invalid, fake, or disposable emails before they cause problems.

### 🔑 Key Features

- **Smart Format Validation**: Instantly checks if an email address is properly structured.
- **Alias Detection**: Flags "+" aliases commonly used for spam filtering.
- **Domain Intelligence**: Analyzes and validates domains and top-level domains (TLDs).
- **Disposable Email Detection**: Catches temporary and one-time-use email providers.
- **DNS & MX Record Verification**: Confirms if the domain is set up to receive email.

### 🎯 Use Cases

- **User Sign-Up Filtering**: Block invalid or throwaway emails at registration.
- **Email Campaign Cleanup**: Verify your email list before hitting send.
- **Database Hygiene**: Regularly remove bad emails from your system.
- **Fraud Detection**: Prevent abuse by flagging suspicious email patterns.
- **Lead Qualification**: Ensure email authenticity before follow-up.

### ✅ Output Data

- `email`: Email address being validated
- `format`: Boolean indicating if email has valid format
- `alias`: Boolean indicating if email contains "+" symbol
- `domain`: Top-level domain (TLD) of the email
- `disposable`: Boolean indicating if email is from a disposable provider
- `dns`: Boolean indicating if email domain has valid MX records

**Full example output:**

```json
{
    "email": "test@example.com",
    "format": true,
    "alias": false,
    "domain": "com",
    "disposable": false,
    "dns": true
}
```

### ⌨️ Input Parameters

- `emails`: Array of email addresses to validate

**Example Input:**

```json
{
    "emails": [
        "elon@x.com",
        "your@example.com",
        "test@10minutemail.com"
    ]
}
```

### 💵 Transparent Pricing

- **Per actor run**: $0.01 (100 runs for $1)
- **Per email**: $0.001 (1,000 emails for $1)

Example: *You have 100 emails to validate in one go. You will pay 1 \* $0.01 = $0.01 for the actor run and 100 \* $0.001 = $0.10 for the results. Total cost: $0.11 (= 11 cents for 100 results)*

**Pro Tip:** Use the “Maximum cost per run” setting under "Run Options" to control your scraping budget.

**Free Plan Notice:** Free users can only validate 10 emails per run. Upgrade to a paid plan to validate unlimited emails per run: [https://apify.com/pricing](https://apify.com/pricing?fpr=7p4wu).

### 🚀 How to Start

1. Click **"Try for free"**
2. Paste your Adobe Stock search URL
3. Run the actor and download your data

### 🔗 Easy Integrations

- Use with [Make.com](https://www.make.com?pc=louisdeconinck) for automation workflows

### 👋 About the Developer

![Louis Deconinck](https://ljhvfnp80s.ufs.sh/f/IPiMUaDXNCtTp3kxNx8QbD0FCznv9WcZk8auNX2OJtEAwxG4)

I’m Louis Deconinck, top 1% Apify developer, Oxford graduate, and builder of over 60+ public actors used by hundreds of users every month.

With 10+ years of software experience and millions of results scraped across the toughest websites, I specialize in fast, stable, and scalable data extraction tools that just work.

- 🏆 Winner of the Apify AI Agent Hackathon
- 💬 300+ community contributions on Apify Discord
- 🏦 Worked with major European banks on data infrastructure

Need help or want to collaborate? [Message me here](https://apify.com/louisdeconinck?fpr=7p4wu).

### 📣 Reviews from the Community

*⭐⭐⭐⭐⭐ "I want to let you know that you're an incredibly talented developer and your ability to understand/distill problems, troubleshoot, and offer solutions is unparalleled."* - Kamesh D.

*⭐⭐⭐⭐⭐ "You have so much talent and a very strong mental model for tackling problems. I enjoyed working with you and your scrapers got me very productive and meaningful results."* - Leo X.

**Click "Try for free" to start!**

# Actor input Schema

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

List of emails to validate

## Actor input object example

```json
{
  "emails": [
    "elon@x.com"
  ]
}
```

# 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": [
        "elon@x.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("louisdeconinck/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": ["elon@x.com"] }

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

```

## MCP server setup

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