# Bulk Website Email & Socials Scraper - Fast Contact Extractor (`devabdul/bulk-website-email-socials-scraper`) Actor

Extract emails, phones and LinkedIn, Instagram, Facebook, X, TikTok and YouTube profiles from thousands of websites in minutes. Fast HTTP crawler, no browser, smart contact page discovery and junk email filtering. Built for B2B lead generation, cold outreach and contact enrichment.

- **URL**: https://apify.com/devabdul/bulk-website-email-socials-scraper.md
- **Developed by:** [Abdul Wasay](https://apify.com/devabdul) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 website 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/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

Bulk Website Email and Socials Scraper

Turn a plain list of domains into a ready to use contact list. For every website you provide, this Actor returns one clean row with email addresses, phone numbers, the site title and links to the company profiles on LinkedIn, Instagram, Facebook, X (Twitter), TikTok and YouTube.

It is built for B2B lead generation, cold outreach, CRM enrichment, agency prospecting and market research, where you need contact details for hundreds or thousands of companies quickly and cheaply.

Why use this Actor

1. Fast and lightweight. Pages are fetched over plain HTTP with Crawlee and Cheerio. There is no headless browser, so thousands of domains finish in minutes instead of hours and compute costs stay low.
2. Finds the right pages. After the homepage it visits the pages most likely to hold contact details: contact, get in touch, impressum, about, team, staff, people, support, connect and legal pages, in that order of priority. Pages are recognized by their address and by the link text, including common German, French, Spanish, Italian, Portuguese and Dutch names such as Kontakt, Contacto, Imprint and Ueber uns. Login, cart and account pages are skipped.
3. One row per domain. Results from every page of a site are merged and deduplicated, so you get a single tidy record per company that drops straight into a spreadsheet or CRM. Emails on the company's own domain are listed first.
4. Junk email filtering. Image and asset names that look like emails (logo@2x.png), placeholder addresses (name@example.com, user@domain.com, yourname@, john.doe@, test.com) and tracking addresses from Sentry, Wix, Cloudflare, W3C and Schema.org are removed automatically.
5. Hidden emails found too. Addresses in mailto links, visible text, structured data (JSON LD and microdata), Cloudflare protected email links and written out forms such as info \[at] company \[dot] com are all decoded.
6. Clean social profiles. Only real profile links are returned. Share buttons, tweet intents, post links, embedded tweets from other accounts, embeds and video links are ignored, and tracking parameters are stripped. Follow buttons, legacy YouTube channel names, the profiles listed in structured data (sameAs) and the twitter:site tag are recognized, and a LinkedIn company page is preferred over a personal profile.
7. Phone numbers normalized. Numbers from tel links, WhatsApp click to chat links, structured data and international formats in the page text are normalized to digits (with a leading plus sign for international numbers) and deduplicated. The bracketed trunk zero in numbers like +49 (0) 30 1234567 is removed.
8. Safe input handling. Bare domains are accepted, www and non www variants are merged, lines with several comma separated domains are split, and invalid, local or private network addresses are rejected before crawling.
9. Resilient fetching. When a homepage cannot be reached, the www variant and plain HTTP are tried automatically. Progress is saved continuously, so a platform migration never loses or duplicates results.
10. You only pay for results. Unreachable websites are never charged.

How to use it

1. Open the Input tab.
2. Paste your domains or website URLs into Domains, one per line. Bare domains such as apify.com work fine.
3. Optionally adjust the maximum pages per domain, concurrency and timeout.
4. Click Start and download the results as CSV, Excel, JSON or HTML, or connect them to Google Sheets, Make, Zapier, HubSpot or any API.

Input options

1. domains: list of bare domains or full URLs.
2. startUrls: alternative list of URLs. You can also upload a TXT or CSV file or link a remote list, and every domain or URL found in it is used. Only the hostname is used and crawling starts on the homepage.
3. maxPagesPerDomain: total pages fetched per domain including the homepage. Default 4, maximum 20.
4. maxConcurrency: how many pages are fetched in parallel. Default 20.
5. requestTimeoutSecs: how long to wait for a single page. Default 15 seconds.
6. includeFailedDomains: when enabled, unreachable domains get a row with status failed and are listed in the RUN_SUMMARY record. Failed rows are free. Default off.
7. proxyConfiguration: Apify Proxy is enabled by default for reliability. Turn it off to remove proxy overhead when scraping sites that do not block bots.

Input example

```json
{
    "domains": ["https://apify.com", "crawlee.dev", "www.example.org"],
    "maxPagesPerDomain": 4,
    "maxConcurrency": 20,
    "requestTimeoutSecs": 15,
    "includeFailedDomains": false,
    "proxyConfiguration": { "useApifyProxy": true }
}
```

Output example

Each dataset item describes one domain. The Overview table shows the domain, emails, phones, LinkedIn, Instagram, site title and pages crawled. The All contacts view shows every field.

```json
{
    "domain": "apify.com",
    "url": "https://apify.com/",
    "status": "success",
    "siteTitle": "Apify",
    "emails": ["hello@apify.com", "support@apify.com"],
    "phones": ["+14155550132"],
    "linkedin": "https://www.linkedin.com/company/apifytech",
    "instagram": "https://www.instagram.com/apify",
    "facebook": "https://www.facebook.com/apifytech",
    "twitter": "https://x.com/apify",
    "tiktok": null,
    "youtube": "https://www.youtube.com/@Apify",
    "pagesCrawled": 4
}
```

Output fields

1. domain: root hostname without www, used to deduplicate input.
2. url: the homepage URL after redirects.
3. status: success, or failed when the homepage could not be loaded.
4. siteTitle: the site name or page title of the homepage.
5. emails and phones: deduplicated lists across all crawled pages, with own domain emails first. Lists are capped at 50 emails and 15 phones per domain so directory pages do not flood your CRM.
6. linkedin, instagram, facebook, twitter, tiktok and youtube: the first profile link found for each network, or null.
7. pagesCrawled: number of pages successfully fetched for the domain.
8. scrapedAt: ISO 8601 timestamp (UTC) of when the row was produced. Every item includes it; it is left out of the example above for brevity.

Run summary

At the end of every run a RUN_SUMMARY record is saved to the default key value store:

```json
{
    "totalInputDomains": 250,
    "processedDomains": 248,
    "domainsWithEmails": 171,
    "totalEmailsFound": 402,
    "failedDomains": 9,
    "durationSecs": 94.3
}
```

The record also counts rejected and duplicate inputs, and lists the failed domains with their error messages when includeFailedDomains is enabled.

Pricing

You pay a flat 1.50 USD per 1,000 enriched websites, which is 0.0015 USD per successfully processed domain. Platform usage (compute and Apify Proxy) is already included in that price, so there are no surprise extra costs. Domains that fail to load are never charged, and you can set a maximum cost per run in the run options.

Tips for best results

1. Keep maxPagesPerDomain at 4 for the best balance of speed and coverage. Raise it to 6 or 8 for large company sites.
2. Lower maxConcurrency if you scrape many pages on the same host, or raise it to 50 or more for long lists of unrelated domains.
3. Some sites only show contact details through forms or JavaScript. Those sites may return fewer emails because no browser is used.

Is it legal to scrape contact data

This Actor only collects information that websites publish openly. Personal data is protected by regulations such as the GDPR in the EU and similar laws elsewhere. Only collect personal data when you have a legitimate reason, respect opt out requests and follow the rules for cold outreach in your region. If you are unsure, consult a lawyer.

Support

Found a bug or need an extra field? Open an issue on the Issues tab and it will be looked at quickly.

# Actor input Schema

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

Bare domains (example.com) or full URLs, one per line. Lines with several comma separated domains are split. Duplicates and www variants are merged automatically.

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

Alternative to Domains. Add URLs one by one, or upload a TXT or CSV file / link a remote list: every domain or URL found in the file is used. Only the hostname of each URL is used; crawling starts on its homepage.

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

Total pages fetched per domain including the homepage. Contact, about, team, support and imprint pages are prioritized.

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

Maximum number of pages fetched in parallel.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for a single page before giving up.

## `includeFailedDomains` (type: `boolean`):

Add a row with status "failed" for unreachable domains and list them in the RUN_SUMMARY record. Failed domains are never charged.

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

Apify Proxy is used by default. Disable it for zero proxy overhead on unprotected sites.

## Actor input object example

```json
{
  "domains": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "maxPagesPerDomain": 4,
  "maxConcurrency": 20,
  "requestTimeoutSecs": 15,
  "includeFailedDomains": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset items, one per domain: emails, phones, LinkedIn, Instagram, Facebook, X, TikTok, YouTube, site title and pages crawled.

## `runSummary` (type: `string`):

RUN_SUMMARY record: input, processed, failed and email counts and run duration.

# 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": [
        "https://apify.com",
        "https://crawlee.dev"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devabdul/bulk-website-email-socials-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 = {
    "domains": [
        "https://apify.com",
        "https://crawlee.dev",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devabdul/bulk-website-email-socials-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 '{
  "domains": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devabdul/bulk-website-email-socials-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devabdul/bulk-website-email-socials-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/PTRZPVdviyGkiVFbL/builds/fmcZtdPPwis86yq83/openapi.json
