# Bulk Company URL to Email, Phone & LinkedIn Enrichment API (`apex-b2b-data/website-email-contact-scraper`) Actor

Crawls company homepages plus /contact, /about, and /team pages concurrently to enrich Clay, n8n, Make, and AI agent lead lists at $0.0015 per domain.

- **URL**: https://apify.com/apex-b2b-data/website-email-contact-scraper.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Website Email & Contact Scraper (`$1.50 / 1K`)

**Extract verified B2B emails, E.164 phone numbers, and social profile links (LinkedIn, X/Twitter, Facebook, Instagram, YouTube, GitHub) directly from target company websites. Automatically crawls homepages and high-yield contact/about/team subpages with live DNS sanity checks and 0–100 B2B lead scoring.**

Unlike superficial HTML scrapers that pull broken asset links (`.png`, `.svg`) or miss hidden contact pages, this Actor runs an intelligent multi-depth crawl engine designed specifically for **B2B outbound sales teams, cold email agencies, recruiting firms, and automated Clay / n8n enrichment pipelines**:

1. **Intelligent Contact & About Path Discovery** — Crawls the homepage and automatically follows internal links to `/contact`, `/about`, `/team`, `/leadership`, `/staff`, `/privacy`, `/terms`, and `/legal` subpages where decision-maker contact details reside.
2. **Deep Email Extraction & Corporate Prioritization** — Extracts emails from `mailto:` links and body text, removes image/tracking false positives, prioritizes direct executive addresses over generic role inboxes (`support@`, `info@`), and optionally filters out free webmail (Gmail, Yahoo, Hotmail).
3. **E.164 Phone Normalization** — Detects US and international telephone numbers from `tel:` tags and text patterns, normalizing them into standardized E.164 (`+14155552671`) and local display formats ready for CRM dialers.
4. **Omnichannel Social Profile Links** — Identifies official company profiles across LinkedIn, X (Twitter), Facebook, Instagram, YouTube, and GitHub, filtering out noise and share/intent widgets.
5. **Live DNS & Domain Sanity Check** — Validates domain health via concurrent DNS `A` and `MX` record lookups, ensuring your sales team never wastes time on parked, expired, or decommissioned websites.
6. **Automated B2B Lead Scoring (`0–100`) & Segmentation** — Computes an objective lead quality score based on website responsiveness, corporate email discovery, direct phone presence, LinkedIn verification, and multichannel social footprints.

***

### Why Choose This Scraper? (Comparison)

| Feature | This Actor | Basic Email Scrapers | Legacy SERP / Directory Scrapers |
| :--- | :--- | :--- | :--- |
| **Price per 1,000 Domains** | **`$1.50 / 1K` (`$0.0015`/lead)** | `$5.00 – $10.00 / 1K` | `$15.00 – $30.00 / 1K` |
| **Automatic Subpage Crawling** | ✅ Homepage + Contact/About/Team | ❌ Homepage only | ❌ Static snippets only |
| **Phone Number Extraction** | ✅ E.164 (`+1...`) & Local format | ❌ Rare or unformatted | ⚠️ Incomplete directory phones |
| **Omnichannel Social Discovery** | ✅ LinkedIn, X, FB, IG, YT, GitHub | ⚠️ Usually LinkedIn only | ❌ None |
| **Live DNS & MX Domain Check** | ✅ Included (`verifyDomainDns: true`) | ❌ No | ❌ No |
| **Corporate vs. Webmail Filter** | ✅ Included (`excludeFreeWebmail`) | ❌ Returns spammy webmail | ❌ Mixed results |
| **B2B Lead Score (`0–100`)** | ✅ Included with semantic tags | ❌ No | ❌ No |
| **Proxy Costs & CAPTCHA Failures**| **`$0.00` (Direct HTTP engine)** | Paid residential proxy fees | High proxy burn rate |

***

### Transparent Pricing (`$1.50` per 1,000 Websites)

You pay **only for website leads actually scraped and delivered** (`$0.0015` per record via Pay-Per-Event pricing). No monthly recurring commitments:

