# B2B Domain Contact, MX & Tech Stack Enricher (MCP) (`apexsignal/b2b-domain-contact-enricher`) Actor

Extract verified B2B emails, social links, DNS/MX email provider (Google Workspace, Microsoft 365), and tech stack from company domains in <2s. Built for AI Agents (Standby MCP) and batch lead enrichment.

- **URL**: https://apify.com/apexsignal/b2b-domain-contact-enricher.md
- **Developed by:** [Burapa Jaiwat](https://apify.com/apexsignal) (community)
- **Categories:** Lead generation, Business, AI
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 enriched domain profiles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## B2B Domain Contact, MX Email Provider & Tech Stack Enricher (MCP Ready)

Fast, deterministic B2B company domain enrichment built for **AI Agents (Model Context Protocol / Apify Standby Mode)**, **Outbound Sales / RevOps teams**, and **Market Intelligence pipelines**.

Given a list of company domains (e.g., `apify.com`, `stripe.com`), this Actor resolves live website metadata, business email addresses, social media links, DNS `MX` email infrastructure, and web technology signals in `< 1.5 seconds` per domain without browser overhead.

***

### Use Cases

- **Outbound Sales & SDR Enrichment:** Turn raw company domain lists into actionable contact records with verified social profiles (`LinkedIn`, `X/Twitter`, `GitHub`) and role/business emails.
- **Email Deliverability Segmentation:** Detect whether a prospect uses **Google Workspace**, **Microsoft 365**, **Proofpoint**, **Mimecast**, **Zoho**, or **Proton Mail** via live DNS `MX` inspection so you can route outbound campaigns by mail server type.
- **Technographic Qualification:** Identify companies running **Next.js**, **Shopify**, **WordPress**, **HubSpot**, **Stripe**, or **Cloudflare** before reaching out.
- **AI Agent Tool Calling (`/mcp`):** Expose instant domain intelligence to Claude, Cursor, LangGraph, or custom MCP agents via Apify Standby Mode.

***

### Input Parameters

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `domains` | `string[]` | Yes | `["apify.com"]` | Array of company domains or URLs to enrich. Automatically normalizes URLs (`https://www.apify.com/pricing` → `apify.com`) and deduplicates entries. |
| `maxItems` | `integer` | No | `20` | Maximum number of validated company profiles to return and bill (`1` to `10,000`). Keep at `<= 20` for a `< $0.05` quick trial run. |

#### Example Input

```json
{
  "domains": ["apify.com", "cloudflare.com"],
  "maxItems": 20
}
```

***

### Output Fields

| Field | Type | Description |
|---|---|---|
| `domain` | `string` | Normalized root company domain (e.g. `apify.com`). |
| `title` | `string` | Extracted HTML `<title>` of the company homepage. |
| `description` | `string` | Extracted `<meta name="description">` summary. |
| `emails` | `string[]` | Deduplicated business emails discovered on the page (automatically filters out `.png`/`.svg`/Sentry noise). |
| `socials` | `object` | Discovered social links (`linkedin`, `twitter`, `github`, `youtube`). |
| `emailProvider` | `string` | Classified DNS `MX` provider (`Google Workspace`, `Microsoft 365`, `Proofpoint Enterprise`, `Mimecast`, `Zoho Mail`, `Proton Mail`, `Cloudflare Email Routing`). |
| `techSignals` | `string[]` | Detected web stack technologies (`Next.js`, `Shopify`, `WordPress`, `HubSpot`, `Stripe`, `Cloudflare`, `Express`). |
| `enrichedAt` | `string` | ISO 8601 UTC timestamp of enrichment. |

#### Example Output

```json
{
  "domain": "apify.com",
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "description": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
  "emails": ["support@apify.com"],
  "socials": {
    "linkedin": "https://www.linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "github": "https://github.com/apify"
  },
  "emailProvider": "Google Workspace",
  "techSignals": ["Next.js", "HubSpot"],
  "enrichedAt": "2026-11-06T12:19:03.798Z"
}
```

***

### Pricing (Pay-Per-Event)

This Actor uses transparent **Pay-Per-Event (PPE)** pricing enforced by `@fleet/ppe-guard`:

| Event Name | Price (USD) | When is it charged? |
|---|---:|---|
| `apify-actor-start` | `$0.00005` | Once when the Actor starts after input validation passes. |
| `result-item` | `$0.00200` | Per schema-validated company domain profile pushed to the dataset (`$2.00` per 1,000 domains). |

- **Budget Ceiling Protection:** Respects `ACTOR_MAX_TOTAL_CHARGE_USD` and automatically self-throttles at `95%` of your budget ceiling so runs finish cleanly without mid-item data truncation.
- **Restart Idempotency:** Persists charged domain keys in `CHARGE_LEDGER_V1` so container migrations never double-charge the same domain.

***

### Standby MCP & AI Agent Integration

This Actor supports **Apify Standby Mode** (`webServerMcpPath: "/mcp"`). Connect any MCP client (Claude Desktop, Cursor, or `mcp.apify.com`) to invoke the `enrich_company_domains` tool with zero container cold-start latency.

***

### Part of the B2B Intelligence Suite

Combine this Actor with the rest of our B2B Intelligence Suite for end-to-end outbound automation:

| Actor Slug | Primary Use Case | Input → Output |
|---|---|---|
| **`b2b-domain-contact-enricher`** *(This Actor)* | Fast company domain, DNS MX provider & tech stack enrichment | `domain` → Emails, Socials, MX Provider, Tech Stack |
| **`bulk-email-mx-verifier`** | High-speed bulk email syntax, DNS MX & disposable verification (`$0.60/1k`) | `emails[]` → Deliverability Status & Quality Score (`0–100`) |
| **`ats-career-job-listing-api`** | Real-time hiring signals from Greenhouse, Lever & Ashby career boards | `boardSlug` → Normalized Open Roles & Departments |
| **`b2b-company-lead-finder`** | Decision-maker email permutation & MX-verified company lead generation | `domains[] + contacts[]` → Verified Executive Emails & Firmographics |

***

### Data Privacy & Responsible Use

- **Public Business Data Only:** This Actor inspects publicly accessible company homepages and public DNS `MX` records. It does not bypass authentication, scrape private social profiles, or store extracted data outside your Apify run dataset.
- **Compliance:** Users are responsible for complying with applicable regulations (such as GDPR, CCPA, and CAN-SPAM) when contacting business addresses obtained from public company websites.

***

### FAQ & Support

- **Why did a domain return empty `emails`?** Many enterprise homepages do not list raw `mailto:` addresses on their root page. Chain this Actor with **`b2b-company-lead-finder`** to infer `{first}.{last}@domain` patterns and permute executive emails backed by `MX` verification.
- **Support & Issues:** Please open a ticket in the **Issues** tab on the Apify Store page with your Run ID for fast assistance.

# Actor input Schema

## `domains` (type: `array`):

List of company domains to enrich (e.g. \["apify.com", "stripe.com"]). Keep <= 20 for a < $0.05 trial run.

## `maxItems` (type: `integer`):

Maximum number of validated domain profiles to return and bill.

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

Structured items stored in the default 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 = {
    "domains": [
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apexsignal/b2b-domain-contact-enricher").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 = { "domains": ["apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("apexsignal/b2b-domain-contact-enricher").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 '{
  "domains": [
    "apify.com"
  ]
}' |
apify call apexsignal/b2b-domain-contact-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apexsignal/b2b-domain-contact-enricher"
        }
    }
}
```

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/mFu35nSEIeJ1Szp6C/builds/i9P5pOCl04WGjrR43/openapi.json
