# Email Validator API — SMTP & MX Verification (`velveted_staysail/email-validator-api`) Actor

Verify email addresses with syntax, MX, disposable, role-based, and SMTP handshake checks. Returns validity score (0-100) and detailed reason. Standby HTTP API, sub-second response. Free tier: first 10 verifications free.

- **URL**: https://apify.com/velveted\_staysail/email-validator-api.md
- **Developed by:** [FASTEEDAPPS](https://apify.com/velveted_staysail) (community)
- **Categories:**
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

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

## Email Validator API — Bulk Email Verification & SMTP Check

**Verify email addresses in bulk** with syntax validation, MX record lookup, disposable email detection, role-based detection, and live SMTP handshake verification. Returns a **deliverability score (0–100)** for every address. No API key, no monthly subscription — pay only for what you verify.

> First 10 verifications free on every run. Then **$0.002 per email**.

### Why use this email verifier?

Cold email and marketing campaigns die when your bounce rate climbs. Mailbox providers (Gmail, Outlook, Yahoo) punish senders with high bounces by pushing mail to spam. This actor cleans your list **before** you hit send, protecting your sender reputation and inbox placement.

Compare the cost:

| Service | 50,000 emails |
|---|---|
| ZeroBounce | ~$350 |
| NeverBounce | ~$250 |
| Hunter.io | ~$200 |
| **This actor** | **~$100** |

### What it checks

- ✅ **Syntax validation** — catches typos like `gmial.com`, malformed addresses
- ✅ **MX record lookup** — confirms the domain actually accepts email
- ✅ **Disposable detection** — flags temp-mail.org, guerrillamail, mailinator, and 15+ throwaway domains
- ✅ **Role-based detection** — identifies `info@`, `sales@`, `support@`, `noreply@` addresses
- ✅ **SMTP handshake** — connects to the mail server and verifies the mailbox exists
- ✅ **Quality score** — a single 0–100 number you can threshold on

### Input

```json
{
  "emails": ["john@stripe.com", "test@gmial.com", "hello@tempmail.com"],
  "verifySmtp": true
}
```

| Field | Type | Description |
|---|---|---|
| `emails` | array | List of email addresses to verify |
| `verifySmtp` | boolean | Run the SMTP handshake (slower, more accurate). Default `true` |

### Output

```json
{
  "email": "john@stripe.com",
  "valid": true,
  "syntax": true,
  "mx": true,
  "smtp": true,
  "disposable": false,
  "roleBased": false,
  "score": 100,
  "reason": "Valid"
}
```

### Use cases

- **Clean lead lists** before importing to HubSpot, Salesforce, or your CRM
- **Verify signups in real time** to block fake registrations at the form
- **Pre-flight cold email lists** to keep bounce rates under 2%
- **Agency email audits** for clients
- **Deduplicate and score** large B2B datasets

### How to use

1. Add this actor to your Apify account
2. Paste your emails into the input (array)
3. Run it — results land in the dataset as JSON, CSV, or Excel
4. Filter on `valid: true` or `score >= 70` before sending

Works via the **Apify API**, **scheduler**, **webhooks**, or the **MCP server** for AI agents.

### Pricing

- **First 10 emails free** every run
- **$0.002 per email** after that
- No subscription, no minimum, no monthly fee

### FAQ

**Does it need an API key?** No. Just add it and run.

**How accurate is SMTP verification?** Very accurate for most providers. Catch-all domains (which accept every address) are flagged so you can treat them carefully.

**Can I schedule recurring runs?** Yes — use Apify's built-in scheduler or webhooks to validate signups automatically.

**What formats can I export?** JSON, JSONL, CSV, Excel, XML, or RSS.

***

Keywords: email validator, email verification, bulk email checker, SMTP verification, MX record lookup, disposable email detection, email deliverability, list cleaning, bounce rate reduction, cold email verification, email hygiene API.

# Actor input Schema

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

Array of emails to verify

## `verifySmtp` (type: `boolean`):

Perform SMTP handshake (slower but more accurate)

## Actor input object example

```json
{
  "verifySmtp": true
}
```

# Actor output Schema

## `items` (type: `string`):

Email verification records in the run's dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("velveted_staysail/email-validator-api").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 = {}

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

```

## MCP server setup

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

```

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/HgGJpivU0AUnWETVY/builds/SCUdPZZfhYKye5YU2/openapi.json
