# Website Contact Extractor - Verified Outreach-Ready Emails (`webdata_labs/website-contact-extractor`) Actor

\[💵 $2.00 / 1K] Turn a list of company domains into verified, outreach-ready contacts. Extracts emails, phones, and socials, classifies role vs personal, MX-verifies deliverability, and dedupes - so you get usable leads, not a junk email dump. CSV/JSON.

- **URL**: https://apify.com/webdata\_labs/website-contact-extractor.md
- **Developed by:** [Open Web Team](https://apify.com/webdata_labs) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 contact rows

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Extractor - Verified Outreach-Ready Emails, Not Raw Dumps

**Turn a list of company domains into verified, outreach-ready contacts - not a junk email dump.**

Most website **email scrapers** hand you a pile of `noreply@`, `webmaster@`, and unverifiable addresses mixed in with the good ones. This Actor extracts the contacts, then does the work the others skip: it **classifies** each email (personal vs role vs junk), **MX-checks** that the domain actually accepts mail, keeps only on-domain addresses, and dedupes. You get a clean, prioritized list you can email today.

### ✅ What you get / ❌ what this isn't

| ✅ This Actor gives you | ❌ This Actor is not |
|---|---|
| MX-verified, on-domain, deduped emails | Not a raw dump of `noreply@` and junk |
| Personal contacts ranked above role inboxes | Not unverified guesses you can't trust |
| An `outreachReady` flag per email | Not private or login-gated data |
| Socials + phone numbers per site | Not a generic crawler with no enrichment |

### 🔎 Why use this Actor

- **Verified, not guessed.** Every email domain is MX-checked, so dead domains are flagged before you waste a send.
- **Personal first.** Real people (`jane@`) rank above role inboxes (`info@`, `sales@`), which beat junk (`noreply@`) - so the best contact is row one.
- **Outreach-ready flag.** One boolean tells you which emails are safe to use: not junk, on the company's own domain, and deliverable.
- **Socials and phones too.** LinkedIn, X, Facebook, Instagram, YouTube, and phone numbers per site.
- **One summary row per domain.** Counts, primary email, and a status (ok / no_contacts / unreachable) for a fast read.
- **Built to pair with lead lists.** Feed it the website column from a Google Maps, directory, or CRM export.

### 👥 Who it's for

Sales, growth, and agency teams building cold-outreach lists. Common jobs:

- Enrich a Google Maps or directory scrape (you have websites, you need emails).
- Clean a contact list down to deliverable, non-junk addresses before a cold campaign.
- Find a company's socials and phone alongside its email in one pass.
- Build outreach lists where every row is already verified and prioritized.

### Example tasks

- [Find emails from company websites](https://apify.com/webdata_labs/website-contact-extractor/examples/find-emails-from-company-websites)
- [Enrich Google Maps leads with emails](https://apify.com/webdata_labs/website-contact-extractor/examples/enrich-google-maps-leads-with-emails)
- [Extract social profiles from websites](https://apify.com/webdata_labs/website-contact-extractor/examples/extract-social-profiles-from-websites)

### ⚙️ How to extract emails from websites

1. Open the Actor on Apify.
2. Paste your `domains` (company domains or full URLs).
3. Set `pagesPerSite` (homepage, /contact, /about - more pages, higher yield and cost).
4. Keep `verifyMx` on so dead domains are flagged.
5. Click **Start**.
6. Open the **Outreach-ready contacts** view, or download CSV/JSON/Excel or pull from the API.

### 📥 Input

```json
{
  "domains": ["basecamp.com", "apify.com"],
  "pagesPerSite": 3,
  "verifyMx": true,
  "maxDomains": 100
}
````

- `domains` - company domains or URLs (`example.com` or `https://example.com`).
- `pagesPerSite` - how many common pages to check per site. More pages = higher yield, higher cost.
- `verifyMx` - MX-verify email domains for deliverability (recommended).
- `maxDomains` - safety cap so a default run stays cheap.

### 📤 Output

Two row types in one dataset, with ready-made views.

**Outreach-ready contacts** (default view):

| domain | email | emailType | mxValid | outreachReady | sourceUrl |
|---|---|---|---|---|---|
| basecamp.com | jason@basecamp.com | personal | true | true | https://basecamp.com/about |
| apify.com | hello@apify.com | role | true | true | https://apify.com/contact |

**Per-domain summary**:

| domain | status | primaryEmail | outreachReadyEmails | emailsFound | socialsFound |
|---|---|---|---|---|---|
| apify.com | ok | hello@apify.com | 1 | 1 | 12 |
| ycombinator.com | no\_contacts | (null) | 0 | 0 | 7 |

### 💵 How much does it cost?

You pay per result plus Apify platform usage. Cost scales with the number of `domains` and `pagesPerSite` (more pages crawled per site = higher yield and higher cost). MX verification is cheap. Keep `pagesPerSite` at 2-3 for the best yield-to-cost ratio.

### 🔁 Run it on the Apify platform

Schedule recurring enrichment, call it from the API, export to CSV/JSON/Excel, or pipe results into Make, Zapier, webhooks, or your CRM.

### ⚠️ Limits and caveats

- Only public website data is read. No login, no private data.
- A few sites block automated requests or hide emails behind forms; those return `unreachable` or `no_contacts` rather than failing the run.
- MX verification confirms the domain accepts mail, not that a specific inbox exists.

### 🧩 Related Actors

- **Bulk URL Status Checker** - check domains and final URLs before running contact enrichment.
- **Lead List Deduplicator & Normalizer** - merge contacts from multiple sources into one canonical list.
- **LinkedIn Ads Library Scraper** - find advertisers, then turn their domains into contacts here.

### ❓ FAQ

**Does it verify emails?** It MX-checks each email's domain for deliverability and flags dead domains. It does not send test mail to individual inboxes.

**Can I enrich a lead list?** Yes - feed it the website column from any Google Maps, directory, or CRM export.

**Does it scrape private data?** No. It reads only public website pages.

### 🛠️ Support

If a run fails or a field is missing, open an Actor issue with the run URL, the input you used, and the field or behavior you expected.

# Actor input Schema

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

Company domains or website URLs to extract contacts from. Accepts example.com or https://example.com/. Ideal input is a list of company websites from a Google Maps, directory, or CRM export.

## `pagesPerSite` (type: `integer`):

How many common pages to check per site (homepage, /contact, /about, ...). More pages = higher email yield but higher cost.

## `verifyMx` (type: `boolean`):

Check each email domain has valid MX (mail) records, so undeliverable domains are flagged. Recommended.

## `maxDomains` (type: `integer`):

Safety cap on how many domains to process in one run. Low default keeps the first run cheap and fast.

## `requestTimeoutMs` (type: `integer`):

Timeout per page fetch. Increase only if slow sites return empty.

## Actor input object example

```json
{
  "domains": [
    "basecamp.com",
    "ycombinator.com"
  ],
  "pagesPerSite": 3,
  "verifyMx": true,
  "maxDomains": 100,
  "requestTimeoutMs": 12000
}
```

# Actor output Schema

## `outreach` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `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 = {
    "domains": [
        "basecamp.com",
        "ycombinator.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdata_labs/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 = { "domains": [
        "basecamp.com",
        "ycombinator.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("webdata_labs/website-contact-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "basecamp.com",
    "ycombinator.com"
  ]
}' |
apify call webdata_labs/website-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=webdata_labs/website-contact-extractor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website Contact Extractor - Verified Outreach-Ready Emails",
        "description": "[💵 $2.00 / 1K] Turn a list of company domains into verified, outreach-ready contacts. Extracts emails, phones, and socials, classifies role vs personal, MX-verifies deliverability, and dedupes - so you get usable leads, not a junk email dump. CSV/JSON.",
        "version": "0.1",
        "x-build-id": "nmVZ7hImdfBhXOQb1"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/webdata_labs~website-contact-extractor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-webdata_labs-website-contact-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/webdata_labs~website-contact-extractor/runs": {
            "post": {
                "operationId": "runs-sync-webdata_labs-website-contact-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/webdata_labs~website-contact-extractor/run-sync": {
            "post": {
                "operationId": "run-sync-webdata_labs-website-contact-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "domains"
                ],
                "properties": {
                    "domains": {
                        "title": "Domains or website URLs",
                        "type": "array",
                        "description": "Company domains or website URLs to extract contacts from. Accepts example.com or https://example.com/. Ideal input is a list of company websites from a Google Maps, directory, or CRM export.",
                        "default": [
                            "basecamp.com",
                            "ycombinator.com"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "pagesPerSite": {
                        "title": "Pages per site",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "How many common pages to check per site (homepage, /contact, /about, ...). More pages = higher email yield but higher cost.",
                        "default": 3
                    },
                    "verifyMx": {
                        "title": "Verify email deliverability (MX)",
                        "type": "boolean",
                        "description": "Check each email domain has valid MX (mail) records, so undeliverable domains are flagged. Recommended.",
                        "default": true
                    },
                    "maxDomains": {
                        "title": "Max domains",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Safety cap on how many domains to process in one run. Low default keeps the first run cheap and fast.",
                        "default": 100
                    },
                    "requestTimeoutMs": {
                        "title": "Per-request timeout (ms)",
                        "minimum": 3000,
                        "maximum": 30000,
                        "type": "integer",
                        "description": "Timeout per page fetch. Increase only if slow sites return empty.",
                        "default": 12000
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
