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

$2/1K 🔥 Fast website contact & email extractor! Emails, phone numbers & social links from any site — crawls contact/about pages too. JSON, CSV, Excel or API in seconds. Paste URLs & build thousands of B2B leads ⚡

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

## Pricing

from $2.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 📧

**Extract emails, phone numbers and social media links from any list of websites — in seconds.** Feed the actor a list of URLs and get back clean, deduplicated business contact data ready for lead generation, sales prospecting, CRM enrichment and cold outreach.

Because this actor works on **your** URLs (no search, no anti-bot dependency), it is **datacenter-proxy friendly and always works** — point it at a domain and it returns structured contacts.

***

### ✨ What it does

For every website URL you provide, the actor:

1. Fetches the homepage using a real Chrome TLS fingerprint (`curl_cffi` chrome124, with a urllib fallback).
2. Extracts **emails** (including `mailto:` links), with smart filtering of image-name and tracker false positives (`.png`, `.jpg`, Sentry, Wix noise).
3. Extracts **phone numbers** (international `+CC` and national formats, plus `tel:` links).
4. Captures **social profile links**: Facebook, Twitter/X, LinkedIn, Instagram, YouTube, TikTok, Pinterest.
5. Reads the page **`<title>`**.
6. Optionally crawls up to **4 contact / about / team / impressum / imprint** pages on the same domain and merges everything.

One clean record per input website.

***

### 📥 Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `startUrls` | array | `["https://www.apify.com","https://www.python.org"]` | Website URLs (bare domains or full URLs). One record per site. |
| `crawlContactPages` | boolean | `true` | Also fetch up to 4 same-domain contact/about pages. |
| `maxItems` | integer | `100` (max `1000`) | Max number of input websites to process. |

```json
{
  "startUrls": ["https://www.apify.com", "https://www.python.org"],
  "crawlContactPages": true,
  "maxItems": 100
}
```

***

### 📤 Output

One item per input site (all fields nullable):

```json
{
  "url": "https://www.apify.com",
  "domain": "apify.com",
  "title": "Apify: The largest marketplace of trusted tools for AI",
  "emails": ["hello@apify.com"],
  "phones": ["+1 415 555 0132"],
  "facebook": "https://www.facebook.com/apifytech",
  "twitter": "https://twitter.com/apify",
  "linkedin": "https://www.linkedin.com/company/apifytech",
  "instagram": null,
  "youtube": "https://www.youtube.com/@Apify",
  "tiktok": null,
  "pages_crawled": 3,
  "scraped_at": "2026-07-03T10:00:00+00:00"
}
```

***

### 💵 Pricing

Pay-as-you-go. Typical cost is roughly **~$2 per 1,000 input websites** (depends on how many contact pages are crawled per site). Runs on just **512 MB** of memory, so it is cheap to run at scale.

***

### 🎯 Use cases

- **Lead generation** — turn a list of company domains into contactable leads.
- **Sales prospecting** — grab emails, phones and LinkedIn pages for outreach.
- **CRM enrichment** — fill missing contact fields for existing accounts.
- **Cold outreach & email campaigns** — build targeted, deduplicated contact lists.

***

### 🆚 Why this actor

| | This actor | Manual copy-paste | Generic scrapers |
|---|---|---|---|
| Emails + phones + socials | ✅ | 🐌 | ⚠️ partial |
| False-positive filtering | ✅ | — | ❌ |
| Contact-page crawling | ✅ | 🐌 | ❌ |
| 512 MB / cheap at scale | ✅ | — | ⚠️ |
| Always works on your URLs | ✅ | ✅ | ⚠️ |

***

### 🔗 Related actors

- [Website Tech-Stack Detector](https://apify.com/ninhothedev/website-tech-stack-detector)
- [Email Verifier](https://apify.com/ninhothedev/email-verifier)
- [SEO On-Page Auditor](https://apify.com/ninhothedev/seo-onpage-auditor)
- [RDAP Domain Scraper](https://apify.com/ninhothedev/rdap-domain-scraper)

***

### 🛟 Support

Found a site that doesn't extract cleanly, or want an extra field? Open an issue on the actor's **Issues** tab and I'll take a look.

***

**Keywords:** email extractor, contact scraper, lead generation, phone number extractor, social media links, sales prospecting, CRM enrichment, email finder, business contacts, web scraping

# Actor input Schema

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

List of website URLs to extract contact details from. Accepts bare domains or full URLs. One output record is produced per website.

## `crawlContactPages` (type: `boolean`):

When enabled, also fetches up to 4 same-domain contact, about, team, imprint or impressum pages to find extra emails, phones and social links.

## `maxItems` (type: `integer`):

Maximum number of input websites to process in a single run. Extra URLs beyond this limit are ignored.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.apify.com",
    "https://www.python.org"
  ],
  "crawlContactPages": true,
  "maxItems": 100
}
```

# 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": [
        "https://www.apify.com",
        "https://www.python.org"
    ]
};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/dn1iXT4Mlj6KV53TF/builds/9yakal2sDoBRUUWfs/openapi.json
