# Website Email & Contact Extractor (`sitehealth-tools/website-contact-extractor`) Actor

Extract emails, phone numbers and social profiles (LinkedIn, Facebook, Instagram, X, YouTube, TikTok) from any list of company websites. Scans homepage plus contact/about pages. Fast, no proxies. $0.004 per website, only when contacts are found.

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

## Pricing

from $4.00 / 1,000 website with contacts

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 Extractor

**Turn a list of company websites into a clean contact list: emails, phone numbers and social profiles, one row per website.** Paste domains, click Start, export to CSV, Excel or JSON.

- **Finds the contacts that matter:** emails (including Cloudflare-obfuscated and `mailto:` links), phone numbers from `tel:` links and schema.org data, and LinkedIn, Facebook, Instagram, X/Twitter, YouTube, TikTok, Pinterest, GitHub and Threads profiles.
- **Smart, small crawl:** scans the homepage plus the pages most likely to hold contacts (Contact, About, Team, Impressum, Support), so runs are fast and cheap. No browser, no proxies, no API keys.
- **Clean output:** junk filtered out (image file names, placeholder and tracking addresses). Emails on the company's own domain are listed first and separately in `emails_on_domain`.
- **Fair price:** **$0.004 per website, charged only when at least one contact is found.** Websites with nothing found, or that fail to load, are free. 1,000 websites cost at most $4.

**Who uses it:** sales and lead-generation teams enriching lists of company domains, agencies and freelancers building prospect lists, recruiters, researchers and CRM owners filling in missing contact fields.

### How much does it cost?

**$0.004 per website where contacts were found** (plus Apify's tiny $0.00005 run-start fee). You never pay for empty or failed websites, and you never pay per page.

| Websites with contacts | Cost |
| --- | --- |
| 100 | $0.40 |
| 1,000 | $4.00 |
| 10,000 | $40.00 |

The Actor respects your maximum charge limit: it stops delivering once the limit is reached, so you are never charged more than you set.

### How to use it

1. Paste full URLs into **Websites** (or upload a text/CSV file), or paste bare domains like `acme.com` into **Websites (plain list)**.
2. Optional: raise **Max pages per website** (default 5) for big sites.
3. Click **Start**. Download results from the **Output** tab as CSV, Excel or JSON.

#### Example input

```json
{
  "startUrls": [{ "url": "https://www.python.org" }],
  "websites": ["mozilla.org", "basecamp.com"],
  "maxPagesPerWebsite": 5
}
```

#### Example output (one row per website)

```json
{
  "website": "https://www.python.org",
  "domain": "python.org",
  "company_name": "Python.org",
  "emails": ["legal@python.org", "psf@python.org", "webmaster@python.org"],
  "emails_on_domain": ["legal@python.org", "psf@python.org", "webmaster@python.org"],
  "phones": [],
  "linkedin": "https://www.linkedin.com/company/python-software-foundation",
  "twitter": "https://twitter.com/ThePSF",
  "facebook": null,
  "instagram": null,
  "youtube": null,
  "contact_pages": ["https://www.python.org/about/help/", "https://www.python.org/about/legal/"],
  "pages_scanned": 5,
  "has_contacts": true,
  "error": null
}
```

### Output fields

`website`, `domain`, `final_url`, `status`, `company_name`, `emails`, `emails_on_domain`, `phones`, `linkedin`, `facebook`, `instagram`, `twitter`, `youtube`, `tiktok`, `pinterest`, `github`, `threads`, `contact_pages`, `pages_scanned`, `has_contacts`, `error`, `scraped_at`.

### FAQ

**How is this different from the big contact scrapers?** It does one job with plain HTTP requests at 512 MB of memory, so runs finish quickly and rarely time out, and the price is one flat number per website instead of separate fees for pages, leads and social profiles.

**Does it use a browser or proxies?** No. Most company sites publish contacts in plain HTML. Sites that hide everything behind JavaScript or block automated visitors return a row with a clear note in `error`, and you are not charged.

**Does it find personal emails of employees?** It only reads what the website itself publishes publicly (contact, about, team and imprint pages). It does not guess or verify addresses and does not log in anywhere.

**Is it legal?** It reads publicly available business contact information and respects `robots.txt` by default. You are responsible for using the data in line with the GDPR, CAN-SPAM and other laws that apply to you, for example by having a legitimate interest and honoring opt-outs.

**Can I run it on a schedule or via API?** Yes. Use Apify Schedules, the API, or integrations (Make, Zapier, n8n, Google Sheets).

**Why did a website return no contacts?** The site may load its content with JavaScript, block bots (HTTP 403/429), or simply not publish contact details. Try raising **Max pages per website**. Rows with nothing found are free.

### Related tools from the same developer

| Tool | What it does | Price |
| --- | --- | --- |
| [Broken Link Checker & SEO Site Audit](https://apify.com/sitehealth-tools/website-health-audit) | Crawl a site for broken links, 404s, redirect chains and on-page SEO issues; HTML report + CSV fix list | $0.015 per page |
| [Website Email & Contact Extractor](https://apify.com/sitehealth-tools/website-contact-extractor) | Emails, phone numbers and social profiles from a list of company websites | $0.004 per website with contacts |
| [Tech Stack Detector](https://apify.com/sitehealth-tools/tech-stack-detector) | CMS, ecommerce, analytics, marketing tools, frameworks, CDN and hosting behind any list of websites | $0.002 per website |
| [Website Screenshot Tool](https://apify.com/sitehealth-tools/website-screenshot) | Full-page or viewport screenshots of many URLs, desktop or mobile, PNG or JPEG | $0.002 per screenshot |

# Actor input Schema

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

Company websites to scan. Full URLs such as https://acme.com. One row of output per website. You can also upload a CSV/text file of URLs.

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

Optional. Paste bare domains or URLs, one per line (acme.com, www.acme.com, https://acme.com). Combined with the list above; duplicates are removed.

## `maxPagesPerWebsite` (type: `integer`):

Homepage plus the most likely contact, about, team and imprint pages. 5 finds most contacts; raise it for larger sites. Pages are free; you pay per website.

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

How many websites to scan at the same time. Each website is still crawled one page at a time, politely.

## `respectRobotsTxt` (type: `boolean`):

Skip pages the website's robots.txt disallows.

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

How long to wait for each page.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://www.mozilla.org"
    }
  ],
  "maxPagesPerWebsite": 5,
  "maxConcurrency": 10,
  "respectRobotsTxt": true,
  "requestTimeoutSecs": 20
}
```

# Actor output Schema

## `contacts` (type: `string`):

One row per website with emails, phones and social profiles.

# 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://www.python.org"
        },
        {
            "url": "https://www.mozilla.org"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sitehealth-tools/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 = { "startUrls": [
        { "url": "https://www.python.org" },
        { "url": "https://www.mozilla.org" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sitehealth-tools/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 '{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://www.mozilla.org"
    }
  ]
}' |
apify call sitehealth-tools/website-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sitehealth-tools/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/0MdnT7dY8nQezkv1o/builds/1Ww03rGrYVioU24cP/openapi.json
