# Website Email & Contact Scraper (`wyle/website-contact-email-social-scraper`) Actor

Email extractor and website contact scraper to collect verified emails, phone numbers, LinkedIn, X, Instagram, Facebook, TikTok, YouTube, and WhatsApp profiles from any domain list. Auto-checks contact pages, validates MX records, and exports clean CSV, Excel, JSON, or API.

- **URL**: https://apify.com/wyle/website-contact-email-social-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Categories:** Lead generation, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

## Website Email & Contact Scraper

Email extractor and website contact scraper to collect verified emails, phone numbers, social media profiles, and company metadata from any list of websites, domains, or link-in-bio pages without a browser or login. Automatically discovers and prioritizes contact, about, and team pages, filters placeholder addresses, verifies email domains via DNS MX checks, and exports cleanly to CSV, Excel, JSON, or API.

### Ways to Use

| Mode | Input Settings | What You Get |
| --- | --- | --- |
| Domain & website enrichment | `startUrls` + `mergeContacts: true` | One merged contact record per website combining emails, phones, social links, and company info across visited pages. |
| Single-page / link-in-bio | `startUrls` + `maxDepth: 0` | Fast extraction from only the exact URLs provided (ideal for Linktree, Beacons, or direct `/contact` URLs). |
| Per-page audit | `mergeContacts: false` | Separate dataset rows for each crawled page showing which exact subpage exposed each email, phone, or social URL. |

### Supported Contact & Social Channels

- **Emails (`emails` & `verifiedEmails`)**: Collects `mailto:` links, visible and embedded addresses, plus obfuscated email tags, while stripping asset filenames and tracking domains; optionally verifies active mail servers via DNS MX (`verifyEmailDomains: true`).
- **Phone Numbers (`phones`)**: Extracts `tel:` links, Schema.org telephone fields, and labeled contact numbers cleanly normalized.
- **Social & Messaging Profiles**: Automatically classifies and deduplicates `linkedinUrls`, `twitterUrls` (X), `facebookUrls`, `instagramUrls`, `youtubeUrls`, `tiktokUrls`, `githubUrls`, `pinterestUrls`, `discordUrls`, `telegramUrls`, `whatsappUrls`, and `otherSocialUrls` (Threads, Bluesky).
- **Company Metadata**: Captures `siteTitle`, `metaDescription`, Schema.org `organizationName`, and `streetAddress` when present.

### Fast Single-Page vs. Multi-Page Crawl

| Mode | Crawl Scope | Best For |
| --- | --- | --- |
| Fast (`maxDepth: 0`, `maxRequestsPerStartUrl: 1`) | Crawls only the starting URL | Direct `/contact` URLs, link-in-bio pages, or maximum throughput on huge domain lists |
| Multi-Page (`maxDepth: 1`, `maxRequestsPerStartUrl: 8`, default) | Visits homepage plus highest-priority `/contact`, `/about`, `/team`, and `/legal` pages | Cold domain lists from Google Maps, directories, or B2B company databases where emails live on subpages |

### Proxy & Run Tips

- Most company websites, SaaS landing pages, and directories work smoothly without a proxy on moderate concurrency (`maxConcurrency: 5`).
- For large domain batches or websites behind strict bot protection, enable `proxyConfiguration` (Residential recommended) to reduce `403` or `429` responses.
- Keep `sameDomainOnly: true` and `probeContactPaths: true` (defaults) so crawl budget stays focused on pages most likely to contain contact details.

### Use Cases

- **B2B Lead Enrichment**: Turn raw domain lists exported from Google Maps, YC directories, or store databases into outreach-ready emails, phones, and LinkedIn company/founder links.
- **Agency & SaaS Prospecting**: Build targeted cold outreach lists filtered by `verifiedEmails` with active MX mail servers before sending campaigns.
- **Influencer & Creator Outreach**: Extract business emails, Discord invites, Telegram links, and cross-platform social handles from link-in-bio or creator homepages.
- **CRM Hygiene & Verification**: Refresh stale company records with current support, sales, procurement emails, and headquarters addresses.

### How to Enrich Google Maps or Directory Leads

1. Run a Google Maps, B2B directory, or Shopify store export to collect a list of company `website` URLs.
2. Paste those website URLs into `startUrls` (keeping `mergeContacts: true` and `probeContactPaths: true`).
3. Download the enriched dataset in **CSV**, **Excel**, or **JSON**, or pipe `verifiedEmails` directly via Apify API, webhooks, n8n, or Zapier into your CRM.

### Frequently Asked Questions

- **Can I extract emails from websites found on Google Maps?**
  Yes. Pass the business website URLs exported from any Google Maps or directory scraper into `startUrls`, and this Actor will crawl each domain's homepage and contact pages to collect emails, phones, and social links.
- **How are `verifiedEmails` different from `emails`?**
  `emails` lists all unique cleaned addresses discovered on the site (excluding image filenames and tracking placeholders). `verifiedEmails` filters that list to domains with active DNS MX mail records when `verifyEmailDomains: true` is enabled.
- **Can I connect this Actor to APIs, automation tools, or AI agents?**
  Yes. Every run stores structured zero-null JSON records that can be fetched via the Apify REST API, exported as CSV/Excel/JSON, or connected to Make, n8n, Zapier, and MCP workflows.
- **What is the difference between single-page and multi-page crawling?**
  With `maxDepth: 0`, only the exact URL you provide is checked (best for direct `/contact` or Linktree URLs). With `maxDepth: 1` (default), it also inspects `/contact`, `/about`, and `/team` subpages to uncover hidden contact details.

