# Contact Details Scraper — Emails, Phones & Social Profiles (`innolabs/contact-details-scraper`) Actor

Contact details scraper and API: emails, phone numbers and social profiles (LinkedIn, X, Facebook, Instagram, YouTube, TikTok) from any website's homepage, contact and about pages.

- **URL**: https://apify.com/innolabs/contact-details-scraper.md
- **Developed by:** [Tristan Leroux](https://apify.com/innolabs) (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 $1.80 / 1,000 website with contacts

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 — Emails, Phones & Social Profiles

Turn a list of websites into a contact list: for every domain you get the email addresses,
phone numbers and social media profiles (LinkedIn, X/Twitter, Facebook, Instagram, YouTube,
TikTok, Pinterest, GitHub, Telegram, WhatsApp) found on its homepage and its contact,
imprint, about and team pages — merged into **one clean row per website**. No login, no API
key. Export as JSON, CSV or Excel, or use it as a contact details API.

### What does Contact Details Scraper do?

Add websites such as **https://www.hetzner.com** or bare domains such as **mailerlite.com**,
and the scraper:

1. loads the homepage and picks the pages most likely to list contacts — *Contact*,
   *Kontakt*, *Impressum / Imprint / Legal notice*, *About us*, *Team* (in English, German,
   French, Spanish, Italian, Dutch and Portuguese);
2. reads every email address (`mailto:` links, visible text, `info [at] acme [dot] com`
   spellings, Cloudflare-protected addresses, structured data), every phone number
   (`tel:` links, structured data, formatted numbers in the text) and every social profile
   link;
3. cleans and merges them into one row per domain:
   - **Emails** — lowercased, deduplicated, the site's own domain first; image file names,
     placeholders (`name@example.com`) and error-tracker keys are dropped.
   - **Phones** — validated and normalised to international E.164 format (`+4998315050`),
     using the country of the domain (`.de` → Germany) or your default country.
   - **Social profiles** — one canonical link per account, sorted into `linkedIn`,
     `twitter`, `facebook`, `instagram`, `youtube`, `tiktok`, `pinterest`, `github`,
     `telegram` and `whatsapp`; share buttons, posts and videos are ignored.
   - **Company** — company name, page title, description, language, postal address (when
     the site publishes it as structured data), the contact page URL and every page read.

Websites where nothing is found are skipped and cost nothing (unless you ask for them).

### Use cases

- **Lead generation** — enrich a list of company websites from a trade fair, a directory or
  your CRM with emails, phone numbers and LinkedIn pages.
- **Sales prospecting** — find the general, sales and press addresses and the switchboard
  number before you call or write.
- **Agency outreach** — collect the social accounts of hundreds of brands to plan influencer
  or partnership campaigns.
- **CRM data hygiene** — refresh outdated contact data and fill missing social links for the
  accounts you already have.
- **Market research** — map which companies in a niche are active on which social networks.
- **Automations and AI agents** — look up a company's contacts on demand from Make, Zapier,
  n8n or an MCP-connected assistant.

### How much does it cost?

You pay per website that returned contact details (pay-per-event). Websites with no email,
phone or social profile, unreachable websites and duplicates are not charged.

| Event | What you pay for | Free plan | Paid plans (from) |
| --- | --- | --- | --- |
| `domain` | One website with its merged emails, phones and social profiles (up to 5 pages read) | $1.80 per 1,000 | $1.80 per 1,000 |

The price is the same on every plan. Apify also charges a tiny actor-start fee per run.

Worked examples:

1. **Quick check** — the prefilled input (3 websites) returns 3 rows:
   3 × $1.80 / 1,000 = **$0.0054**.
2. **Lead list** — 5,000 company websites, 4,300 of them with contact details:
   4,300 × $1.80 / 1,000 = **$7.74**. The 700 websites without contacts cost nothing.

Apify Free plan includes $5 monthly credit, enough for about 2,700 websites every month.

### How to use Contact Details Scraper

1. Open the actor in Apify Console and click **Try for free**.
2. In **Websites**, paste your websites or domains, one per line (`acme.com`,
   `https://www.acme.de/`). Email addresses work too — their domain is crawled.
3. Optionally change **Max pages per domain** (default 5: homepage + 4 contact-type pages)
   and **Default phone country** (for local numbers on .com/.io/... sites).
4. Click **Start**. A website takes 1–3 seconds; 1,000 websites take a few minutes.
5. Open the **Output** tab (Contacts and Social profiles views) and export as JSON, CSV,
   Excel or HTML.

Through the API:

1. Get your API token in Apify Console → Settings → Integrations.
2. Call the actor with your input JSON (see [Integrations and API](#integrations-and-api)).
3. Read the dataset items from the run.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `startUrls` | array | – | Websites or bare domains. One result row per domain; repeated domains are merged. |
| `maxPagesPerDomain` | integer | `5` | Pages read per website (1–20): the homepage plus the best contact, imprint, about and team pages linked from it. |
| `defaultPhoneCountry` | string | `US` | Country for local phone numbers on generic domains (.com, .io, ...). Country domains use their own country. |
| `includeEmptyDomains` | boolean | `false` | Also return (and pay for) websites where nothing was found. |
| `maxItems` | integer | `1000` | Maximum number of websites (rows) to return. |
| `proxyConfiguration` | object | Apify Proxy | Proxy settings. The default datacenter proxy works for most websites. |
| `debug` | boolean | `false` | Log retries and pages that failed to load. |

Example — a lead list:

```json
{
    "startUrls": ["https://www.hetzner.com", "mailerlite.com", "wpengine.com", "www.lidl.de"],
    "maxPagesPerDomain": 5
}
```

Example — UK websites with deeper crawling, also listing websites without contacts:

```json
{
    "startUrls": ["https://monzo.com", "https://www.patagonia.com"],
    "maxPagesPerDomain": 10,
    "defaultPhoneCountry": "GB",
    "includeEmptyDomains": true
}
```

### Output

One row per website. Real row from a run on 2026-11-21:

```json
{
    "domain": "mailerlite.com",
    "url": "https://www.mailerlite.com/",
    "inputUrl": "https://www.mailerlite.com/",
    "companyName": "MailerLite",
    "title": "Create Email Marketing Your Audience Will Love - MailerLite",
    "description": "Digital marketing tools to grow your audience faster and drive revenue smarter. Backed by 24/7 award-winning support. Check it out now!",
    "language": "en",
    "emails": ["info@mailerlite.com"],
    "primaryEmail": "info@mailerlite.com",
    "emailCount": 1,
    "phones": [],
    "primaryPhone": null,
    "phoneCount": 0,
    "phoneRegion": "US",
    "linkedIn": ["https://www.linkedin.com/company/mailerlite-international"],
    "twitter": ["https://x.com/mailerlite"],
    "facebook": ["https://www.facebook.com/profile.php?id=61557135009171"],
    "instagram": ["https://www.instagram.com/mailerliteofficial"],
    "youtube": ["https://www.youtube.com/channel/UCRWH1lQlbnqCrrYTfacklIQ"],
    "tiktok": [],
    "pinterest": [],
    "github": [],
    "telegram": [],
    "whatsapp": [],
    "socialProfileCount": 5,
    "address": null,
    "contactPageUrl": "https://www.mailerlite.com/contact-us",
    "emailSourceUrl": "https://www.mailerlite.com/",
    "pagesCrawled": 5,
    "crawledUrls": [
        "https://www.mailerlite.com/",
        "https://www.mailerlite.com/contact-us",
        "https://www.mailerlite.com/contact-sales",
        "https://www.mailerlite.com/about",
        "https://www.mailerlite.com/company-values"
    ],
    "scrapedAt": "2026-11-21T11:03:27Z"
}
```

From the same run, hetzner.com returned 5 emails (`info@hetzner.com`, `tco@hetzner.com`, ...)
and 6 phone numbers (`+4998315050`, `+358753259100`, ...) from its support and legal-notice
pages; wpengine.com returned `+18779736446` and `+15126238484`.

Field notes:

- `domain` — the website's domain without `www.`; the stable key of the row.
- `emails` / `phones` — all addresses and numbers found, deduplicated (up to 50 emails and
  30 phones); `primaryEmail` / `primaryPhone` are the first ones (own-domain emails and
  `tel:` links rank first).
- `phones` — E.164 format (`+` country code, digits only); `phoneRegion` is the country used
  for numbers written without a country code.
- `linkedIn` ... `whatsapp` — lists of canonical profile URLs (up to 5 per network).
- `contactPageUrl` — the contact page (or imprint page) that was read; `emailSourceUrl` —
  the page where `primaryEmail` was found.
- `crawledUrls` — every page read for this row; `pagesCrawled` is their count.
- `scrapedAt` — ISO 8601 time of the run (UTC).

### Integrations and API

Run the actor and get the rows back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/innolabs~contact-details-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.hetzner.com", "mailerlite.com"]}'
```

Python with [apify-client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("innolabs/contact-details-scraper").call(run_input={
    "startUrls": ["https://www.hetzner.com", "mailerlite.com", "wpengine.com"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item["primaryEmail"], item["primaryPhone"], item["linkedIn"])
```

- **Make, Zapier, n8n** — use the Apify app or node to enrich new CRM records or spreadsheet
  rows with emails, phones and social links.
- **Google Sheets, HubSpot, Airtable** — export the dataset or push it through an
  integration after every run.
- **Webhooks** — trigger your pipeline when a run finishes.
- **AI agents (MCP)** — connect Claude, Cursor or other MCP clients through the Apify MCP
  server at https://mcp.apify.com and let your agent look up company contacts on demand.

### FAQ

#### Which pages does the scraper read?

The homepage, then up to 4 more pages linked from it, best first: contact pages, imprint /
legal-notice pages (where European companies must publish an email and phone number),
about-us pages, then team, locations, support and press pages. It stays on the website's own
domain and its subdomains. If the homepage links to none of these, it tries `/contact`,
`/about` and `/impressum`. Raise **Max pages per domain** to read more.

#### Do I pay for websites without contacts?

No. A website where no email, phone or social profile was found is listed in the run's
`SUMMARY` (`domainsWithoutContacts`) and not charged. Turn on **Include websites without
contacts** if you want a row (and pay) for them too. Unreachable websites are never charged.

#### How accurate are the emails and phone numbers?

Everything comes from the website itself; nothing is guessed. Emails are syntax-checked and
cleaned of placeholders and image names; phone numbers are validated against the numbering
plan of their country. The scraper does not check whether a mailbox exists.

#### Can it find personal emails of employees?

Only if the website publishes them (for example on a team page). It does not guess
addresses like `firstname.lastname@` or look people up in other databases.

#### Does it work on JavaScript-heavy websites?

It reads the HTML the website sends, including structured data and embedded page data, so
most modern sites work (WordPress, Shopify, Next.js, Webflow, Wix, ...). Contacts that only
appear after a click or are drawn by JavaScript widgets are not visible to it.

#### Do I need a proxy?

No setup needed. The default Apify Proxy works for most websites, and failed pages are
retried on a new IP. If a large share of your websites block the run, switch to residential
proxies in **Proxy configuration**.

#### Is it legal to scrape contact details?

The scraper collects information that companies publish on their own public websites.
Business contact details can still be personal data (for example a named employee's email),
so make sure your use complies with the data-protection and anti-spam laws that apply to
you (GDPR, CAN-SPAM, ...).

### Limits

- Reads up to 20 pages per website (default 5); it is not a full-site crawler.
- No JavaScript rendering: contacts that only appear in browser-rendered widgets or behind
  forms are not found.
- Emails are not verified by SMTP; no employee or decision-maker lookup beyond what the
  website publishes.
- Social profiles are returned as links; follower counts and profile details are not
  scraped.
- Websites that block automated visitors (strict bot protection) may return no data.

# Changelog

This Actor's version history is a separate document: https://apify.com/innolabs/contact-details-scraper/changelog.md

# Actor input Schema

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

Company websites or bare domains, one per line (e.g. <code>https://www.acme.com</code> or <code>acme.com</code>). Each domain becomes one result row with every email, phone and social profile found on its homepage and its contact, imprint, about and team pages.

## `maxPagesPerDomain` (type: `integer`):

Pages loaded per website: the homepage plus the best contact, imprint, about and team pages linked from it. More pages find more contacts but take longer.

## `defaultPhoneCountry` (type: `string`):

Two-letter country code used to read local phone numbers (without +country code) on sites with generic domains such as .com or .io. Country domains (.de, .co.uk, .fr, ...) always use their own country.

## `includeEmptyDomains` (type: `boolean`):

Also return (and pay for) a row for websites where no email, phone or social profile was found. Off by default: you only pay for websites with contact details.

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

Maximum number of websites (result rows) to return. The run stops cleanly when reached.

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

Apify Proxy (datacenter) works for most websites. Switch to residential proxies only if many sites block the run.

## `debug` (type: `boolean`):

Verbose logs (retries, failed subpages).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.hetzner.com",
    "https://www.mailerlite.com",
    "https://wpengine.com"
  ],
  "maxPagesPerDomain": 5,
  "defaultPhoneCountry": "US",
  "includeEmptyDomains": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per website: emails, phones, social profiles, company name and crawled pages.

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

SUMMARY record: websites stored, without contacts, failed, and charged events.

# 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": [
        "https://www.hetzner.com",
        "https://www.mailerlite.com",
        "https://wpengine.com"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("innolabs/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 = {
    "startUrls": [
        "https://www.hetzner.com",
        "https://www.mailerlite.com",
        "https://wpengine.com",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("innolabs/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 '{
  "startUrls": [
    "https://www.hetzner.com",
    "https://www.mailerlite.com",
    "https://wpengine.com"
  ],
  "maxItems": 20
}' |
apify call innolabs/contact-details-scraper --silent --output-dataset

```

## MCP server setup

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