# Bulk Email Verifier & MX / SPF / DMARC Validator (`sadis/bulk-email-mx-dmarc-validator`) Actor

Ultra-fast zero-browser bulk email hygiene validator ($0.80/1k emails): checks RFC syntax, disposable burner domains, DNS MX mail servers, SPF & DMARC records, and role-based addresses.

- **URL**: https://apify.com/sadis/bulk-email-mx-dmarc-validator.md
- **Developed by:** [Cipiwon Daisuki](https://apify.com/sadis) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 email 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

## Bulk Email Verifier & MX / SPF / DMARC Validator (`$0.80 / 1,000`)

Clean B2B and SaaS email lists rapidly at **`$0.80 per 1,000 emails` (`$0.0008 / email`)** without launching a browser or triggering risky SMTP spam probes. Validates RFC syntax, disposable/burner email domains, live DNS `MX` mail exchangers, `SPF` (`v=spf1`), `DMARC` (`v=DMARC1`), and role-based prefixes (`admin@`, `info@`, `support@`).

Built for growth teams, CRM hygiene pipelines, and developers searching for **`email validator`**, **`email verifier`**, **`disposable email check`**, and **`mx lookup`**.

***

### Why Use This Actor?

- **💸 `$0.80 / 1,000` Transparent PPE Pricing:** Undercuts typical bulk verification APIs with zero browser memory overhead (`256 MB` default).
- **⚡ Native DNS with Per-Domain Caching:** Uses Node.js `dns/promises` with 5-second timeout guards and automatic RFC 7505 null-MX detection.
- **🛡️ Disposable & Role-Based Screening:** Flags temporary throwaway providers (`disposable-email-domains`) and generic role inboxes (`noreply@`, `sales@`, `support@`).
- **📈 0–100 Deliverability Score:** Classifies every address as `VALID`, `RISKY`, or `INVALID` with explicit `reasons[]`.

***

### Input Example ("Try Me" Default)

```json
{
  "emails": [
    "alex@gmail.com",
    "admin@gmail.com",
    "test@mailinator.com",
    "contact@example.com",
    "invalid-email"
  ],
  "checkSpfDmarc": true,
  "concurrency": 10
}
```

#### Free Plan vs. Paid Apify Plan

| Tier | Max Emails Per Run | Outputs Included |
| :--- | :---: | :--- |
| **Free Apify Plan (Demo)** | Up to **10 emails** | Full validation dataset + `SUMMARY.json` |
| **Paid Apify Plan** | **Unlimited batch** | Full list hygiene (`$0.80 per 1,000 emails`) |

***

### Output Sample JSON

```json
{
  "email": "alex@gmail.com",
  "normalizedEmail": "alex@gmail.com",
  "domain": "gmail.com",
  "syntaxValid": true,
  "hasMx": true,
  "mxPrimary": "gmail-smtp-in.l.google.com",
  "isDisposable": false,
  "isRoleBased": false,
  "hasSpf": true,
  "hasDmarc": true,
  "deliverabilityScore": 100,
  "status": "VALID",
  "reasons": []
}
```

***

### Pay-Per-Event (PPE) Pricing

| Event | Price | When Charged |
| --- | :---: | --- |
| `email-checked` | **`$0.0008`** | Once per unique normalized email validated (**`$0.80` per 1,000 emails**) |

***

### 🤖 Use with AI Agents (MCP), n8n & REST API

```bash
curl -X POST "https://api.apify.com/v2/acts/sadis~bulk-email-mx-dmarc-validator/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"emails":["alex@gmail.com","test@mailinator.com"],"checkSpfDmarc":true}'
```

***

### FAQ

**Q: Does this Actor send test emails or run invasive SMTP handshake probes?**\
A: No. It validates syntax, checks disposable/role signals, and performs fast, non-intrusive DNS lookups (`MX`, `SPF`, and `DMARC`) so your sender IP and domain reputation are never risked.

**Q: Will duplicate emails with different capitalization be billed twice?**\
A: No. All addresses are trimmed and lowercased (`User@Domain.com` → `user@domain.com`) and deduplicated **before** DNS lookup and Pay-Per-Event billing.

**Q: How is the 0–100 `deliverabilityScore` calculated?**\
A: Addresses with invalid syntax or no active MX record (including RFC 7505 null-MX domains like `example.com`) score `0` (`INVALID`). Valid MX domains start at `70`, gain `+15` for SPF (`v=spf1`) and `+15` for DMARC (`v=DMARC1`), lose `-15` for role-based prefixes (`admin@`, `info@`, `support@`), and lose `-50` for disposable domains (`RISKY`).

**Q: Why was my Free-plan run capped at 10 emails?**\
A: Free Apify accounts include a 10-email demo limit per run so you can verify every output field at `$0`. Upgrade to any paid Apify plan for unlimited batch validation at `$0.80 / 1,000 emails`.

***

### More Technical Audit Tools by `@sadis`

Explore the complete `@sadis` developer & SEO hygiene suite on Apify Store:

- **[AI Search (GEO / AEO), `llms.txt` & Markdown Generator](https://apify.com/sadis/geo-llms-ai-readiness-auditor)** — Audit AI crawler policies (`GPTBot`, `ClaudeBot`, `PerplexityBot`), validate JSON-LD, and generate ready-to-deploy `llms.txt` & `llms-full.txt` bundles (`$0.01/page`).
- **[WCAG 2.2 & EU EAA Accessibility Auditor (`EN 301 549`)](https://apify.com/sadis/wcag-eaa-accessibility-auditor)** — Real Chromium + `axe-core` accessibility audits mapped to `EN 301 549` clauses with Markdown & CSV remediation exports (`$0.05/page`).
- **[Bulk Email Verifier & MX / SPF / DMARC Validator](https://apify.com/sadis/bulk-email-mx-dmarc-validator)** — Zero-browser DNS MX, SPF, DMARC, role-based, and disposable email list hygiene (`$0.80 / 1,000 emails`).
- **[Sitemap Broken Link, Canonical & Redirect Checker](https://apify.com/sadis/sitemap-canonical-redirect-auditor)** — Recursive XML sitemap & URL redirect-chain tracer detecting loops, 4xx/5xx errors, canonical mismatches, and `noindex` issues (`$3.00 / 1,000 URLs`).

# Actor input Schema

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

List of email addresses to check for syntax, MX, SPF/DMARC, role-based prefix, and disposable domains (case-insensitive duplicates are automatically removed before billing; unlimited on paid Apify plans, up to 10 emails on Free demo runs).

## `checkSpfDmarc` (type: `boolean`):

Query DNS TXT records for domain SPF (v=spf1) and DMARC (\_dmarc) policies.

## `concurrency` (type: `integer`):

Maximum number of parallel email validations (1 to 50).

## Actor input object example

```json
{
  "emails": [
    "alex@gmail.com",
    "admin@gmail.com",
    "test@mailinator.com",
    "contact@example.com",
    "invalid-email"
  ],
  "checkSpfDmarc": true,
  "concurrency": 10
}
```

# 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": [
        "alex@gmail.com",
        "admin@gmail.com",
        "test@mailinator.com",
        "contact@example.com",
        "invalid-email"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sadis/bulk-email-mx-dmarc-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": [
        "alex@gmail.com",
        "admin@gmail.com",
        "test@mailinator.com",
        "contact@example.com",
        "invalid-email",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sadis/bulk-email-mx-dmarc-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": [
    "alex@gmail.com",
    "admin@gmail.com",
    "test@mailinator.com",
    "contact@example.com",
    "invalid-email"
  ]
}' |
apify call sadis/bulk-email-mx-dmarc-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sadis/bulk-email-mx-dmarc-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/0afYYQ0AQEGWqDApf/builds/usrGksjLbqa7zm44H/openapi.json
