# Website Contact Scraper — Emails, Phones & Socials by Domain (`fabrikit/website-contact-scraper`) Actor

Paste company websites or domains and get one row per company: role e-mails (info@, sales@...), phones, WhatsApp, address and social profiles read from the home, contact and imprint pages. Person-like addresses filtered out. HTTP only. From US$1.40 per 1,000 websites.

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

## Pricing

from $1.40 / 1,000 website reads

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 Scraper — Emails, Phones & Socials by Domain

**Website Contact Scraper extracts company contact details from any list of websites or domains**: the role e-mail addresses a business publishes (info@, sales@, press@…), its phone numbers and WhatsApp, its LinkedIn, Facebook, Instagram, X, YouTube and TikTok pages, and — when the site declares it in schema.org data — the legal name, business type, postal address and logo. You paste domains, you get **one clean row per company**, ready for a CRM, a spreadsheet or an AI agent. Plain HTTP, no browser, no API key, and you only pay for websites that could actually be read.

It runs the same contact engine as our [Google Maps Email Extractor](https://apify.com/fabrikit/google-maps-email-extractor). Use that one when you still need to *find* the businesses on Google Maps; use this one when you already have the list of websites (from a CRM export, a trade-fair catalogue, a directory or another scraper).

### What one row contains

| Field | What it is |
|---|---|
| `domain`, `url`, `status` | the website, the final URL after redirects, and `ok` or the reason it could not be read |
| `companyName`, `organizationType`, `logo` | from the site's schema.org JSON-LD (`Organization`, `LocalBusiness`, `Dentist`…) or its `og:site_name` |
| `primaryEmail`, `emails` | kept mailboxes, general inboxes on the site's own domain first |
| `emailDetails` | each address with `type` (`role`, `company`, `personal`), `sameDomain` and the page it was found on (`foundOn`) |
| `primaryPhone`, `phones`, `whatsapp` | `tel:` links, JSON-LD `telephone`, and labelled or clearly formatted numbers; fax numbers skipped |
| `facebook`, `instagram`, `linkedin`, `twitter`, `youtube`, `tiktok` | company pages only, never people profiles |
| `address`, `street`, `postalCode`, `city`, `region`, `country` | the `PostalAddress` the company publishes in JSON-LD |
| `hasContactForm`, `contactPageUrl` | whether a real message form exists, and the contact page that was read |
| `title`, `description`, `language`, `platform` | page metadata and the site builder (WordPress, Wix, Shopify, Duda, Drupal…) |
| `pagesCrawled`, `crawledUrls`, `robotsTxt`, `personalEmailsDropped`, `otherDomainEmailsDropped`, `error`, `scrapedAt` | what was read and what was left out |

### How it works

1. Each line is normalised: `acme.com`, `www.acme.co.uk/about`, `https://acme.com/contact`, `info@acme.com` or a CSV line such as `Acme Inc, acme.com, Denver` all work. Lines pointing to the same website are merged.
2. robots.txt is read (optional, on by default) and the page you gave is fetched.
3. Up to **Pages per website − 1** more same-site pages are chosen: contact, imprint / legal notice, about, location and booking pages, recognised in many languages (English, Spanish, Portuguese, German, French, Italian, Dutch, Nordic languages, Turkish…). If the menu has no such link, the sitemap is used; failing that, a couple of common paths are tried. Team, staff, attorney and bio pages are never visited.
4. The pages are merged into one record. A site that refuses Chrome-like requests is retried with Firefox and Safari header profiles before it is reported as `blocked`.

### Input example

```json
{
  "websites": ["eff.org", "denvercrowd.com", "https://www.hetzner.com", "info@booyah.com"],
  "maxPagesPerWebsite": 4,
  "excludePersonalEmails": true,
  "onlySameDomainEmails": false,
  "onlyWithEmail": false
}
```

Other options: `maxItems` (stop after N rows), `skipFailedWebsites`, `respectRobotsTxt`, `maxConcurrency`, `language` (Accept-Language) and `proxyConfiguration`. API users can also send `startUrls`, `urls` or `domains`.

### Output example

A real row from a local test run on 21 October 2026 (`emailDetails` shortened):

```json
{
  "inputUrl": "https://www.eff.org",
  "domain": "eff.org",
  "url": "https://www.eff.org/",
  "status": "ok",
  "companyName": "Electronic Frontier Foundation",
  "primaryEmail": "info@eff.org",
  "emails": ["info@eff.org", "membership@eff.org", "press@eff.org", "activist@eff.org", "extension-devs@eff.org", "hr@eff.org"],
  "emailDetails": [
    { "email": "info@eff.org", "type": "role", "sameDomain": true, "foundOn": "https://www.eff.org/about/contact" },
    { "email": "press@eff.org", "type": "role", "sameDomain": true, "foundOn": "https://www.eff.org/about/contact" }
  ],
  "primaryPhone": "+1 (415) 436-9333",
  "phones": ["+1 (415) 436-9333", "+1-510-243-8020"],
  "facebook": "https://www.facebook.com/eff",
  "instagram": "https://www.instagram.com/efforg/",
  "linkedin": "https://www.linkedin.com/company/EFF/",
  "tiktok": "https://www.tiktok.com/@efforg",
  "hasContactForm": false,
  "contactPageUrl": "https://www.eff.org/about/contact",
  "language": "en",
  "platform": "Drupal",
  "pagesCrawled": 4,
  "robotsTxt": "allowed",
  "personalEmailsDropped": 0,
  "scrapedAt": "2026-10-21T03:27:35.811Z"
}
```

In the same test, `denvercrowd.com` also returned its schema.org address (`2412 Stout St, 80205 Denver, CO, US`) and `hetzner.com` five phone numbers, five social pages and four company mailboxes, with four person-shaped addresses from its legal pages left out. The three websites took about 4 seconds. A `SUMMARY` record in the key-value store counts rows, statuses, e-mails, phones and dropped addresses.

### Pricing

Pay per event, proxy included:

| Event | Price | When |
|---|---|---|
| `website-result` | **US$0.0014** (US$1.40 per 1,000 websites) | a row is saved for a website that answered with at least one page |

The price does not depend on how many pages are read (1 to 10 per site). Examples: 1,000 websites = US$1.40; 10,000 websites = US$14; a list of 1,000 where 120 are down or blocked = US$1.23. Rows for blocked, unreachable, non-HTML, robots-disallowed or invalid inputs are free, and with `onlyWithEmail` you pay only for websites that showed an e-mail. Set a maximum cost per run and the Actor stops cleanly when it is reached.

### How it compares

- **Per-page billing**: tools that charge for every crawled page bill a 4-page visit four times; here a website costs the same whether 1 or 10 pages are read, and the pages are merged into one row instead of one row per page.
- **E-mail finders that guess addresses** (pattern-based "name@company" generators): this Actor returns only what the company itself publishes, so nothing is invented and nothing needs verifying against a person.
- **[Google Maps Email Extractor](https://apify.com/fabrikit/google-maps-email-extractor)** (ours): finds the businesses and their websites first, then reads them with the same engine.
- **Limits, honestly**: there is no browser, so a site that renders its contact details only with JavaScript can come back with few fields (`pagesCrawled` and `crawledUrls` show what was read). Sites that show only a contact form give `hasContactForm: true` and no e-mail. Sites behind a strict anti-bot wall are reported as `blocked`, free of charge.

### Privacy: what is collected and how to filter it

The Actor is built for **company** contact data. By default:

- addresses that look like a private person (`first.last@`, `jsmith@`, `maria@`, `sales.john@`) are dropped and only counted in `personalEmailsDropped`;
- schema.org `Person` nodes (authors, staff) are never read, and team, staff and bio pages are never visited;
- LinkedIn `/in/` profiles and Facebook `/people/` profiles are never saved.

You can filter further: `onlySameDomainEmails` keeps only mailboxes on the website's own domain, and `emailDetails[].type` lets you keep only `role` mailboxes in your spreadsheet. Turn `excludePersonalEmails` off only if you have a lawful basis. You remain responsible for complying with GDPR, CCPA, Chile's Ley 21.719 and anti-spam rules (CAN-SPAM, PECR) when you contact anyone.

### Integrations

Call it from the Apify API, the JavaScript or Python client, or schedule it in Apify Console. Send rows to Google Sheets, Airtable, HubSpot, n8n, Make, Zapier or any webhook. AI agents (Claude, ChatGPT, Cursor and other MCP clients) can run it through the Apify MCP server, for example to "get the contact e-mail and LinkedIn page of these 30 suppliers".

### FAQ

**Is it legal?** It reads public web pages that companies publish to be contacted, keeps company contact data and filters out personal addresses by default. Marketing rules differ by country; this is not legal advice.

**Do I need a proxy?** No setup needed: Apify datacenter proxy with a rotating IP per request is the default. Blocked sites are reported, not retried on expensive bandwidth.

**Why is `emails` empty for a site that has a contact page?** The site publishes a form only (`hasContactForm`), renders the address with JavaScript, or every address looked personal (`personalEmailsDropped` > 0). Raising `maxPagesPerWebsite` helps on large sites.

**How many websites per run?** Up to 100,000 lines; about 8 sites are read in parallel (`maxConcurrency` up to 20).

**Does it follow links to other domains?** No. Only pages on the same website are read.

### Changelog

- **2026-10-21** — First version: one row per website, role e-mail filter, phones, WhatsApp, six social networks, schema.org company name / type / address / logo, contact-form and platform detection, robots.txt and sitemap discovery, Chrome / Firefox / Safari header ladder, pay-per-website pricing.

### En español

**Website Contact Scraper** recibe una lista de sitios web o dominios de empresas y devuelve una fila por empresa con los datos de contacto que la propia empresa publica: correos de rol (info@, ventas@, prensa@…), teléfonos y WhatsApp, páginas de LinkedIn, Facebook, Instagram, X, YouTube y TikTok y, cuando el sitio lo declara en schema.org, razón social, rubro, dirección y logo. Lee la página que indicas y hasta nueve páginas más del mismo sitio (contacto, aviso legal, quiénes somos, ubicación), respeta robots.txt y nunca visita páginas de equipo ni guarda perfiles personales. Por defecto descarta los correos que parecen de una persona natural (nombre.apellido@, jperez@), en línea con la Ley 21.719 y el RGPD. Cuesta US$1,40 por cada 1.000 sitios leídos, sin importar cuántas páginas se lean; los sitios caídos o bloqueados se informan gratis. Si todavía no tienes la lista de sitios, usa nuestro [Google Maps Email Extractor](https://apify.com/fabrikit/google-maps-email-extractor).

# Actor input Schema

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

One company per line. Any form works: `acme.com`, `www.acme.co.uk`, `https://acme.com/contact`, or even an address such as `info@acme.com` (its domain is used). Lines that point to the same website are read once. Use **Bulk edit** to paste thousands of lines from a spreadsheet.

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

Stop after saving this many rows. `0` = one row for every website in the list. Each row of a website that could be read is one `website-result` event; rows that only explain a failure are free.

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

Pages read per site: the page from your list plus up to this many minus one same-site pages that look like contact, imprint / legal notice, about or location pages. 3–5 finds most published contacts; `1` reads only the page you gave. The price per website is the same whatever you choose.

## `excludePersonalEmails` (type: `boolean`):

Keep role and company mailboxes (`info@`, `sales@`, `press@`, `hello@`, the company's own name...) and leave out addresses shaped like a person's (`first.last@`, `jsmith@`, `maria@`, `sales.john@`). The number left out is in `personalEmailsDropped`. Turn off only if you have a lawful basis to process personal contact data.

## `onlySameDomainEmails` (type: `boolean`):

Drop addresses on other domains, such as a web agency's mailbox or a free-mail address (`acme@gmail.com`). Off by default because many small businesses use free-mail addresses.

## `onlyWithEmail` (type: `boolean`):

Websites without any kept e-mail are not saved and not charged. Implies **Skip websites that could not be read**.

## `skipFailedWebsites` (type: `boolean`):

By default a free row with `status` (`blocked`, `timeout`, `dns-error`, `http-404`, `robots-disallowed`, `invalid-url`...) is saved for every website that gave no page, so your list and the output line up. Turn on to leave those rows out.

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

Read each site's robots.txt first and skip pages it disallows (a site that disallows everything gets `status: robots-disallowed`, free). The sitemaps listed there also help to find the contact page of sites whose menu is built with JavaScript.

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

How many websites are read at the same time. Pages of one site are always fetched one after another.

## `language` (type: `string`):

Sent as Accept-Language, so multilingual sites answer in this language when they can.

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

Apify datacenter proxy by default; each request leaves from a rotating IP. A site that still refuses after the Chrome, Firefox and Safari header profiles is reported as `blocked` and not charged.

## Actor input object example

```json
{
  "websites": [
    "https://www.eff.org",
    "denvercrowd.com",
    "https://www.hetzner.com"
  ],
  "maxItems": 0,
  "maxPagesPerWebsite": 4,
  "excludePersonalEmails": true,
  "onlySameDomainEmails": false,
  "onlyWithEmail": false,
  "skipFailedWebsites": false,
  "respectRobotsTxt": true,
  "maxConcurrency": 8,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All website rows saved during the run

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

Websites read, rows with e-mail or phone, statuses, personal addresses dropped and crawler counters

# 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": [
        "https://www.eff.org",
        "denvercrowd.com",
        "https://www.hetzner.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fabrikit/website-contact-scraper").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": [
        "https://www.eff.org",
        "denvercrowd.com",
        "https://www.hetzner.com",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fabrikit/website-contact-scraper").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": [
    "https://www.eff.org",
    "denvercrowd.com",
    "https://www.hetzner.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fabrikit/website-contact-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fabrikit/website-contact-scraper"
        }
    }
}
```

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/mtwRqqcRHNeN2HB6e/builds/oUsBE9sXVVDm0qFc7/openapi.json
