# Website Email & Contact Scraper – Phones, Socials (`chris_elder/website-contact-extractor`) Actor

Website email and contact scraper: pull public business emails, phone numbers and social links (LinkedIn, X, Facebook, Instagram, YouTube, TikTok, GitHub) from company websites. Checks homepage + contact/about pages. $2 per 1,000 sites; failed sites free.

- **URL**: https://apify.com/chris_elder/website-contact-extractor.md
- **Developed by:** [Chris Elder](https://apify.com/chris_elder) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## Website Email & Contact Scraper – Phones & Social Links

**Website Contact Extractor** is a **website email scraper** for company domains. Paste a list of websites and get a clean lead sheet: **public business emails, phone numbers and social profile links** (LinkedIn, X/Twitter, Facebook, Instagram, YouTube, TikTok, GitHub). For each domain it reads the homepage plus contact, about, team and imprint pages.

Store page: [apify.com/chris_elder/website-contact-extractor](https://apify.com/chris_elder/website-contact-extractor)

✅ Pay per event: **$2 per 1,000 websites** · 🆓 Unreachable sites never charged · 🔑 No API key

[▶ Try it](#how-to-use-it) · [💲 Pricing](#pricing-pay-per-event) · [📄 Output](#output-one-row-per-website) · [🔌 Integrations](#integrations) · [❓ FAQ](#faq)

### What does this website email scraper do?

- Accepts domains or URLs (`acme.com`, `https://www.acme.com/pricing`) and removes duplicates
- Finds emails from `mailto:` links and page text; filters junk (image filenames, tracking addresses)
- Finds phone numbers from `tel:` links
- Finds the first social profile of each network (LinkedIn, X, Facebook, Instagram, YouTube, TikTok, GitHub)
- Follows robots.txt, fetches one page at a time with a short pause, honest User-Agent

Built for **lead enrichment**, CRM cleanup, partner research and supplier due diligence — not for blasting personal inboxes.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Actor start | $0.0005 |
| Website processed | **$0.002** ($2 per 1,000 sites) |

Unreachable sites are **not charged**. Example: 500 domains with 20 offline → 480 × $0.002 + $0.0005 ≈ **$0.96**.

Compared with other Store contact scrapers that charge **per email** (often several dollars per 1,000 emails) or **per page crawled**, this Actor charges once per reachable **website**.

### How to use it

1. Click **Try for free** — the prefill checks `apify.com`, `crawlee.dev` and `openai.com`.
2. Paste your domain list into `websites` (one per line).
3. Keep `maxPagesPerSite` at 4 (homepage + up to 3 contact/about pages) unless you need more.
4. Export the dataset as CSV, Excel or JSON.

#### Input example

```json
{
  "websites": ["apify.com", "crawlee.dev", "openai.com"],
  "maxPagesPerSite": 4
}
```

### Output (one row per website)

```json
{
  "website": "https://apify.com",
  "emails": ["hello@apify.com"],
  "phones": [],
  "social": {
    "linkedin": "https://linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "github": "https://github.com/apify"
  },
  "pagesChecked": ["https://apify.com/", "https://apify.com/contact"],
  "contactsFound": 4
}
```

📊 **Want these results in Google Sheets?** Send them straight to a Sheet with [Google Sheets Sync](https://apify.com/chris_elder/google-sheets-sync) – run it after this Actor, or add it on this Actor's **Integrations** tab so every run exports automatically.

### Integrations

Works with the Apify API, Make, Zapier, n8n and any webhook. Chain after a Google Maps or directory scraper: take the `website` column and feed it here to enrich emails and socials.

### Need a one-off list done for you?

If you'd rather not set up runs yourself, GPT Shop Ltd (UK) offers a fixed-price done-for-you scrape: tell us the site and fields, get a clean CSV or Google Sheet within 48 hours (up to 5,000 rows) for **£149 / $179**. Full refund if we can't deliver. [Done-for-you scraper service](https://tools.gptshopltd.com/done-for-you-scraper/?utm_source=apify\&utm_medium=readme\&utm_campaign=website-contact-extractor)

### Legal and responsible use

This Actor only collects contact details that businesses publish on their own websites. You are responsible for following GDPR, CAN-SPAM, PECR and similar rules when you use the data: do not send unsolicited bulk email.

### FAQ

**Does it crawl the whole site?** No. It reads only the homepage and contact-type pages, so it is fast and cheap.

**Does it handle JavaScript sites?** It reads server-rendered HTML. Most company sites put contact details in the HTML.

**Is this a website email scraper or a full crawler?** It is a focused website email and contact scraper — not a full-site crawler. That keeps cost predictable at $2 per 1,000 sites.

**What if a site is down?** The row is saved with an error note and **you are not charged** for that site.

### Support

Issues and feature requests: open an Issue on the Store page, or email chris@gptshopltd.com.

# Actor input Schema

## `websites` (type: `array`):

Company websites or domains, one per line.

## `maxPagesPerSite` (type: `integer`):

Homepage plus up to this many contact/about/imprint pages (same domain only).

## `maxSites` (type: `integer`):

Max sites.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "crawlee.dev"
  ],
  "maxPagesPerSite": 4,
  "maxSites": 1000
}
```

# Actor output Schema

## `results` (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 = {
    "websites": [
        "apify.com",
        "crawlee.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("chris_elder/website-contact-extractor").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 = { "websites": [
        "apify.com",
        "crawlee.dev",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("chris_elder/website-contact-extractor").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 '{
  "websites": [
    "apify.com",
    "crawlee.dev"
  ]
}' |
apify call chris_elder/website-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,chris_elder/website-contact-extractor"
        }
    }
}
```

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/P8h0IcKnzNz5vHg6b/builds/Dj1iTN2gdDfZRaDd6/openapi.json
