# Website Contact Scraper - Emails, Phones & Socials (`koatiromeo/website-contact-scraper`) Actor

Find the emails, phone numbers and social profiles of any list of websites. Reads home, contact, about and legal pages, checks each email domain accepts mail, returns one clean row per website. $3 per 1,000 websites.

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

## Pricing

from $3.00 / 1,000 website scanneds

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

Give it a list of websites, get back **one clean row per website** with its emails, phone numbers, social profiles, postal address and contact page. Built for lead lists: paste the domains you got from Google Maps, a directory or your CRM, and enrich them in one run.

### What makes it different

- **One row per website, priced per website.** No per-page bill to guess: up to 20 pages are read on each site for the same price.
- **A best email, not a pile of strings.** Every address is checked: does its domain accept mail (MX record)? Is it on the website's own domain? Is it a shared mailbox (`info@`, `contact@`) or a named person? `primaryEmail` is the best one by those rules.
- **Finds hidden addresses.** Cloudflare-protected emails, `name [at] domain [dot] com`, `mailto:` links and structured data (schema.org) are all decoded.
- **Reads the right pages.** Home page first, then contact, about, team, legal notice and "Impressum" pages, in English, French, German, Spanish and Italian.
- **You are not charged for failures.** Websites that are offline or refuse automated visits are reported with their reason and cost nothing.

### Input

```json
{
    "websites": ["https://www.python.org", "djangoproject.com"],
    "maxPagesPerSite": 5,
    "respectRobotsTxt": true
}
```

| Field | Default | Meaning |
|---|---|---|
| `websites` | required | URLs or bare domains |
| `maxPagesPerSite` | 5 | Pages read per website, home page included (1 to 20) |
| `respectRobotsTxt` | true | Skip pages the website asks crawlers not to visit |
| `maxConcurrency` | 20 | Websites read in parallel |

### Output

```json
{
    "website": "https://www.python.org/",
    "domain": "python.org",
    "status": "ok",
    "finalUrl": "https://www.python.org/",
    "companyName": "Python.org",
    "title": "Welcome to Python.org",
    "description": "The official home of the Python Programming Language",
    "language": "en",
    "primaryEmail": "webmaster@python.org",
    "emails": ["webmaster@python.org", "psf@python.org"],
    "emailDetails": [
        { "email": "webmaster@python.org", "type": "generic", "sameDomain": true, "mxValid": true, "foundOn": "https://www.python.org/about/help/" }
    ],
    "primaryPhone": null,
    "phones": [],
    "linkedin": "https://www.linkedin.com/company/python-software-foundation",
    "facebook": null,
    "instagram": null,
    "twitter": "https://twitter.com/ThePSF",
    "youtube": null,
    "tiktok": null,
    "github": "https://github.com/python",
    "pinterest": null,
    "whatsapp": null,
    "telegram": null,
    "address": null,
    "contactPageUrl": null,
    "pagesScanned": 5,
    "error": null,
    "scrapedAt": "2026-11-12T18:00:00+00:00"
}
```

`status` is `ok`, `blocked` (the site answered 401/403/429) or `unreachable` (offline, DNS error, not a web page). Only `ok` rows are charged.

### Price

**$0.003 per website scanned** ($3 per 1,000 websites), whatever the number of pages read, plus a negligible start fee. Platform usage is included. Blocked and unreachable websites are free.

### Speed

About 1,000 websites in 5 to 10 minutes with the default settings.

### Limits, honestly

- **No JavaScript rendering.** Pages are read as plain HTML. A website that only shows its contact details after running JavaScript will return little.
- **No bypass of protections.** Websites that refuse automated visits are reported as `blocked`, not forced.
- **`mxValid` is a domain check, not a mailbox check.** It tells you the domain accepts email, not that this exact mailbox exists.
- **Phone numbers** come from `tel:` links, structured data and numbers written in international format (`+33 ...`). Local-format numbers in plain text are skipped on purpose: they produce too many false positives.
- Contact data of individuals is personal data. Use it in line with the laws that apply to you (GDPR, CAN-SPAM, ePrivacy).

### FAQ

**Can I send bare domains or emails?** Yes. `example.com` and `someone@example.com` both resolve to `https://example.com/`.

**How do I enrich Google Maps results?** Export the `website` column of your Maps dataset and paste it in `websites`.

**Why is `primaryEmail` empty when `emails` is not?** Every address found sits on a domain that does not accept mail.

# Actor input Schema

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

Websites or bare domains, one per line ("https://example.com" or "example.com"). Each one is visited: home page first, then its contact, about, team and legal pages.

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

How many pages to read on each website, home page included. The price is per website, not per page.

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

Skip the pages a website asks crawlers not to visit.

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

How many websites are read at the same time.

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

Not needed in normal use: requests go out directly.

## Actor input object example

```json
{
  "websites": [
    "https://www.python.org",
    "https://www.djangoproject.com"
  ],
  "maxPagesPerSite": 5,
  "respectRobotsTxt": true,
  "maxConcurrency": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per website with its 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 = {
    "websites": [
        "https://www.python.org",
        "https://www.djangoproject.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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