# Contact Details Scraper: Email, Phone & Social Finder (`mastertools/contact-details-scraper`) Actor

Find emails, phone numbers and social profiles on any list of company websites. One clean row per site with the best email first — ready for lead generation, CRM and AI agents.

- **URL**: https://apify.com/mastertools/contact-details-scraper.md
- **Developed by:** [Master Tools](https://apify.com/mastertools) (community)
- **Categories:** Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 website with email or phones

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Contact Details Scraper: Email, Phone & Social Finder

**Turn a list of company websites into a ready-to-use lead list: emails, phone numbers and social profiles — one clean row per company.**

Contact Details Scraper is an email extractor, email finder and phone number scraper for B2B lead generation. Paste domains, links or a whole spreadsheet column and press Start. It reads every website the way a researcher would — homepage, contact page, Impressum / legal notice, about and team pages — and hands back the best email, the main phone number and every official social profile, de-duplicated and ready for your CRM, Google Sheets or AI agent.

### What you get

- **The right email first** — `primaryEmail` picks the company's own shared inbox (info@, hello@, sales@) ahead of personal and back-office addresses; every other address is in `emails`.
- **Clean data, zero junk** — image file names, tracking keys, placeholders like your@email.com and no-reply addresses are filtered out. Addresses of agencies and partners wait separately in `otherEmails`.
- **Phone numbers you can dial** — every number is checked against its country's numbering plan and delivered in international E.164 format (`+14155552671`), the main line first. Fax lines, VAT and bank numbers stay out.
- **All social profiles in one row** — LinkedIn, Facebook, Instagram, X, YouTube, TikTok, Pinterest, GitHub, Telegram, WhatsApp and Threads, taken from the company's own website. Share buttons and single posts are skipped.
- **Finds contacts where they live** — contact, Impressum, about, team and location pages in 20+ languages, `mailto:` and `tel:` links, footers and schema.org data, plus the postal address and the contact page link.
- **One row per website, in your order** — no page-by-page duplicates; the dataset follows your list, so it merges straight back into your spreadsheet.
- **Every row explains itself** — a clear `status` for each site: contacts found, social profiles only, or a short note on what the site showed.
- **Fast and light** — plain HTTP, no browser: a batch of websites in seconds.

### How to use

1. Paste your websites into **Websites** — domains (`acme.com`), links or work emails (`jane@acme.com`). A whole column from Google Sheets or Excel works: one per line or comma-separated.
2. Press **Start**. The example list runs as is and returns results in seconds.
3. Download the contacts as Excel, CSV or JSON, send them to Google Sheets, or pull them through the API.

### Input

| Field | What it does | Default |
|---|---|---|
| `urls` — Websites | Domains, links or work emails of the companies. `https://`, `www.`, duplicates and empty lines are handled; your order is kept. | 8 example websites |
| `maxPagesPerSite` — Pages per website | How many pages of each website to read: the homepage plus the best contact, legal notice, about, team and location pages. | 5 (up to 20) |

```json
{
  "urls": ["poilane.com", "https://www.zingermans.com/", "rosepartner.de"],
  "maxPagesPerSite": 5
}
```

### Output

One row per website. A real result for `poilane.com`:

```json
{
  "input": "poilane.com",
  "domain": "poilane.com",
  "status": "ok",
  "companyName": "Poilâne",
  "primaryEmail": "poilane@poilane.com",
  "primaryPhone": "+33144392650",
  "emails": ["poilane@poilane.com"],
  "phones": ["+33144392650", "+33140093000", "+33324445030", "+33521496059"],
  "otherEmails": [],
  "linkedin": "https://www.linkedin.com/company/s.a-poilane",
  "facebook": "https://www.facebook.com/painpoilane",
  "instagram": "https://www.instagram.com/poilane",
  "x": null,
  "youtube": null,
  "tiktok": "https://www.tiktok.com/@poilane",
  "pinterest": null,
  "github": null,
  "telegram": null,
  "whatsapp": null,
  "threads": null,
  "contactPageUrl": "https://www.poilane.com/pages/contact",
  "address": "8 rue du Cherche-Midi, 75006 Paris, FR",
  "url": "https://www.poilane.com/",
  "pagesScanned": 4,
  "error": null,
  "scrapedAt": "2026-11-09T16:50:59.406Z"
}
```

| `status` | Meaning |
|---|---|
| `ok` | At least one email or phone number found |
| `social_only` | Social profiles found, no email or phone on the pages read |
| `no_contacts` | The pages read show no contacts |
| `blocked` | The website shows a bot check to automated visitors |
| `unreachable` | The website does not open (no DNS record, timeout, server error) |
| `invalid_input` | The line is not a website address |

The table view in Apify Console has three tabs: **Contacts**, **Social profiles** and **All details**.

### Use it with AI agents

Add Contact Details Scraper as a tool to Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server (`https://mcp.apify.com`). Two simple inputs and a flat, predictable answer make it easy for an agent to call: *"Find the contact email and phone number for these 20 companies"* — and the agent gets one row per company in seconds.

### Integrations

- **Google Sheets, HubSpot, Salesforce, Pipedrive, Airtable** — through Make, Zapier or n8n, or with the Apify integrations for Google Sheets and webhooks.
- **Apify API** — run it and get the rows back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/mastertools~contact-details-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["poilane.com", "zingermans.com"]}'
```

- **Schedules** — re-check your lead list every week and keep your sheet fresh.

### FAQ

**Which pages does it read?** The homepage first, then the most promising pages from the site's own links: contact, Impressum / legal notice, about, team, locations, support and privacy — in English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Russian, Turkish, Japanese and more.

**Which websites count as results?** Websites where at least one email address or phone number was found (status `ok`). All other rows come with a status and a short note, so nothing in your list is silently skipped.

**Can I paste a Google Maps export or a CRM list?** Yes — paste the website column (or a column of work emails) as it is. `https://`, `www.`, trailing slashes, duplicates and empty lines are all handled.

