# Website Contact, Email & Tech Stack Enricher (`forlex/website-contact-enricher`) Actor

Flat per-domain website contact scraper, Link-in-Bio extractor (Linktree/Beacons/Stan), decision-maker finder, DNS/MX email hygiene scorer, and 45+ tech/ad-pixel detector. Bulk, Dataset Chaining, Multi-Tenant Server API & MCP.

- **URL**: https://apify.com/forlex/website-contact-enricher.md
- **Developed by:** [Forlex Lab](https://apify.com/forlex) (community)
- **Categories:** Lead generation, Automation, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 domain enricheds

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

## 🌐 Website Contact, Email, Link-in-Bio & Tech Stack Enricher

> **Flat per-domain B2B contact, Link-in-Bio creator lead, DNS/MX email hygiene, decision-maker, and 45+ tech/ad-pixel enrichment** — built for cold email agencies, Clay/n8n/Make pipelines, and AI SDR agents via **Batch**, **Multi-Tenant Server API**, and **native MCP**.

[![Apify Store](https://img.shields.io/badge/Apify%20Store-Pay%20Per%20Event-00D4AA)](#pricing-pay-per-event)
[![MCP Ready](https://img.shields.io/badge/MCP-Native%20Streamable%20HTTP-blue)](#mcp-server-integration)
[![Zero Port 25](https://img.shields.io/badge/Email%20Hygiene-DNS%20MX%2FSPF%2FDMARC-success)](#features)

***

### 🚀 Why This Actor Beats Per-Page Contact Scrapers

| Feature | **Website Contact Enricher (`forlex`)** | Legacy Per-Page Contact Scrapers |
| :--- | :--- | :--- |
| **Pricing Model** | **Flat per-domain** ($0.0025 FREE / $0.0020 BRONZE / $0.0012 GOLD) | Charged **per subpage** ($0.002 × 10 pages = $0.020/site) + browser/proxy fees |
| **Browser / Proxy Overhead** | **Direct HTTP/Cheerio first** (256 MB RAM, $0 extra proxy) | Extra surcharges for browser & residential proxies |
| **Link-in-Bio Support** | **Linktree, Beacons, Stan Store, Carrd, bio.site, Bento** + outbound hops | Basic or unsupported |
| **Email Hygiene** | **DNS MX / SPF / DMARC + Mail Provider + Role/Disposable Score** | Raw unverified email strings |
| **Dataset Chaining** | **Direct `sourceDatasetId`** from Google Maps / LinkedIn | Manual URL export required |
| **AI & API Readiness** | **Multi-Tenant Server API (`/enrich`) + Native MCP (`/mcp`)** | Batch-only or complex setup |

***

### ✨ Key Features

- 🎯 **Flat Per-Domain Early-Stop Crawler** — Inspects homepage first, then prioritizes `/contact`, `/about`, `/team`, and `/impressum` and stops early as soon as contacts are found.
- 🪪 **Creator Link-in-Bio Extractor** — Parses Linktree, Beacons.ai, Stan Store, Carrd, bio.site, lnk.bio, Taplink, and Bento.me profiles and follows up to 3 outbound brand links for business emails.
- ✉️ **Zero-Port-25 Email Hygiene Engine** — Performs real-time DNS MX, SPF, and DMARC checks, classifies Google Workspace / Microsoft 365 / Zoho / Proton hosts, flags disposable & role emails, and ranks `bestEmail` (0–100 score).
- 🧩 **45+ Tech Stack & Ad Pixel Detector** *(optional add-on)* — Identifies Shopify, WooCommerce, Webflow, HubSpot, Klaviyo, Stripe, Meta Pixel, TikTok Pixel, Google Ads, LinkedIn Insight Tag, and more.
- 👤 **Decision-Maker Finder** *(optional add-on)* — Extracts founders, executives, job titles, LinkedIn `/in/` profiles, and correlated emails from `/team`, `/about`, and JSON-LD `Person` schemas.
- 🔌 **Notion / Slack / Todoist MCP Connector** — Deliver enriched lead summaries or per-domain records directly to your workspace.

***

### 💡 Quick Start

#### 1. Create a Free Apify Account ($5 Credit)

[![Create Free Account](https://img.shields.io/badge/Create%20Free%20Account-%245%20Credit-00D4AA?style=for-the-badge)](https://apify.com?fpr=5uxnkx)

#### 2. Example Input

```json
{
  "urls": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "maxPagesPerDomain": 3,
  "followLinkInBio": true,
  "verifyEmailDns": true,
  "includeTechStack": true,
  "includeDecisionMakers": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### 3. Example Output

```json
{
  "domainKey": "apify.com",
  "submittedUrl": "https://apify.com",
  "finalUrl": "https://apify.com/",
  "domain": "apify.com",
  "isLinkInBio": false,
  "status": "ok",
  "httpStatus": 200,
  "pagesVisited": 2,
  "bestEmail": "hello@apify.com",
  "emails": ["hello@apify.com"],
  "phones": [],
  "socialLinks": {
    "linkedin": "https://www.linkedin.com/company/apify",
    "x": "https://x.com/apify",
    "github": "https://github.com/apify"
  },
  "hasContactForm": true,
  "techStack": ["Next.js", "HubSpot", "Google Tag Manager", "Stripe"],
  "adPixels": ["Google Tag Manager"],
  "dnsMailProvider": "Google Workspace",
  "hasMxRecord": true,
  "hasSpfRecord": true,
  "hasDmarcRecord": true,
  "leadQualityScore": 80
}
```

***

### 💰 Pricing (Pay Per Event)

| Event | FREE | BRONZE | SILVER | GOLD+ | Notes |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **`apify-actor-start`** | $0.00005 | $0.00005 | $0.00005 | $0.00005 | Per GB RAM (first 5s compute free) |
| **`apify-default-dataset-item`** *(Primary)* | **$0.0025** | **$0.0020** | **$0.0015** | **$0.0012** | Flat per domain (up to 15 subpages included) |
| **`tech-and-pixels-addon`** *(Optional)* | $0.0015 | $0.0012 | $0.0010 | $0.0008 | Charged only when `includeTechStack` finds signals |
| **`decision-makers-addon`** *(Optional)* | $0.0030 | $0.0025 | $0.0020 | $0.0015 | Charged only when `includeDecisionMakers` finds contacts |
| **`api-enrich-request`** *(Server / MCP)* | $0.0025 | $0.0020 | $0.0015 | $0.0012 | Per real-time `/enrich` or MCP tool call |

> **Cost example (Bronze):** Enriching **1,000 domains** with emails, phones, socials, and DNS MX/SPF/DMARC validation costs **$2.00 total** — up to **5×–10× cheaper** than per-page scrapers. Free Apify users can run core extraction up to platform limits.

***

### 🔧 API, Node.js, Python & MCP Server Integration

#### Real-Time Server API

```bash
curl "https://forlex--website-contact-enricher.apify.actor/enrich?url=apify.com&includeTechStack=true" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN"
```

#### Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('forlex/website-contact-enricher').call({
  urls: ['https://apify.com', 'https://crawlee.dev'],
  includeTechStack: true,
  verifyEmailDns: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("forlex/website-contact-enricher").call(
    run_input={"urls": ["https://apify.com"], "verifyEmailDns": True}
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

#### MCP Server Endpoint

Connect any MCP client (Claude, Cursor, Antigravity) to `https://forlex--website-contact-enricher.apify.actor/mcp` with `Authorization: Bearer YOUR_APIFY_TOKEN`. Exposed tools:

- `enrich_website_contacts`
- `detect_website_tech_stack`
- `extract_link_in_bio_contacts`

***

### 🔗 More Actors by `forlex`

- [LinkedIn Company Details Scraper](https://apify.com/forlex/linkedin-company-scraper) — Extract 30+ firmographic fields without cookies.
- [TikTok Comments Scraper](https://apify.com/forlex/tiktok-comments-scraper) — Scrape TikTok comments, replies, and buyer-intent leads.
- [Notion Page, Wiki & Database Scraper](https://apify.com/forlex/notion-page-scraper) — Export Notion docs to Markdown, JSON & RAG chunks.

***

### ❓ FAQ

#### Why do you use DNS MX/SPF/DMARC instead of SMTP port 25 probing?

Most cloud runners block outbound port 25 and major providers (Google/Microsoft) reject or catch-all SMTP probes. Checking MX, SPF, DMARC, mail provider hostnames, and disposable/role heuristics delivers fast, reliable deliverability signals without timeouts.

#### Does this Actor respect spending limits?

Yes. Every optional add-on checks `eventChargeLimitReached` and `ACTOR_MAX_TOTAL_CHARGE_USD` and halts cleanly if your run budget is reached.

<div align="center">

**Built by Rifky Afriza (`forlex`) · Powered by [Apify](https://apify.com?fpr=5uxnkx)**

</div>

# Changelog

This Actor's version history is a separate document: https://apify.com/forlex/website-contact-enricher/changelog.md

# Actor input Schema

## `urls` (type: `array`):

List of company websites, bare domains (e.g. 'apify.com'), or Link-in-Bio URLs (Linktree, Beacons, Stan Store, Carrd).

## `startUrls` (type: `array`):

Optional Apify request list sources ({ url } objects or remote URL lists). Combined with 'urls' if both are supplied.

## `sourceDatasetId` (type: `string`):

Optional Apify Dataset ID containing website URLs to enrich.

## `datasetUrlField` (type: `string`):

Field name in each source dataset item containing the website or Link-in-Bio URL (e.g. 'website', 'companyUrl', 'url').

## `maxDomains` (type: `integer`):

Maximum number of unique domains / Link-in-Bio profiles to process in this run.

## `maxPagesPerDomain` (type: `integer`):

Maximum subpages inspected per domain (homepage, /contact, /about, /team, /impressum). Stops early once contacts are found.

## `followLinkInBio` (type: `boolean`):

When an input URL is a Link-in-Bio page (Linktree, Beacons, Stan Store, Carrd, bio.site, Bento), automatically inspect up to 3 linked personal/brand sites for emails.

## `verifyEmailDns` (type: `boolean`):

Check DNS MX, SPF, and DMARC records, identify mail providers (Google Workspace, Microsoft 365, Zoho), and score each email (0-100) without risky SMTP port 25 probes.

## `includeTechStack` (type: `boolean`):

Detect 45+ CMS, e-commerce, analytics, CRM, payment, and ad pixel signals (Shopify, HubSpot, Meta Pixel, Klaviyo, GA4). Charges the optional 'tech-and-pixels-addon' event once per domain when signals are found.

## `includeDecisionMakers` (type: `boolean`):

Extract leadership names, job titles, LinkedIn /in/ URLs, and matched emails from /team, /about, and JSON-LD Person schemas. Charges 'decision-makers-addon' once per domain when decision-makers are found.

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

Maximum number of domains enriched in parallel.

## `outputConnector` (type: `string`):

Select an authorized MCP connector from Apify Console -> Settings -> API & Integrations -> MCP connectors.

## `deliverTarget` (type: `string`):

Optional Notion page/database ID or Slack channel ID/name for connector delivery.

## `deliverMode` (type: `string`):

Send one consolidated Markdown summary or one item per enriched domain.

## `deliverMaxItems` (type: `integer`):

Maximum enriched domains included in connector delivery.

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

Direct HTTP works for most websites with zero proxy fees. Enable Apify Proxy only if target sites block datacenter IPs.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "startUrls": [],
  "datasetUrlField": "website",
  "maxDomains": 10,
  "maxPagesPerDomain": 3,
  "followLinkInBio": true,
  "verifyEmailDns": true,
  "includeTechStack": false,
  "includeDecisionMakers": false,
  "maxConcurrency": 5,
  "deliverTarget": "",
  "deliverMode": "summary",
  "deliverMaxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Flat per-domain contact records with emails, MX/SPF/DMARC scores, socials, decision-makers, and tech/ad pixels.

# 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 = {
    "urls": [
        "https://apify.com",
        "https://crawlee.dev"
    ],
    "maxDomains": 10,
    "maxPagesPerDomain": 3,
    "includeTechStack": false,
    "includeDecisionMakers": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("forlex/website-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 = {
    "urls": [
        "https://apify.com",
        "https://crawlee.dev",
    ],
    "maxDomains": 10,
    "maxPagesPerDomain": 3,
    "includeTechStack": False,
    "includeDecisionMakers": False,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("forlex/website-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 '{
  "urls": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "maxDomains": 10,
  "maxPagesPerDomain": 3,
  "includeTechStack": false,
  "includeDecisionMakers": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call forlex/website-contact-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,forlex/website-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/JLFDaReBMCNhSjUk8/builds/Elc8KDvdqIBA2OZs8/openapi.json
