# Website Contact Extractor — Emails, Phones & Socials (`datakiln/website-contact-extractor`) Actor

Extract company emails, phone numbers and social profiles from any list of websites. Crawls homepage, contact, about and Impressum pages. Unreachable sites are free.

- **URL**: https://apify.com/datakiln/website-contact-extractor.md
- **Developed by:** [DataKiln Labs](https://apify.com/datakiln) (community)
- **Categories:** Lead generation, Marketing, Business
- **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 Contact Extractor — emails, phones & socials from any website

Paste a list of company websites and get back their **public emails, phone numbers and official social profiles** (LinkedIn, Facebook, Instagram, X/Twitter, YouTube, TikTok, GitHub, Telegram, WhatsApp, Xing…), plus company name, description, language and the best contact page. Built for lead generation, CRM enrichment, sales prospecting and agency outreach.

**$2 per 1,000 websites + $0.008 when at least one email is found.** Unreachable sites are free. No login, no API key.

### Why this extractor finds more contacts

Most tools read only the homepage. This one visits the **homepage plus the pages where companies actually publish contacts**: contact, about, team, legal and German/Austrian/Swiss **Impressum** pages. If those pages aren't linked, it tries common paths such as `/contact`, `/about` and `/impressum` (Shopify stores: `/pages/contact`).

It also catches emails that simple regex tools miss:

- `mailto:` links and **Cloudflare-protected emails** (decoded)
- obfuscated addresses like `info(at)firma.de` or `sales [at] acme [dot] co [dot] uk`
- **schema.org / JSON-LD** data (`email`, `telephone`, `sameAs`)

And it filters out the noise: placeholder addresses (`john.doe@`, `max.mustermann@`, `you@example.com`), `noreply@` addresses, vendor and tracking addresses (`@sentry`, `@wix`, `@godaddy`…), and regulator or data-protection authority addresses that appear on legal pages. Emails on the company's own domain are listed first.

In our test on 25 small-business, agency, e-commerce and SaaS websites from the US, UK and Germany, **21 had at least one public email**, **17 had a phone number** and **23 had social profiles** — every email was on the company's own domain.

### What you get

| Field | Description |
|---|---|
| `inputUrl`, `domain`, `finalUrl` | What you entered, the registrable domain, and the homepage URL after redirects |
| `companyName`, `description`, `language` | From `og:site_name`, structured data or the page title; meta description; `<html lang>` |
| `emails`, `emailSources` | Public emails (own domain first) and the page each was found on |
| `phones`, `phoneSources` | Phone numbers: **E.164** (`+493012345678`) when the site shows a country code, otherwise as written on the site |
| `socials` | One company profile per network: linkedin, facebook, instagram, twitter, youtube, tiktok, github, telegram, whatsapp, pinterest, threads, xing, discord, vimeo… Share buttons and post links are ignored. |
| `contactPageUrl` | The best contact page (or Impressum) found |
| `pagesCrawled` | Pages that were read |
| `status`, `error` | `ok`, `unreachable` (doesn't resolve, times out, parked domain…) or `blocked` (bot protection) |
| `scrapedAt` | Timestamp |

### How to use

1. Paste **websites** — bare domains (`acme.com`) or full URLs (`https://acme.com/about`). Duplicates of the same domain are processed once.
2. Optional: change **Max pages per website** (default 5), turn **phone extraction** on or off, or set a proxy.
3. Click **Start** and export to CSV/Excel/JSON, Google Sheets, HubSpot, Make, Zapier or n8n.

#### Input example

```json
{
  "websites": ["plausible.io", "clearleft.com", "https://www.sipgate.de", "beardbrand.com"],
  "maxPagesPerSite": 5,
  "includePhones": true,
  "maxConcurrency": 10
}
```

#### Output example

```json
{
  "inputUrl": "pashley.co.uk",
  "domain": "pashley.co.uk",
  "finalUrl": "https://www.pashley.co.uk/",
  "companyName": "Pashley Cycles",
  "description": "Pashley Cycles is England's longest established cycle manufacturer. Bicycles, tricycles and cargo bikes designed and made in Britain since 1926.",
  "emails": ["hello@pashley.co.uk"],
  "emailSources": [{ "email": "hello@pashley.co.uk", "foundOn": "https://www.pashley.co.uk/" }],
  "phones": ["+441789292263"],
  "phoneSources": [{ "phone": "+441789292263", "foundOn": "https://www.pashley.co.uk/" }],
  "socials": {
    "linkedin": "https://www.linkedin.com/company/pashleycycles",
    "facebook": "https://www.facebook.com/pashleycycles",
    "instagram": "https://www.instagram.com/pashleycycles",
    "twitter": "https://twitter.com/pashleycycles",
    "youtube": "https://www.youtube.com/@PashleyCycles1926"
  },
  "contactPageUrl": "https://www.pashley.co.uk/pages/contact",
  "pagesCrawled": ["https://www.pashley.co.uk/", "https://www.pashley.co.uk/pages/contact", "https://www.pashley.co.uk/pages/about"],
  "language": "en",
  "status": "ok",
  "error": null,
  "scrapedAt": "2026-10-09T15:35:10+00:00"
}
```

### Pricing

Pay-per-result, platform usage included:

| Event | Price |
|---|---|
| Website processed (status `ok`) | **$0.002** |
| Extra when at least one email is found | **$0.008** |

A website with an email costs **$0.01**; one without an email costs $0.002. **Unreachable and blocked websites are free ($0)** — they still appear in the results with their `status` and `error`, so you can see exactly what happened to every row. Cap any run with *Max total charge*.

### FAQ

**Which pages does it read?** The homepage, then contact, Impressum, about, team and legal pages on the same site, up to *Max pages per website*. It never leaves the website's own host, so you won't get emails from other sites it links to.

**Why does a website have no email?** Some companies only offer a contact form, or load their contact details with JavaScript. You still get the phone numbers, socials and contact page when they exist — and you pay only $0.002 for that row.

**What does `blocked` mean?** The site answered with bot protection (e.g. a CAPTCHA). The extractor already retries with a browser-like connection; if you see many `blocked` rows, run them again with a residential proxy.

**Are phone numbers formatted?** Numbers shown with a country code (`+44 20 7946 0958`, `0049 30 …`) are returned as E.164 (`+442079460958`). Numbers without a country code are returned exactly as the site shows them. Fax numbers, dates, VAT and registration numbers are skipped.

**Is it legal?** It reads only publicly available business contact information from public web pages, the same way a visitor would. Under GDPR, business emails of named people (e.g. `jane.smith@company.com`) are still personal data — make sure you have a legitimate interest, contact people with relevant, personalised messages, honour opt-outs and follow CAN-SPAM, PECR and local anti-spam rules.

### Related tools by DataKiln

- [Telegram Channel Scraper — posts, views & reactions from public channels](https://apify.com/datakiln/telegram-channel-scraper)
- [YouTube Channel Email Finder — creator emails, socials & stats](https://apify.com/datakiln/youtube-channel-email-finder)
- [YouTube Comments Scraper — comments, replies & likes](https://apify.com/datakiln/youtube-comments-scraper)
- [Podcast Email Finder — host emails from Apple Podcasts RSS feeds](https://apify.com/datakiln/podcast-email-finder)
- [TikTok Profile & Email Finder — bio, stats & contacts](https://apify.com/datakiln/tiktok-profile-email-finder)

### Support

Missing a field or found a wrong contact? Open an issue on the **Issues** tab — we usually reply within 24 hours.

# Actor input Schema

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

Domains or URLs of the companies, one per line, e.g. 'apify.com' or 'https://example.org/about'. Duplicates of the same domain are processed once.

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

Homepage plus contact, about, Impressum, team and legal pages found on the same site. Common paths like /contact, /about and /impressum are tried when they are not linked (they count toward this limit).

## `includePhones` (type: `boolean`):

Collect phone numbers from tel: links, WhatsApp links, structured data and visible text. Numbers with a country code are returned in E.164 format (+14155550132), others as written on the site.

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

How many websites to process at the same time.

## `proxyConfiguration` (type: `object`):

Not required. Leave empty unless many sites come back with status 'blocked'.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "basecamp.com"
  ],
  "maxPagesPerSite": 5,
  "includePhones": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `websites` (type: `string`):

All websites as JSON items.

## `overview` (type: `string`):

Overview table view.

# 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",
        "basecamp.com"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("datakiln/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",
    "basecamp.com"
  ]
}' |
apify call datakiln/website-contact-extractor --silent --output-dataset

```

## MCP server setup

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