# B2B Domain Tech-Stack, Email & Signal Enricher (MCP & Clay) (`tnlam/b2b-domain-tech-contact-enricher`) Actor

Fast, proxy-free enricher for Shopify/DTC, WordPress SMB & B2B SaaS lists. Extracts emails (incl. Cloudflare cfemail & JSON-LD), phones, socials, 75+ tech fingerprints & free DNS MX/SPF/DMARC intelligence. $0 on blocked/empty/failed.

- **URL**: https://apify.com/tnlam/b2b-domain-tech-contact-enricher.md
- **Developed by:** [Lam Nhat Tien](https://apify.com/tnlam) (community)
- **Categories:** Lead generation, MCP servers, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 domain 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 Domain Tech-Stack, Email & Signal Enricher (MCP & Clay Ready)

Fast, **proxy-free** domain enrichment Actor purpose-built for **Shopify/DTC e-commerce agencies**, **WordPress SMB lead lists**, **B2B SaaS outbound teams**, **Clay / n8n / Make workflows**, and **AI Agents via the Apify MCP Server**.

Pass a list of company domains and get back clean, deterministic JSON with **public business emails** (including Cloudflare `data-cfemail`, `[at]`/`&#64;` obfuscations, and Schema.org JSON-LD), **phone numbers**, **social profiles**, **75+ technographic fingerprints**, and **zero-cost DNS intelligence** (`MX` email provider, `SPF` ESP/SaaS vendors, `TXT` verification signals, and `DMARC` policy) — with **strict `$0` billing on blocked, empty-SPA, or dead domains**.

***

### Why Use This Enricher?

- **Built for SMB E-commerce, WordPress & B2B SaaS Lists:** Deep fingerprinting for **Shopify/DTC apps** (`Gorgias`, `Klaviyo`, `Judge.me`, `Yotpo`, `Recharge`, `Attentive`, `Omnisend`, `Loox`, `Okendo`, `Stamped.io`, `Smile.io`, `LoyaltyLion`, `Triple Whale`, `Northbeam`, `Rebuy`, `AfterShip`, `Loop Returns`, `Affirm`, `Klarna`, `Shop Pay`) and **WordPress SMB plugins** (`Elementor`, `Yoast SEO`, `WP Rocket`, `Rank Math`, `Gravity Forms`, `WPForms`) alongside 50+ B2B SaaS tools.
- **Built-in Zero-Cost DNS Intelligence (Even on Blocked Sites):** Runs parallel `MX`, `TXT`/`SPF`, and `_dmarc` lookups on every valid domain. Even when a target site returns a Cloudflare/WAF challenge (`status: "blocked"`), you still receive its `emailProvider` (Google Workspace / Microsoft 365 / Zoho / Proton / Proofpoint / Mimecast), `spfServices`, `txtSignals`, and `dmarcPolicy` at **$0**.
- **Anti-Empty-Charge Guarantee (`$0` on Blocked, Empty SPA & Failed Domains):** WAF/Cloudflare challenge pages (`status: "blocked"`), empty JS-only SPA shells (`status: "empty"`), timeouts, and dead domains are **never billed**.
- **Contact Extraction Beyond Plain `mailto:`:** Decodes Cloudflare `data-cfemail` hex XOR protection, `[at]`/`(at)`/`&#64;` obfuscations, `tel:` phone links, and `<script type="application/ld+json">` (`Organization`, `LocalBusiness`, `OnlineStore`, `@graph`) emails, phones, addresses, and `sameAs` social links, with automatic HTTPS -> `https://www.` -> HTTP fallback.
- **Ultra-Fast & Low-Memory (256 MB–512 MB):** No headless browser overhead or proxy fees — ideal for single-row lookups in **Clay** or **MCP AI Agents** as well as 2,000-domain batches.

***

### Real-World 60-Domain Benchmark (`v1.0.6` vs `v1.1.0`)

Measured locally on the exact same messy 60-domain public dataset (**20 Shopify/DTC stores**, **15 WordPress SMB sites**, **15 B2B SaaS sites**, **5 Cloudflare/WAF bot-protected sites**, **5 non-existent dead domains**) at `concurrency=10`, `timeoutSecs=10`:

| Metric (60 Mixed Domains / 55 Live) | `v1.0.6` Baseline | `v1.1.0` Current | Change |
| --- | --- | --- | --- |
| **DNS Intelligence (MX + SPF + DMARC)** | 0 / 60 (0%) | **55 / 60 (100% of live)** | **+55 domains** (incl. `$0` blocked rows) |
| **Public Emails Extracted** | 18 / 60 (32.7% live) | **23 / 60 (41.8% live)** | **+27.8%** (WordPress SMB: 2 -> 5) |
| **Phone Numbers Extracted (`tel:` + JSON-LD)** | 0 / 60 (0%) | **4 / 60 (7.3% live)** | **+4 domains** |
| **Avg Tech Signals (All 60 Domains)** | 3.05 | **4.07** | **+33.4%** |
| **Avg Tech Signals — Shopify/DTC (20)** | 4.00 | **6.30** | **+57.5%** |
| **Avg Tech Signals — WordPress SMB (15)** | 3.40 | **4.40** | **+29.4%** |
| **Explicit `blocked` WAF Rows (`$0` charged)** | 0 (generic `error`) | **6** (`$0` + free DNS) | Transparent fair billing |
| **Billed Rows with Zero Signals** | 0 | **0** | Anti-empty-charge guard |
| **Total Wall Time (60 domains)** | 14.73 s (avg 2,005 ms) | **13.28 s (avg 1,907 ms)** | **9.8% faster** |

> **Honest Limitations:** Because this Actor is proxy-free and HTTP-only (no headless browser), sites behind strict Cloudflare Managed Challenges, Akamai/PerimeterX WAFs (e.g., G2, Crunchbase, Glassdoor, Indeed), or client-side-only SPAs that render zero initial HTML return `"status": "blocked"` or `"status": "empty"` at **$0** — while still returning free DNS MX/SPF/DMARC intelligence.

***

### What It Extracts Per Domain

| Category | Fields Extracted |
| --- | --- |
| **Public Contacts** | Prioritized `primaryEmail`, `allEmails` (up to 10; decodes `data-cfemail`, `[at]`/`&#64;`, `mailto:`, JSON-LD), `phones` (up to 5 from `tel:` + JSON-LD), `address` (from JSON-LD), `contactUrl`, `aboutUrl` (with optional Contact/About page follow-up) |
| **DNS Intelligence (Zero-Cost)** | `hasMx`, `mxHosts`, `emailProvider` (Google Workspace, Microsoft 365, Zoho, Proton, Fastmail, Cloudflare, Mimecast, Proofpoint, AWS SES, etc.), `hasSpf`, `spfServices` (Klaviyo, HubSpot, SendGrid, Mailchimp, Salesforce, Zendesk, Postmark, Mailgun, Brevo, Shopify Email, Omnisend, etc.), `txtSignals` (Atlassian, Slack, Notion, DocuSign, Stripe, Meta, Google, Ahrefs, Shopify, etc.), `hasDmarc`, `dmarcPolicy` (`none` / `quarantine` / `reject`) |
| **75+ Tech Stack Fingerprints** | **Shopify & DTC Apps:** Shopify, Judge.me, Yotpo, Recharge, Loox, Okendo, Stamped.io, Smile.io, LoyaltyLion, Rebuy, AfterShip, Loop Returns, Gorgias, Klaviyo, Attentive, Omnisend, Triple Whale, Northbeam, Affirm, Klarna, Shop Pay. **WordPress SMB:** WordPress, WooCommerce, Elementor, Yoast SEO, WP Rocket, Rank Math, Gravity Forms, WPForms. **B2B SaaS / Web:** Webflow, Framer, Next.js, Nuxt, Astro, React, Vue.js, Svelte, Tailwind CSS, Cloudflare, Vercel, Netlify, AWS CloudFront, Fastly, Stripe, Paddle, PayPal, Chargebee, Polar, HubSpot, Intercom, Zendesk, Crisp, Drift, Freshdesk, Tawk.to, Calendly, Cal.com, GA4, GTM, PostHog, Segment, Mixpanel, Plausible, Hotjar, Meta Pixel, LinkedIn Insight, Clerk, Auth0, Sentry, Supabase |
| **Social Profiles** | LinkedIn (company/profile), X/Twitter, GitHub, YouTube, Instagram, Facebook, Discord (merged from HTML links + JSON-LD `sameAs`) |
| **Company & Buying Signals** | `title`, `h1`, `description`, `language`, `finalUrl`, `httpStatus`, `hasPricingPage`, `hasCareersPage`, `hasDocsOrApi`, `hasBlog`, `hasLiveChat`, `isEcommerce`, `usesPaidPaymentStack` |
| **Qualification Heuristic _(Optional)_** | Deterministic `leadReadinessScore` (0–100) + transparent `scoreReasons` array explaining every awarded point for quick Clay/CRM triage |

***

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

- **`apify-actor-start`**: Minimal one-time startup event per Actor run (**$0.0005 / run**).
- **`domain-enriched`**: Charged strictly **once per successfully enriched domain (`status: "ok"`)** (**$0.0025 / domain**, i.e. **$2.50 per 1,000 enriched domains**).
- **Automatic Deduplication:** Duplicate domains in the same run are normalized and merged so you are never double-charged.
- **Zero Charge for Non-Enrichable Domains:** `status: "blocked"` (WAF/Cloudflare challenge), `status: "empty"` (JS-only SPA shell), and `status: "error"` (timeouts, dead domains, HTTP errors, invalid inputs) are pushed with free DNS intelligence and **cost $0**.
- **Budget Protection:** Gracefully honors Apify's `maxTotalChargeUsd` limit.

***

### Connect to AI Agents via Model Context Protocol (MCP)

#### Option 1: Hosted Apify MCP Server (Fastest)

```
https://mcp.apify.com/?tools=tnlam/b2b-domain-tech-contact-enricher
```

#### Option 2: Local MCP Config (Claude Desktop / Cursor)

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "tnlam/b2b-domain-tech-contact-enricher"],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

