# B2B Email Finder & Bulk DNS/MX/SMTP Email Verifier API (`keenedigitalstudio/b2b-email-finder-verifier`) Actor

Find and verify B2B work emails from person name + company domain, or bulk-verify existing email lists via live DNS MX, SPF/DMARC, disposable domain, and catch-all checks. $1.00/1,000 leads ($0.001/email) with $0 start fee. Built by Keene Digital Studio.

- **URL**: https://apify.com/keenedigitalstudio/b2b-email-finder-verifier.md
- **Developed by:** [Keene Digital Studio](https://apify.com/keenedigitalstudio) (community)
- **Categories:** Lead generation, Marketing, Business
- **Stats:** 2 total users, 1 monthly users, 100.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?

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

## B2B Email Finder & Bulk DNS/MX/SMTP Email Verifier API

**Publisher:** Keene Digital Studio\
**Pricing:** **$1.00 per 1,000 emails** (`$0.001` per verified or discovered email) · **$0.00 Actor start fee**\
**Architecture:** Pure concurrent network protocol utility combining RFC 5322 syntax & IDN normalization, disposable & free webmail detection, role-account classification, live DNS `MX` / `SPF` / `DMARC` resolution, mail provider fingerprinting, non-intrusive SMTP probe, and B2B corporate email permutation & domain contact discovery.

***

### Why Switch to This Actor? (Transparent Pricing & Reliability Comparison)

Incumbent email verifiers and B2B email finders on the Apify Store either suffer from high failure rates (`17.6%` failure rate on `clearpath/email-finder-api` while charging **$8.00/1k patterns tested + $5.00/1k start fee**) or charge predatory Free-tier rates (**$100.00 per 1,000 emails — $0.10 per single email!** on `michael.g/email-verifier-validator`).

Our Actor is a **zero-proxy, zero-API-key protocol engine** priced at a flat **$1.00 per 1,000 results (`$0.001`/item) with a $0.00 start fee** across all tiers.

| Feature / Metric | **Keene Digital Studio**<br>`b2b-email-finder-verifier` | **Incumbent #1**<br>`clearpath/email-finder-api` | **Incumbent #2**<br>`michael.g/email-verifier-validator` |
| :--- | :---: | :---: | :---: |
| **Price per 1,000 Results (Free Tier)** | **$1.00 / 1k** (`$0.001`/item) | $8.00 / 1k patterns tested | **$100.00 / 1k** (`$0.10`/email on Free tier) |
| **Actor Start Fee** | **$0.00** | $5.00 / 1k starts (`$0.005`/start) | $0.00 |
| **Your Savings** | **Baseline** | **87.5% Cheaper + $0 Start Fee** | **99% Cheaper on Free Tier** |
| **30-Day Success Rate** | **>=98%+ Verified** | 82.4% (17.6% failure rate) | 99.5% |
| **Live DNS MX + SPF + DMARC Posture** | **Included Free** | Basic MX only | Basic MX + SMTP |
| **Mail Server Provider Fingerprinting** | **13+ Enterprise Providers** | No | No |
| **B2B Lead Permutation + Domain Discovery** | **Included in Same Actor** | Charges per pattern tested | Verification only |

***

### 7-Layer Verification & B2B Discovery Pipeline

1. **RFC 5322 Syntax & IDN/Punycode Normalization:** Validates local-part and domain structure, detects `+tag` plus-addressing, and suggests fixes for common domain typos (`gmial.com` → `gmail.com`).
2. **Disposable & Temp-Mail Blocklist:** Instantly flags 200+ disposable email providers (`mailinator.com`, `guerrillamail.com`, `10minutemail.com`, `yopmail.com`, `tempmail.org`, `sharklasers.com`, `maildrop.cc`, etc.).
3. **Free Webmail vs. Corporate B2B Classification:** Distinguishes consumer webmail (`gmail.com`, `yahoo.com`, `outlook.com`, `icloud.com`, `proton.me`) from true B2B corporate domains (`isB2bCorporateDomain: true`).
4. **Role-Account Detection:** Flags shared functional inboxes (`support@`, `sales@`, `info@`, `admin@`, `billing@`, `security@`, `careers@`, `press@`, `legal@`, `hr@`, etc.).
5. **Live DNS `MX`, `SPF` (`v=spf1`), and `DMARC` (`_dmarc.`) Resolution:** Queries live DNS records with multi-provider DNS-over-HTTPS (`dns.google` & `cloudflare-dns.com`) + `dnspython` fallback in `<30ms`, returning sorted `mxRecords`, `spfRecord`, `dmarcRecord`, and `dmarcPolicy` (`none`, `quarantine`, `reject`).
6. **Mail Server Provider Fingerprinting:** Automatically fingerprints `Google Workspace`, `Microsoft 365`, `Cloudflare Email Routing / Security`, `Proofpoint`, `Mimecast`, `Amazon SES`, `ProtonMail`, `Fastmail`, `Zoho Mail`, `Barracuda Email Security`, `Mailgun`, `SendGrid`, `Postmark`, or `Custom / Self-Hosted MX`.
7. **B2B Lead Email Permutation & Domain Contact Discovery:** Given `firstName`, `lastName`, and `domain`, generates standard corporate permutations (`first.last@`, `first@`, `flast@`, `first_last@`, `f.last@`, `firstl@`, `last.first@`), checks public company pages (`/.well-known/security.txt`, homepage) for published `@domain` contacts, and returns the highest-confidence verified B2B email.

***

### Input Example

```json
{
  "mode": "both",
  "emails": [
    "support@stripe.com",
    "press@openai.com",
    "temp@mailinator.com",
    "invalid-user@nonexistent-domain-99999.xyz"
  ],
  "leads": [
    {
      "firstName": "Patrick",
      "lastName": "Collison",
      "domain": "stripe.com"
    }
  ],
  "scrapeDomainContacts": true,
  "enableSmtpProbe": false,
  "maxConcurrency": 10
}
```

***

### Output Example

```json
[
  {
    "email": "support@stripe.com",
    "normalizedEmail": "support@stripe.com",
    "recordType": "verification",
    "deliverabilityStatus": "deliverable",
    "confidenceScore": 92,
    "isValidSyntax": true,
    "localPart": "support",
    "domain": "stripe.com",
    "isDisposable": false,
    "isFreeWebmail": false,
    "isRoleAccount": true,
    "isB2bCorporateDomain": true,
    "isPlusAddressed": false,
    "typoSuggestion": null,
    "hasMx": true,
    "mxRecords": [
      { "priority": 10, "exchange": "aspmx.l.google.com" },
      { "priority": 20, "exchange": "alt1.aspmx.l.google.com" }
    ],
    "mailProvider": "Google Workspace",
    "hasSpf": true,
    "spfRecord": "v=spf1 include:_spf.google.com include:spf.stripe.com ~all",
    "hasDmarc": true,
    "dmarcRecord": "v=DMARC1; p=reject; rua=mailto:dmarc@stripe.com",
    "dmarcPolicy": "reject",
    "smtpCheck": {
      "attempted": false,
      "port25Reachable": false,
      "smtpCode": null,
      "smtpMessage": "SMTP probe skipped (DNS/MX/SPF/DMARC fast verification mode)"
    },
    "firstName": null,
    "lastName": null,
    "selectedPattern": null,
    "candidatePermutations": [],
    "discoveredDomainEmails": [],
    "statusReason": "valid_mx_spf_dmarc_verified",
    "extractedVia": "doh_google_dns",
    "elapsedMs": 42
  }
]
```

***

### Local CLI Usage

```bash
python3 -m src.main --input '{"mode": "both", "emails": ["support@stripe.com"], "leads": [{"firstName": "Patrick", "lastName": "Collison", "domain": "stripe.com"}]}'
```

Built and maintained by **Keene Digital Studio**.

# Actor input Schema

## `mode` (type: `string`):

Select 'verify' (bulk verify email addresses), 'find' (find B2B work emails from firstName + lastName + domain), or 'both' (run both verification and B2B email discovery).

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

List of email addresses to verify via RFC 5322 syntax, disposable/free-provider check, role-account detection, live DNS MX/SPF/DMARC lookup, mail server fingerprinting, and SMTP probe.

## `leads` (type: `array`):

List of B2B lead objects ({'firstName': '...', 'lastName': '...', 'domain': '...'}) to generate corporate email permutations, discover domain naming conventions, and verify via live DNS/MX/SPF/DMARC.

## `scrapeDomainContacts` (type: `boolean`):

When true, inspects public company pages (/.well-known/security.txt, homepage, /contact, /about) for published @domain email addresses to infer corporate naming conventions.

## `enableSmtpProbe` (type: `boolean`):

When true, attempts a fast non-intrusive TCP port-25 EHLO/RCPT TO check when port 25 is reachable, falling back cleanly to DNS MX/SPF/DMARC + provider confidence scoring when outbound port 25 is filtered.

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

Maximum number of concurrent DNS/HTTP verification workers.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy or custom proxy URLs for domain contact scraping.

## Actor input object example

```json
{
  "mode": "both",
  "emails": [
    "support@stripe.com",
    "press@openai.com",
    "invalid-user@nonexistent-domain-99999.xyz"
  ],
  "leads": [
    {
      "firstName": "Patrick",
      "lastName": "Collison",
      "domain": "stripe.com"
    }
  ],
  "scrapeDomainContacts": true,
  "enableSmtpProbe": false,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all verified emails and found B2B lead emails.

## `overview` (type: `string`):

Tabular overview of verified and discovered B2B emails.

# 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 = {
    "mode": "both",
    "emails": [
        "support@stripe.com",
        "press@openai.com",
        "invalid-user@nonexistent-domain-99999.xyz"
    ],
    "leads": [
        {
            "firstName": "Patrick",
            "lastName": "Collison",
            "domain": "stripe.com"
        }
    ],
    "maxConcurrency": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("keenedigitalstudio/b2b-email-finder-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 = {
    "mode": "both",
    "emails": [
        "support@stripe.com",
        "press@openai.com",
        "invalid-user@nonexistent-domain-99999.xyz",
    ],
    "leads": [{
            "firstName": "Patrick",
            "lastName": "Collison",
            "domain": "stripe.com",
        }],
    "maxConcurrency": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("keenedigitalstudio/b2b-email-finder-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 '{
  "mode": "both",
  "emails": [
    "support@stripe.com",
    "press@openai.com",
    "invalid-user@nonexistent-domain-99999.xyz"
  ],
  "leads": [
    {
      "firstName": "Patrick",
      "lastName": "Collison",
      "domain": "stripe.com"
    }
  ],
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call keenedigitalstudio/b2b-email-finder-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,keenedigitalstudio/b2b-email-finder-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/dpk6xHKDDumDAnOXy/builds/jMOHRgdAHAaz73a8e/openapi.json
