# Website Contact Scraper - Emails, Phones & Social Links (`tidy-scrape/website-contact-scraper`) Actor

Extract emails, phone numbers and social media profiles from any list of websites. Finds contact, about and legal pages in 8 languages, decodes protected emails, returns one clean row per website.

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

## Pricing

from $5.00 / 1,000 websites

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

Give it a list of websites and get **one clean row per website** with emails, phone numbers and social media profiles. Built for lead generation: it finds the contact, about and legal-notice pages by itself, in **8 languages**, and returns validated data you can import straight into a CRM or a spreadsheet.

**$5 per 1,000 websites.** Websites that cannot be loaded are not charged.

### What it extracts

- **Emails**, with the main one picked for you (`contact@`, `info@` on the website's own domain first)
- **Phone numbers**, validated and formatted in international format
- **Social profiles**: LinkedIn, Facebook, Instagram, X (Twitter), YouTube, TikTok, Pinterest, GitHub, Threads, Telegram, WhatsApp
- **Company name**, postal **address** when published, website **language**, and the URL of the **contact page**

### Why it finds more, with less noise

- **Decodes protected emails**: Cloudflare email protection and addresses written as `name [at] company [dot] com`
- **Reads structured data** (schema.org) that many sites publish for search engines
- **Multilingual page discovery**: contact, kontakt, contacto, contatti, nous-contacter, impressum, mentions légales, über uns, chi siamo, over ons and more
- **Filters false positives**: image names such as `logo@2x.png`, placeholder addresses, `noreply@`, tracking hashes
- **Real phone numbers only**: tax ids, postcodes, dates, fax and order numbers are rejected
- Works without a browser, so it is fast and cheap

### Input

| Field | What it does |
|---|---|
| **Websites** | Paste a list, upload a file or link a Google Sheet. Use full addresses starting with `https://`. |
| **Max pages per website** | Home page plus the most promising pages. Default 5. |
| **Extract phone numbers** | On by default. |
| **Default country for phone numbers** | Optional. Detected from each website when empty. |
| **Only emails on the website's own domain** | Drops Gmail, Outlook and third-party addresses. |
| **Skip websites without any contact** | Those websites are not returned and not charged. |

Example input:

```json
{
    "startUrls": [{ "url": "https://www.example-bakery.fr" }, { "url": "https://example-agency.de" }],
    "maxPagesPerSite": 5,
    "sameDomainEmailsOnly": false
}
```

### Output

One item per website:

```json
{
    "inputUrl": "https://www.example-bakery.fr/",
    "domain": "example-bakery.fr",
    "websiteUrl": "https://www.example-bakery.fr/",
    "companyName": "Example Bakery SARL",
    "primaryEmail": "contact@example-bakery.fr",
    "emails": ["contact@example-bakery.fr", "commandes@example-bakery.fr", "jean.martin@example-bakery.fr"],
    "emailDetails": [{ "email": "contact@example-bakery.fr", "type": "generic", "foundOn": "https://www.example-bakery.fr/" }],
    "phones": ["+33142685300", "+33612345678"],
    "phoneDetails": [{ "number": "+33142685300", "formatted": "+33 1 42 68 53 00", "country": "FR", "foundOn": "https://www.example-bakery.fr/" }],
    "linkedin": "https://www.linkedin.com/company/example-bakery",
    "facebook": "https://www.facebook.com/examplebakery",
    "instagram": "https://instagram.com/example.bakery",
    "twitter": null,
    "youtube": null,
    "tiktok": null,
    "pinterest": null,
    "github": null,
    "threads": null,
    "telegram": null,
    "whatsapp": "https://wa.me/33612345678",
    "address": "12 rue de la Paix, 75002 Paris, FR",
    "contactPageUrl": "https://www.example-bakery.fr/nous-contacter",
    "language": "fr-FR",
    "pagesCrawled": 4,
    "scrapedAt": "2026-11-16T03:40:12.000Z"
}
```

Export as CSV, Excel or JSON, or read the results through the Apify API. Websites that could not be loaded are listed in the key-value store under `FAILED_SITES`, with the reason.

### Pricing

Pay per result: **$0.005 per website** ($5 per 1,000), whatever the number of pages visited. No monthly fee. Set a maximum cost per run and the Actor stops when it is reached.

### Works well with

Run a Google Maps or business-directory scraper first, then send the website column here to add emails and social profiles to each business.

### Limits

- Contact details loaded only by JavaScript after the page opens, or shown only as an image or a form, cannot be read.
- Websites that block automated visits are reported in `FAILED_SITES` and not charged. Switching the proxy to residential helps for some of them.

### Personal data

The Actor collects contact details that websites publish about themselves. Some of them, such as a named person's email, are personal data. Make sure you have a lawful reason to use them and respect the rules that apply to you (GDPR in Europe, CAN-SPAM in the United States, and local rules on cold outreach).

### Support

Found a bug or need a field? Open an issue in the **Issues** tab. Requests are usually answered within a day.

# Actor input Schema

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

Websites to extract contact details from. One row is returned per website. You can paste a list, upload a file or link a Google Sheet.

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

The home page is always visited, then the most promising pages (contact, about, legal notice, team). 5 is enough for most websites.

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

Find and validate phone numbers, returned in international format.

## `phoneCountry` (type: `string`):

Optional two-letter country code (US, GB, FR, DE...) used to read numbers written without a country prefix. Leave empty to detect it from each website.

## `sameDomainEmailsOnly` (type: `boolean`):

Keep only addresses such as name@company.com for company.com. Drops Gmail, Outlook and third-party addresses.

## `skipSitesWithoutContacts` (type: `boolean`):

Do not return (and do not charge for) websites where no email, phone or social link was found.

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

Proxy servers used to visit the websites. The default datacenter proxy works for most websites.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "maxPagesPerSite": 5,
  "includePhones": true,
  "sameDomainEmailsOnly": false,
  "skipSitesWithoutContacts": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Contact details, one item per website.

## `failedSites` (type: `string`):

Websites that failed, with the reason. Only present when some websites failed. Not charged.

# 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://apify.com"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tidy-scrape/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 = {
    "startUrls": [{ "url": "https://apify.com" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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