***

### Example Input

```json
{
  "domains": ["allbirds.com", "apify.com", "linear.app"],
  "followContactPages": true,
  "concurrency": 5,
  "timeoutSecs": 12
}
```

### Example Output (Abbreviated)

```json
{
  "status": "ok",
  "domain": "apify.com",
  "finalUrl": "https://apify.com/",
  "httpStatus": 200,
  "company": {
    "title": "Apify: Marketplace of ready-to-run tools for AI",
    "h1": "Apify is the largest marketplace of trusted tools for AI.",
    "description": "Thousands of tools to automate your business.",
    "language": "en"
  },
  "contacts": {
    "primaryEmail": "hello@apify.com",
    "allEmails": ["hello@apify.com"],
    "phones": [],
    "address": null,
    "contactUrl": "https://apify.com/contact",
    "aboutUrl": "https://apify.com/about"
  },
  "socials": {
    "linkedin": "https://linkedin.com/company/apify",
    "github": "https://github.com/apify/crawlee",
    "discord": "https://discord.com/invite/jyEM2PRvMU"
  },
  "techStack": ["HubSpot CMS", "Next.js", "AWS CloudFront", "HubSpot", "Intercom", "Google Tag Manager"],
  "dns": {
    "hasMx": true,
    "mxHosts": ["aspmx.l.google.com"],
    "emailProvider": "Google Workspace",
    "hasSpf": true,
    "spfServices": ["Google Workspace", "HubSpot", "SendGrid"],
    "txtSignals": ["Google", "Atlassian", "Slack"],
    "hasDmarc": true,
    "dmarcPolicy": "reject"
  },
  "buyingSignals": {
    "hasPricingPage": true,
    "hasCareersPage": true,
    "hasDocsOrApi": true,
    "hasBlog": false,
    "hasLiveChat": true,
    "isEcommerce": false,
    "usesPaidPaymentStack": false
  },
  "leadReadinessScore": 95,
  "scoreReasons": [
    "+25: Public business email found",
    "+15: LinkedIn profile found",
    "+10: 2+ social profiles found",
    "+15: Pricing page detected",
    "+15: Careers/hiring page detected",
    "+10: CRM/support or marketing/analytics stack detected",
    "+5: Active business MX (Google Workspace)"
  ],
  "pagesScanned": ["https://apify.com/", "https://apify.com/contact"],
  "durationMs": 540
}
```