| Workflow | Websites Processed | Total Cost |
| :--- | :--- | :--- |
| **Quick Test Run** (verify output schema) | `25` websites | **`$0.0375` (~4 cents)** |
| **Daily Inbound Lead Enrichment Batch** | `200` websites/day | **`$0.30 / day` (`~$9/month`)** |
| **Targeted Outreach Campaign Pull** | `1,000` websites | **`$1.50`** |
| **Full Regional TAM Bulk Enrichment** | `10,000` websites | **`$15.00`** |

***

### High-Intent B2B Playbooks (Copy-Paste Inputs)

#### 1. B2B Outbound Sales: High-Yield Contact & About Crawl

Crawl company homepages and automatically traverse up to 5 high-yield subpages (`/contact`, `/about`, `/team`) to find direct decision-maker emails, office phones, and company LinkedIn URLs:

```json
{
  "startUrls": [
    "https://apify.com",
    "https://zapier.com",
    "https://airtable.com"
  ],
  "maxCrawlDepth": 1,
  "maxPagesPerDomain": 5,
  "extractEmails": true,
  "extractPhones": true,
  "extractSocialLinks": true,
  "verifyDomainDns": true,
  "excludeFreeWebmail": true,
  "maxItems": 100
}
```

#### 2. High-Speed Bulk Triage: Single-Page Homepage Scan (Depth 0)

When evaluating tens of thousands of domains with maximum throughput, scan only the homepage at depth 0 to rapidly filter out dead websites and extract footer contact cards:

```json
{
  "startUrls": [
    "https://apify.com",
    "https://stripe.com",
    "https://hubspot.com"
  ],
  "maxCrawlDepth": 0,
  "maxPagesPerDomain": 1,
  "timeoutSec": 10,
  "maxConcurrency": 10,
  "maxItems": 1000
}
```

#### 3. Developer & Tech Community Outreach: GitHub & YouTube Discovery

Target tech startups and SaaS companies with complete multichannel social presence, including developer documentation, GitHub repos, and YouTube channels:

```json
{
  "startUrls": [
    "https://apify.com",
    "https://supabase.com",
    "https://postman.com"
  ],
  "maxCrawlDepth": 1,
  "maxPagesPerDomain": 4,
  "extractSocialLinks": true,
  "extractEmails": true,
  "verifyDomainDns": true
}
```

***

### Sample Output Record

```json
{
  "url": "https://apify.com/",
  "domain": "apify.com",
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "emails": [
    "support@apify.com",
    "hello@apify.com"
  ],
  "phone_numbers": [],
  "social_links": {
    "linkedin": "https://www.linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "facebook": null,
    "instagram": null,
    "youtube": "https://www.youtube.com/apify",
    "github": "https://github.com/apify"
  },
  "lead_score": 90,
  "lead_segment": "TIER_1_ENTERPRISE_READY",
  "scraped_at": "2026-11-04T00:19:38Z",
  "primary_email": "support@apify.com",
  "primary_phone_e164": null,
  "meta_description": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
  "pages_crawled": 5,
  "subpages_visited": [
    "https://apify.com/about",
    "https://apify.com/contact",
    "https://apify.com/contact-sales",
    "https://apify.com/contact-sales/demo"
  ],
  "dns_valid": true,
  "dns_mx_records": true,
  "lead_tier": "TIER_1_ENTERPRISE_READY",
  "lead_segments": [
    "RESPONSIVE_WEBSITE",
    "ACTIVE_DNS",
    "CORPORATE_EMAIL",
    "DIRECT_EXECUTIVE_EMAIL",
    "LINKEDIN_PROFILE",
    "X_TWITTER_PROFILE",
    "MULTI_CHANNEL_PRESENCE",
    "DEDICATED_CONTACT_PAGE"
  ]
}
```

***

### Integration Snippets

#### Clay / n8n / Make Synchronous REST API

Run the scraper and retrieve enriched contact records synchronously via Apify's `run-sync-get-dataset-items` API endpoint:

