# Website Email & Contact Extractor - One Row Per Company (`champ1918/website-contact-email-extractor`) Actor

Email and contact extractor for business websites. Returns emails, phones, street address and social profiles as one merged row per company - already deduplicated across every page checked. Filters out template placeholder numbers and tracking-script junk. Checks contact and about pages too.

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

## Pricing

from $25.00 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Website Contact & Email Extractor

Give it a list of company websites. Get back **emails, phone numbers, street addresses, and social profiles** — one clean row per company, never duplicated.

An email scraper and contact scraper for building lead lists from domains you already have: a CRM export, a conference attendee list, a directory scrape, a list of local businesses, a competitor's customer page.

***

### What this Actor does

For every domain you give it, this Actor:

1. Reads the homepage.
2. Finds and follows up to two likely contact pages — `/contact`, `/about`, `/team`, `/get-in-touch`, and similar.
3. Pulls every email address, phone number, street address, and social profile it finds across all of them.
4. **Merges everything into a single row per company** and returns it.

That last step matters. Most contact scrapers return one row per *page*, so a company with a homepage, a contact page, and an about page produces three rows with overlapping data that you then have to de-duplicate yourself — and, on pay-per-result pricing, three rows you paid for.

This one aggregates first. **85 domains in, 85 rows out.**

#### What it extracts

| Field | Description |
|---|---|
| `domain` | Normalised domain, `www.` stripped |
| `emails` / `emailCount` / `primaryEmail` | All addresses found, de-duplicated, plus the best candidate |
| `phones` / `phoneCount` / `primaryPhone` | All numbers found, normalised |
| `address` | Street address, parsed from schema.org structured data where present |
| `facebook` `instagram` `linkedin` `x` `youtube` `tiktok` | Social profile URLs |
| `pageTitle` | Company name as published |
| `pagesScanned` | How many pages contributed to this row |
| `hasAnyContact` | Quick boolean for filtering |

#### What it filters out

Contact scrapers are notorious for returning garbage. This one strips it before you ever see it:

- **Tracking-script junk** — `sentry.io`, `wixpress.com`, `@2x.png`, `example@example.com`, and the rest of the noise that regex-matches as an email but isn't one
- **Template placeholder phone numbers** — `111-111-1111`, `555-555-5555`, `123-456-7890`, repeated-digit dummies left in by theme developers
- **Duplicate rows** for the same company

***

### Why use it

**Lead list building.** You have 500 domains and no contact details. This turns that into a working outreach list in one run.

**CRM enrichment.** Export the accounts in your CRM with missing contact fields, run them through, re-import.

**Sales prospecting.** Any list of companies — a directory, an industry association member page, a "our customers" logo wall — becomes contactable.

**Agency and recruiter research.** Find who to talk to at a target company when the org chart isn't public.

**Verifying your own data.** Run your existing contact list through and compare. In a production run of 85 companies this Actor found published addresses that had been missed by hand-checking, and flagged two companies whose listed email was on the wrong domain entirely.

***

### How much does it cost?

Pricing is **pay per result: $25.00 per 1,000 results.** One result equals one company with all its contact data merged — not one per page crawled. Platform usage, compute and bandwidth are included.

The Apify Free plan includes **$5 in credits every month** = **200 companies enriched per month, free.**

For comparison, per-contact enrichment services typically charge between $0.10 and $1.00 per contact. This is **2.5 cents per company**, and it returns every address on the site rather than a single guess.

***

### How to extract contact details from a list of websites

1. Click **Try for free** at the top of this page.
2. Open the **Input** tab and paste your list of company website URLs. Use **Bulk edit** to paste hundreds at once, one per line.
3. Click **Start**.
4. When the run finishes, open the **Output** tab.
5. Export as **CSV, JSON, Excel, or HTML**, or pull the data straight from the Apify API.

Filter on `hasAnyContact` to drop dead domains, and sort by `emailCount` to find the companies that publish the most ways to reach them.

***

### Input

Website Contact & Email Extractor takes a single input field — `startUrls`, a list of company website URLs. Click the **Input** tab for the full schema.

```json
{
  "startUrls": [
    { "url": "https://example-roofing.com/" },
    { "url": "https://example-hvac.com/" },
    { "url": "https://example-dental.com/" }
  ]
}
```

### Output

You can download the dataset in **JSON, CSV, Excel, or HTML**. One row per company.

```json
{
  "domain": "example-roofing.com",
  "url": "https://example-roofing.com/",
  "pageTitle": "Example Roofing | Commercial & Residential",
  "emails": ["admin@example-roofing.com", "camille@example-roofing.com"],
  "emailCount": 2,
  "primaryEmail": "admin@example-roofing.com",
  "phones": ["877-630-0081", "813-555-0142"],
  "phoneCount": 2,
  "primaryPhone": "877-630-0081",
  "address": "1234 Example Ave, Tampa, FL 33607",
  "facebook": "https://www.facebook.com/exampleroofing/",
  "instagram": "https://www.instagram.com/example_roofing/",
  "linkedin": null,
  "x": null,
  "youtube": null,
  "tiktok": null,
  "hasAnyContact": true,
  "pagesScanned": 3,
  "error": null,
  "scrapedAt": "2026-08-02T15:19:00.000Z"
}
```

***

### Is it legal to extract contact details from websites?

This Actor collects only business contact information that a company has published on its own website for the express purpose of being contacted — a `contact@` address on a contact page, a phone number in a footer, a public social profile.

It does not log in, does not bypass access controls, and does not collect private personal data such as individual user records or addresses that were not published.

Business contact data is treated differently from personal data in most jurisdictions, but not all, and the distinction is not always clean — an owner-operator's `firstname@` address may be personal data under GDPR. If you are contacting people in the EU or UK, GDPR applies to how you store and use what you collect; in the US, CAN-SPAM governs commercial email. Honour opt-outs, and if you are unsure whether your use case is legitimate, ask a lawyer.

***

### Tips

- **Include the protocol** (`https://`) on every URL.
- **Fewer, better pages beats more pages.** This Actor deliberately caps itself at the homepage plus two likely contact pages. That keeps cost per company low and avoids dragging in blog-author addresses that aren't the contact you want.
- **`primaryEmail` is a best guess.** It prefers role addresses like `info@`, `contact@`, `sales@` over personal ones. Check the full `emails` array before a high-value send.
- **`hasAnyContact: false` is a finding, not a failure.** A local business with no phone number anywhere in its markup is invisible to voice search and "call the nearest…" queries. That's a sales conversation.
- **Watch for off-domain emails.** If `primaryEmail` sits on a different domain than `domain`, something is wrong on their end — a leftover template, or an acquisition that never got cleaned up. In one production run this surfaced a mechanical contractor whose only homepage email link routed to an entirely different company.

***

### Related

**[Local Business Website Auditor](https://apify.com/champ1918/local-business-website-auditor)** — run the same URL list through it and get back every provable defect on each site: dead call buttons, broken email links, stale copyright, missing structured data. Pair the two and a list of domains becomes a list of qualified leads with a reason to call and someone to call.

# Actor input Schema

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

URLs to start with.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of requests that can be made by this crawler.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://crawlee.dev"
    }
  ],
  "maxRequestsPerCrawl": 100
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://crawlee.dev"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("champ1918/website-contact-email-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 = { "startUrls": [{ "url": "https://crawlee.dev" }] }

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

```

## MCP server setup

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