# Bulk Email Verifier (`invaluable_rondeau/email-verifier-bulk`) Actor

Verify email deliverability in bulk. Get syntax, MX, disposable/role checks and a 0–100 score. Pay only for successfully verified emails.

- **URL**: https://apify.com/invaluable\_rondeau/email-verifier-bulk.md
- **Developed by:** [PROOFNEXA](https://apify.com/invaluable_rondeau) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 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/platform/actors/running/actors-in-store#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

## Bulk Email Verifier

Verify up to 500 email addresses for syntax, MX, disposable, role-based, and conservative SMTP reachability signals.
Get one structured Dataset record per unique input address, with a 0–100 score and `valid` / `risky` / `invalid` status.
Pay only for saved, syntax-valid results that complete the `email-verified` event; failed, duplicate, syntax-invalid, and invalid results are not charged.

### Input

`emails` is required and accepts either a JSON string array or CSV/newline-delimited text. `timeoutMs` is optional and applies to MX and SMTP connection checks.

```json
{
  "emails": [
    "person@gmail.com",
    "alerts@mailinator.com",
    "not-an-email"
  ],
  "timeoutMs": 1500
}
```

CSV text is also accepted:

```text
email
person@gmail.com
alerts@mailinator.com
not-an-email
```

The maximum is 500 unique addresses. Duplicate inputs are emitted once and are not charged.

### Output

Each unique input address produces at most one Dataset record:

| Field | Meaning |
|---|---|
| `email` | Trimmed input address |
| `isValidSyntax` | Conservative syntax check |
| `hasMx` | Whether the domain returned at least one MX record |
| `isDisposable` | Match against the built-in disposable-domain baseline |
| `isRoleBased` | Common role mailbox prefix such as `support@` or `sales@` |
| `score` | 0–100 heuristic score, not a delivery guarantee |
| `status` | `valid`, `risky`, or `invalid` |
| `checkedAt` | ISO-8601 check timestamp |
| `smtpReachable` | `true`, `false`, or `null`; conservative TCP connection signal |

### Verification and billing boundaries

- DNS MX lookup uses Node.js built-in DNS resolution. No paid enrichment API is used.
- SMTP checking opens a short TCP connection to the preferred MX host only. It does not send `RCPT TO`, does not send an email, and does not claim that a mailbox can receive mail.
- SMTP timeout or connection failure becomes an unknown signal and does not crash the run.
- A Dataset write happens before `Actor.charge({ eventName: "email-verified", count: 1 })`.
- The implementation checks `chargedCount`. If the event is unavailable, partially fulfilled, or the run limit is reached, processing stops safely to avoid continuing with uncharged billable results.
- The code constant is `EVENT_PRICE_USD = 0.005`. Configure the matching PPE event in Apify Console only after human approval; this repository does not publish or change Console pricing.

### Local checks

```bash
npm install
npm run check
npm test
```

For a local integration run without Apify PPE configuration, set `EMAIL_VERIFIER_LOCAL_TEST=1`. This test-only flag simulates one successful charge response; it is not set by the Actor in production.

### Scope

This Actor contains no SEC, filing-monitor, social-network, LinkedIn, Finder, or dashboard code. The disposable-domain and role-prefix lists are deliberately small baselines; `valid` is not an SMTP delivery guarantee.

### Operational stop lines

- Success line: within 7 days after human-approved publication, at least one external paid run occurs and the result is net profitable.
- Withdrawal line: if paid runs remain 0 after 14 days, stop candidate.
- Until those observations exist, do not infer product demand or expand the feature set from local test runs.

# Actor input Schema

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

Required array of email addresses. The Actor API also accepts CSV/newline-delimited text in raw input. Maximum 500 unique addresses.

## `timeoutMs` (type: `integer`):

Timeout used for MX and conservative SMTP connection checks.

## Actor input object example

```json
{
  "timeoutMs": 1500
}
```

# 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("invaluable_rondeau/email-verifier-bulk").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("invaluable_rondeau/email-verifier-bulk").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 invaluable_rondeau/email-verifier-bulk --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=invaluable_rondeau/email-verifier-bulk",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/L1RT9ua5a9itAfpZi/builds/PnmH6Z0ry1ei0Nau5/openapi.json