### Input Parameters

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `startUrls` | `array` | `[{"url": "https://apify.com"}, {"url": "https://stripe.com/contact"}]` | List of website URLs or link-in-bio pages to crawl. |
| `maxRequestsPerStartUrl` | `integer` | `8` | Maximum pages to visit per start URL (`1` to `100`), prioritizing contact and about pages. |
| `maxDepth` | `integer` | `1` | Maximum link depth away from each start URL (`0` to `4`). |
| `sameDomainOnly` | `boolean` | `true` | Restrict internal crawling to the same domain and subdomains while still collecting external social links. |
| `probeContactPaths` | `boolean` | `true` | Automatically probe common `/contact`, `/about`, `/team`, and `/legal` paths if not linked on the homepage. |
| `mergeContacts` | `boolean` | `true` | Merge all extracted contacts per website into a single record (or emit one record per page if `false`). |
| `verifyEmailDomains` | `boolean` | `true` | Verify discovered email domains against DNS MX records and populate `verifiedEmails`. |
| `includePageTitles` | `boolean` | `true` | Extract `siteTitle`, `metaDescription`, Schema.org `organizationName`, and `streetAddress`. |
| `maxConcurrency` | `integer` | `5` | Maximum number of websites crawled in parallel (`1` to `20`). |
| `requestTimeoutSeconds` | `integer` | `15` | Per-request timeout in seconds (`5` to `60`). |
| `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration. |

### Sample Output

```json
{
  "domain": "apify.com",
  "startUrl": "https://apify.com/",
  "finalUrl": "https://apify.com/",
  "siteTitle": "Apify: Marketplace of ready-to-run tools for AI",
  "metaDescription": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
  "organizationName": "Apify",
  "streetAddress": "Na Příkopě 959/27, Prague, 11000, CZ",
  "emails": [
    "support@apify.com",
    "hello@apify.com",
    "john.wick@thecontinental.com"
  ],
  "verifiedEmails": [
    "support@apify.com",
    "hello@apify.com",
    "john.wick@thecontinental.com"
  ],
  "phones": [],
  "linkedinUrls": [
    "https://www.linkedin.com/company/apify",
    "https://www.linkedin.com/in/david-john-barton"
  ],
  "twitterUrls": [
    "https://x.com/apify"
  ],
  "facebookUrls": [],
  "instagramUrls": [],
  "youtubeUrls": [
    "https://youtube.com/apify"
  ],
  "tiktokUrls": [
    "https://www.tiktok.com/@apifytech",
    "https://www.tiktok.com/@apifyoffice"
  ],
  "githubUrls": [
    "https://github.com/apify",
    "https://github.com/apify/crawlee"
  ],
  "pinterestUrls": [],
  "discordUrls": [
    "https://discord.com/invite/jyEM2PRvMU",
    "https://discord.gg/w3e2v7rWDw"
  ],
  "telegramUrls": [],
  "whatsappUrls": [],
  "otherSocialUrls": [],
  "contactPagesVisited": [
    "https://apify.com/",
    "https://apify.com/contact",
    "https://apify.com/contact-sales",
    "https://apify.com/about"
  ],
  "pagesCrawled": 6,
  "statusCode": 200,
  "errorMessage": "",
  "scrapedAt": "2026-11-15T10:23:19.864004+00:00"
}
```

# Actor input Schema

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

List of website URLs or link-in-bio pages to crawl for contact details and social links.

## `maxRequestsPerStartUrl` (type: `integer`):

Maximum number of pages to visit per start URL, prioritizing contact, about, and team pages (1 to 100).

## `maxDepth` (type: `integer`):

Maximum link depth from each start URL (0 = start page only, 1 = start page + linked/contact pages).

## `sameDomainOnly` (type: `boolean`):

Restrict internal page crawling to the start URL's domain and subdomains while still collecting external social links.

## `probeContactPaths` (type: `boolean`):

Automatically check standard /contact, /about, /team, and /legal paths if not linked from the homepage.

## `mergeContacts` (type: `boolean`):

Combine all emails, phones, and social profiles found across pages of one site into a single record (uncheck for one row per page).

## `verifyEmailDomains` (type: `boolean`):

Verify whether discovered email domains have active DNS MX mail records and output valid addresses under verifiedEmails.

## `includePageTitles` (type: `boolean`):

Extract page titles, meta descriptions, Schema.org organization names, and street addresses.

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

Maximum number of websites crawled in parallel (1 to 20).

## `requestTimeoutSeconds` (type: `integer`):

Timeout per page request in seconds (5 to 60).

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

Optional Apify Proxy configuration for high-volume runs on Apify Cloud.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://stripe.com/contact"
    }
  ],
  "maxRequestsPerStartUrl": 8,
  "maxDepth": 1,
  "sameDomainOnly": true,
  "probeContactPaths": true,
  "mergeContacts": true,
  "verifyEmailDomains": true,
  "includePageTitles": true,
  "maxConcurrency": 5,
  "requestTimeoutSeconds": 15,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `contacts` (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 = {
    "startUrls": [
        {
            "url": "https://apify.com"
        },
        {
            "url": "https://stripe.com/contact"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/website-contact-email-social-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": [
        { "url": "https://apify.com" },
        { "url": "https://stripe.com/contact" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("wyle/website-contact-email-social-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": [
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://stripe.com/contact"
    }
  ]
}' |
apify call wyle/website-contact-email-social-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/website-contact-email-social-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/t1YPTj7nCdFXCz2vr/builds/vGQn6l8cynKEkBTl1/openapi.json
