# B2B Website Contact Scraper + Instant MX Email Validator (`viktornovakuae/b2b-contact-email-validator`) Actor

2-in-1 B2B lead enricher: crawls company domains for emails, phones, socials & tech stack AND instantly validates MX records, mail provider & disposable risk.

- **URL**: https://apify.com/viktornovakuae/b2b-contact-email-validator.md
- **Developed by:** [Viktor Novak](https://apify.com/viktornovakuae) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.95 / 1,000 lead-enricheds

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

## B2B Website Contact Scraper + Instant DNS MX Email Validator (2-in-1 Lead Enricher)

Extract, enrich, and analyze **B2B company contact details and verified emails** in seconds with clean, structured JSON/CSV/Excel output—engineered for **B2B growth teams, data pipelines, n8n/Make automations, and AI MCP agents**.

***

### Why Choose This Actor?

- **True 2-in-1 Lead Pipeline:** Crawls company domains (`/contact`, `/about`, `/impressum`, `/legal`) to discover emails, phone numbers, and social profiles—and **validates every email in real time** without needing a second tool.
- **Live DNS MX, SPF & Mail Provider Fingerprinting:** Resolves live `MX` and `TXT (SPF)` records via `dnspython`, identifying `Google Workspace`, `Microsoft 365`, `ProtonMail`, `Zoho Mail`, `Cloudflare Email`, or custom mail gateways.
- **Zero Junk & Burner Protection:** Automatically eliminates image/asset false positives (`@2x.png`, Sentry telemetry hashes), flags role accounts (`info@`, `sales@`), and blocks disposable burner providers (`mailinator`, `yopmail`, `10minutemail`).
- **CMS & SaaS Tech Stack Detection:** Fingerprints `Shopify`, `Webflow`, `WordPress`, `Next.js`, `Framer`, `HubSpot`, `Intercom`, `Stripe`, and `Google Tag Manager` right from the homepage and subpages.
- **Dual Mode:** Enrich company websites (`domainsOrUrls`) *or* pass thousands of standalone cold-outreach emails (`emailsToVerify`) for pure bulk MX/deliverability verification at `$0.95 / 1,000`.

***

### High-ROI Use Cases

- **Cold Email & Outbound Teams:** Enrich raw domain lists from Google Maps, Crunchbase, or ATS job scrapers into verified, bounce-protected email leads ready for Instantly, Smartlead, or Lemlist.
- **Agency Technographic Prospecting:** Filter prospects running `Shopify` + `HubSpot` or `Webflow` + `Intercom` while grabbing their LinkedIn, X/Twitter, Telegram, and WhatsApp links.
- **CRM Hygiene & Inbound Lead Scoring:** Connect via n8n or MCP to score every new signup's email domain (`deliverabilityScore` 0–100) before routing to sales.

***

### Quick Start: How to Use in 3 Clicks (No Coding Required)

1. **Click "Try for free"** to open the Actor in your Apify Console—sensible prefilled defaults are already loaded so you can test immediately.
2. **Enter your targets** in the **Target Sources & Search Inputs** section (domains, keywords, slugs, or URLs) and set your desired result limit.
3. **Click "Start"** and download your enriched dataset in **Excel (`.xlsx`), CSV, JSON, or JSONL**, or pipe results directly into Google Sheets, Slack, HubSpot, or n8n.

***

### Input Parameters

| Parameter | Type | Required | Description |
| :--- | :--- | :---: | :--- |
| `domainsOrUrls` | `array` | Optional | List of company domains or URLs (e.g. 'apify.com', 'https://linear.app') to crawl for verified emails, phones, social links, and tech stack. *(Default: `["apify.com", "n8n.io"]`)* |
| `emailsToVerify` | `array` | Optional | Optional list of standalone email addresses to validate (syntax, DNS MX, mail provider, role-based, disposable check). *(Default: `[]`)* |
| `crawlContactPages` | `boolean` | Optional | Automatically discover and scan contact, about, legal, and impressum pages on each domain. *(Default: `true`)* |

#### Input JSON Example

```json
{
  "domainsOrUrls": [
    "apify.com",
    "n8n.io"
  ],
  "emailsToVerify": [
    "hello@apify.com",
    "burner@mailinator.com"
  ],
  "crawlContactPages": true
}
```

***

### Output Dataset Schema & Sample Record

Every item pushed to the default dataset follows a strict, normalized schema ready for spreadsheets, SQL warehouses, or LLM tool-calling:

| Field | Type | Description |
| :--- | :--- | :--- |
| `recordType` | `string` | `DOMAIN_ENRICHMENT` or `STANDALONE_EMAIL_VALIDATION`. |
| `domain` | `string` | Normalized root domain. |
| `companyTitle` | `string` | Extracted website title / brand name. |
| `verifiedEmails` | `array[string]` | Deliverable email addresses passing syntax, non-disposable, and live MX checks. |
| `emailDetails` | `array[object]` | Granular per-email breakdown (`status`, `deliverabilityScore`, `isRoleBased`, `isDisposable`, `mailProvider`). |
| `primaryEmailStatus` | `string` | `VALID_MX`, `ROLE_VALID_MX`, `DISPOSABLE_HIGH_RISK`, `INVALID_NO_MX`, or `SYNTAX_INVALID`. |
| `mailProvider` | `string` | Detected email infrastructure (`Google Workspace`, `Microsoft 365`, etc.). |
| `hasSpf` | `boolean` | Whether domain publishes a valid `v=spf1` sender policy record. |
| `phones` | `array[string]` | Extracted `tel:` and international phone numbers. |
| `socials` | `object` | Discovered `linkedin`, `twitter`, `github`, `instagram`, `youtube`, `telegram`, and `whatsapp` URLs. |
| `techStack` | `array[string]` | Detected website CMS, frameworks, analytics, and chat widgets. |
| `deliverabilityScore` | `integer` | 0–100 composite email deliverability confidence score. |

#### Sample Output JSON

```json
{
  "recordType": "DOMAIN_ENRICHMENT",
  "domain": "apify.com",
  "websiteUrl": "https://apify.com",
  "companyTitle": "Apify: Marketplace of ready-to-run tools for AI",
  "verifiedEmails": [
    "hello@apify.com",
    "support@apify.com"
  ],
  "primaryEmailStatus": "ROLE_VALID_MX",
  "mailProvider": "Google Workspace",
  "hasSpf": true,
  "phones": [],
  "socials": {
    "linkedin": "https://www.linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "github": "https://github.com/apify"
  },
  "techStack": [
    "Cloudflare",
    "Google Tag Manager",
    "HubSpot",
    "Intercom",
    "Next.js"
  ],
  "deliverabilityScore": 92
}
```

***

### Transparent Pay-Per-Event Pricing

You only pay for clean records actually delivered to your dataset via Apify's **Pay-Per-Event (`lead-enriched`)** model—no monthly lock-in or wasted subscription fees:

| Volume Extracted | Estimated Cost (`$0.95 / 1,000` items) |
| :--- | :--- |
| **100 items** | **$0.10** |
| **1,000 items** | **$0.95** |
| **10,000 items** | **$9.50** |

> **Free-Plan Demo Mode:** Users on Apify's `$0` Free plan can run live tests (up to 15–25 records per run) to inspect full data quality and schema compatibility before upgrading to any paid Apify plan for unlimited volume.

***

### API, Python, n8n & AI Agent (MCP) Integrations

#### 1. Connect to Claude, Cursor, ChatGPT & AI Agents via Apify MCP

Add the official Apify MCP server (`https://mcp.apify.com`) to your AI client so your assistant can discover and call `viktornovakuae/b2b-contact-email-validator` autonomously:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

#### 2. Run Synchronously via cURL (Single HTTP Request -> JSON Items)

```bash
curl -X POST "https://api.apify.com/v2/acts/viktornovakuae~b2b-contact-email-validator/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domainsOrUrls": ["apify.com", "n8n.io"], "emailsToVerify": ["hello@apify.com", "burner@mailinator.com"], "crawlContactPages": true}'
```

#### 3. Run via Official Python SDK (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("viktornovakuae/b2b-contact-email-validator").call(run_input={
  "domainsOrUrls": [
    "apify.com",
    "n8n.io"
  ],
  "emailsToVerify": [
    "hello@apify.com",
    "burner@mailinator.com"
  ],
  "crawlContactPages": true
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### 4. Automate in n8n / Make / Zapier

Install the verified **`@apify/n8n-nodes-apify`** node in n8n (or use an `HTTP Request` node), select **Run Actor and Get Dataset Items**, choose `viktornovakuae/b2b-contact-email-validator`, and route enriched records straight into Google Sheets, Airtable, HubSpot, Telegram, or OpenAI/Gemini nodes.

***

### Frequently Asked Questions (FAQ)

#### How to scrape B2B company contact details and verified emails reliably without getting blocked?

This Actor handles connection headers, pagination, rate-limiting, structured JSON/API extraction, and Apify Proxy rotation automatically in the cloud—delivering clean structured rows without maintaining brittle local scripts.

#### How much does it cost to extract B2B company contact details and verified emails?

Pricing is strictly usage-based at **$0.95 per 1,000 results** (`lead-enriched`). Extracting 500 records costs roughly **$0.47**, making it significantly more cost-effective than enterprise SaaS subscriptions.

#### Is extracting public data legal and compliant?

Yes. This Actor exclusively accesses **publicly available web data** without logging into private user accounts, bypassing paywalls, or collecting sensitive private personal data. Always ensure your downstream use complies with applicable terms and regulations (such as GDPR/CCPA where relevant).

***

### Related Intelligence Tools in Our Suite

Combine this Actor with our other specialized B2B, E-Commerce, Ads & AI data tools on Apify:

| Actor | Best For |
| :--- | :--- |
| [**Multi-ATS Career Jobs & B2B Hiring Signals API**](https://apify.com/viktornovakuae/multi-ats-jobs-hiring-signals) | Greenhouse, Lever, Ashby, Workable & SmartRecruiters jobs + B2B sales triggers |
| [**Trustpilot + App Store + Google Play Reviews & Churn Monitor**](https://apify.com/viktornovakuae/unified-reviews-churn-monitor) | 3-platform customer review intelligence with automated Churn Risk alerts |
| [**YouTube Transcript, Chapters & AI RAG Chunker API**](https://apify.com/viktornovakuae/youtube-transcript-rag-chunker) | Semantic timestamped Markdown chunks (`?t=Ns`) + outbound sponsor links |
| [**Reddit Buyer-Intent, Pain-Point & Brand Mention Scraper**](https://apify.com/viktornovakuae/reddit-buyer-intent-radar) | 0–100 Buyer-Intent scoring (`alternative to`, `recommend a tool`) on Reddit |
| [**eBay Sold Listings Scraper & Real Market Price Valuator**](https://apify.com/viktornovakuae/ebay-sold-price-valuator) | IQR-filtered median sold price, fair-value band & flip margin calculator |
| [**Google Ads Transparency Spy & Winning Creative Longevity API**](https://apify.com/viktornovakuae/google-ads-transparency-spy) | Browserless Google Ads spy ranked by active longevity days (`90d+ winners`) |
| [**Meta (Facebook & Instagram) Ad Library Winner Hunter**](https://apify.com/viktornovakuae/meta-ads-library-winner-hunter) | FB & IG ad spy with Days Running, duplicate collation count & funnel domain |
| [**UAE Real Estate & Below-Market Deal Finder (Dubai & Abu Dhabi)**](https://apify.com/viktornovakuae/uae-real-estate-deal-analyzer) | AED/sqft cohort median comparison, Below-Market % gems, gross yield & broker contacts |
| [**Amazon Product, Monthly Sales Volume & Revenue Intelligence API**](https://apify.com/viktornovakuae/amazon-product-revenue-intelligence) | 10 Amazon marketplaces with Monthly Units Bought & Estimated Monthly Revenue |

# Actor input Schema

## `domainsOrUrls` (type: `array`):

List of company domains or URLs (e.g. 'apify.com', 'https://linear.app') to crawl for verified emails, phones, social links, and tech stack.

## `emailsToVerify` (type: `array`):

Optional list of standalone email addresses to validate (syntax, DNS MX, mail provider, role-based, disposable check).

## `crawlContactPages` (type: `boolean`):

Automatically discover and scan contact, about, legal, and impressum pages on each domain.

## Actor input object example

```json
{
  "domainsOrUrls": [
    "apify.com",
    "n8n.io"
  ],
  "emailsToVerify": [],
  "crawlContactPages": true
}
```

# Actor output Schema

## `results` (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 = {
    "domainsOrUrls": [
        "apify.com",
        "n8n.io"
    ],
    "emailsToVerify": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("viktornovakuae/b2b-contact-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 = {
    "domainsOrUrls": [
        "apify.com",
        "n8n.io",
    ],
    "emailsToVerify": [],
}

# Run the Actor and wait for it to finish
run = client.actor("viktornovakuae/b2b-contact-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 '{
  "domainsOrUrls": [
    "apify.com",
    "n8n.io"
  ],
  "emailsToVerify": []
}' |
apify call viktornovakuae/b2b-contact-email-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,viktornovakuae/b2b-contact-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/8Sckq1iKYCKi5hAcp/builds/xmnmH7BItNHjItWyG/openapi.json