***

### Integrations

Works seamlessly with **Clay** (HTTP API / Apify integration), **n8n**, **Make.com**, **Zapier**, **REST API**, and **Apify SDKs** (JavaScript & Python).

### Compliance & Ethical Use (GDPR / CCPA)

- This Actor only reads publicly accessible website HTML, HTTP response headers, and public DNS records — it never bypasses logins, CAPTCHAs, WAF challenges, or paywalls.
- **Personal Data Notice:** While role-based business addresses (such as `sales@`, `hello@`, `info@`) are generally non-personal, publicly listed individual work emails (e.g., `firstname.lastname@company.com`), phone numbers, and personal social profiles may qualify as **personal data under GDPR, UK GDPR, CCPA, and similar privacy laws**.
- **User Responsibility:** You are solely responsible for ensuring you have a valid lawful basis (such as B2B Legitimate Interest), honoring opt-out/unsubscribe requests, and complying with applicable data-protection and anti-spam regulations before storing or contacting extracted contacts.

# Actor input Schema

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

List of company domains or URLs (e.g. 'apify.com', 'https://linear.app'). Duplicates are removed automatically.

## `followContactPages` (type: `boolean`):

If enabled, fetches up to 2 discovered internal contact/about pages when no email is found on the homepage.

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

Number of domains to enrich in parallel (1–20).

## `timeoutSecs` (type: `integer`):

HTTP timeout per page fetch in seconds.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "linear.app"
  ],
  "followContactPages": true,
  "concurrency": 5,
  "timeoutSecs": 12
}
```

# Actor output Schema

## `enrichedDomains` (type: `string`):

Structured JSON records per domain including company summary, public business emails, phones, social profiles, 75+ tech stack signals, zero-cost DNS MX/SPF/DMARC intelligence, buying signals, and lead readiness score.

# 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",
        "linear.app"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tnlam/b2b-domain-tech-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",
        "linear.app",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tnlam/b2b-domain-tech-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",
    "linear.app"
  ]
}' |
apify call tnlam/b2b-domain-tech-contact-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tnlam/b2b-domain-tech-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/M6l10qX8q3xFFgZ89/builds/6WMZIzontXSIGIstf/openapi.json