```bash
curl -X POST "https://api.apify.com/v2/acts/website-email-contact-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "startUrls": ["https://apify.com"],
    "maxCrawlDepth": 1,
    "maxPagesPerDomain": 5,
    "excludeFreeWebmail": true
  }'
```

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("website-email-contact-scraper").call(
    run_input={
        "startUrls": ["https://apify.com", "https://example.com"],
        "maxCrawlDepth": 1,
        "maxPagesPerDomain": 5,
        "verifyDomainDns": True,
    }
)

dataset_items = client.dataset(run["defaultDatasetId"]).list_items().items
for lead in dataset_items:
    print(f"Domain: {lead['domain']} | Lead Score: {lead['lead_score']} | Emails: {lead['emails']}")
```

#### AI Agent / MCP Server Integration

Expose this Actor as an MCP tool inside Cursor, Windsurf, or Claude Desktop:

```json
{
  "mcpServers": {
    "website-contact-scraper": {
      "command": "npx",
      "args": ["-y", "@apify/mcp-server", "--token", "YOUR_APIFY_TOKEN", "--act", "website-email-contact-scraper"]
    }
  }
}
```

# Actor input Schema

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

List of website URLs to scrape (e.g. \['https://apify.com', 'https://example.com']).

## `maxCrawlDepth` (type: `integer`):

0 = scrape homepage only; 1 = scrape homepage and discovered high-yield contact/about pages.

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

Maximum number of subpages to crawl per target domain.

## `customContactPaths` (type: `array`):

Candidate subpage paths to probe when crawling domains.

## `extractEmails` (type: `boolean`):

Extract and normalize email addresses from mailto: links and page text.

## `extractPhones` (type: `boolean`):

Extract and normalize phone numbers to E.164 and local formats.

## `extractSocialLinks` (type: `boolean`):

Extract LinkedIn, X/Twitter, Facebook, Instagram, YouTube, and GitHub links.

## `verifyDomainDns` (type: `boolean`):

Perform live DNS resolution checks to verify target domain health.

## `excludeFreeWebmail` (type: `boolean`):

Filter out generic free webmail addresses (gmail.com, yahoo.com, hotmail.com, etc.).

## `timeoutSec` (type: `integer`):

Network timeout per page request in seconds.

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

Number of concurrent threads when crawling subpages.

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

Maximum number of website lead records to return.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com"
  ],
  "maxCrawlDepth": 1,
  "maxPagesPerDomain": 5,
  "customContactPaths": [
    "/contact",
    "/contact-us",
    "/about",
    "/about-us",
    "/team",
    "/privacy",
    "/terms",
    "/legal",
    "/imprint"
  ],
  "extractEmails": true,
  "extractPhones": true,
  "extractSocialLinks": true,
  "verifyDomainDns": true,
  "excludeFreeWebmail": false,
  "timeoutSec": 15,
  "maxConcurrency": 4,
  "maxItems": 10
}
```

# Actor output Schema

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

Structured JSON records produced by Website Email, Phone & Social Media Contact Scraper 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 = {
    "startUrls": [
        "https://apify.com"
    ],
    "customContactPaths": [
        "/contact",
        "/contact-us",
        "/about",
        "/about-us",
        "/team",
        "/privacy",
        "/terms",
        "/legal",
        "/imprint"
    ],
    "timeoutSec": 15,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/website-email-contact-scraper").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 = {
    "startUrls": ["https://apify.com"],
    "customContactPaths": [
        "/contact",
        "/contact-us",
        "/about",
        "/about-us",
        "/team",
        "/privacy",
        "/terms",
        "/legal",
        "/imprint",
    ],
    "timeoutSec": 15,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/website-email-contact-scraper").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 '{
  "startUrls": [
    "https://apify.com"
  ],
  "customContactPaths": [
    "/contact",
    "/contact-us",
    "/about",
    "/about-us",
    "/team",
    "/privacy",
    "/terms",
    "/legal",
    "/imprint"
  ],
  "timeoutSec": 15,
  "maxItems": 10
}' |
apify call apex-b2b-data/website-email-contact-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/website-email-contact-scraper"
        }
    }
}
```

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/DgQVXaM43O7vBw0x3/builds/Gr5Ii7KrkNT3pDovL/openapi.json