**Does it collect LinkedIn, Facebook or Instagram profiles?** It gives you the official profile links each company publishes on its own website — the perfect input for any social media or enrichment tool.

**Which emails go to `emails` and which to `otherEmails`?** `emails` holds the company's own addresses — its domain, the same brand on another domain (like `.com` and `.de`) and free mailboxes such as Gmail that small businesses often use. `otherEmails` holds addresses of other companies found on the site: agencies, partners, a parent group.

**How fresh is the data?** Every run reads the websites live.

### Need data at scale?

Daily enrichment for millions of companies, a pipeline straight into your CRM or data warehouse, or a scraper for a site that is not in the Store — we build it for you. Open an issue on this page and tell us what you need.

# Actor input Schema

## `urls` (type: `array`):

Company websites to scan — domains (acme.com), links (https://acme.com/contact) or even work emails (jane@acme.com). Paste a whole column from a spreadsheet: one site per line, commas work too. Duplicates are merged and the order of your list is kept.

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

How many pages of each website to read: the homepage plus the most promising ones — contact, legal notice (Impressum), about, team, locations. 5 finds the contacts on most sites; raise it for big corporate sites.

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "wikimediafoundation.org",
    "zingermans.com",
    "allbirds.com",
    "rosepartner.de",
    "poilane.com",
    "caffeflorian.com",
    "lockhatters.co.uk"
  ],
  "maxPagesPerSite": 5
}
```

# Actor output Schema

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

All rows of this run in the default dataset.

# 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 = {
    "urls": [
        "apify.com",
        "wikimediafoundation.org",
        "zingermans.com",
        "allbirds.com",
        "rosepartner.de",
        "poilane.com",
        "caffeflorian.com",
        "lockhatters.co.uk"
    ],
    "maxPagesPerSite": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/contact-details-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 = {
    "urls": [
        "apify.com",
        "wikimediafoundation.org",
        "zingermans.com",
        "allbirds.com",
        "rosepartner.de",
        "poilane.com",
        "caffeflorian.com",
        "lockhatters.co.uk",
    ],
    "maxPagesPerSite": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("mastertools/contact-details-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 '{
  "urls": [
    "apify.com",
    "wikimediafoundation.org",
    "zingermans.com",
    "allbirds.com",
    "rosepartner.de",
    "poilane.com",
    "caffeflorian.com",
    "lockhatters.co.uk"
  ],
  "maxPagesPerSite": 5
}' |
apify call mastertools/contact-details-scraper --silent --output-dataset

```

## MCP server setup

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