# Contact Details Extractor — Emails, Phones, WhatsApp & Socials (`adorable_partial/contact-details-extractor`) Actor

Get the emails, phones, WhatsApp numbers and social profiles (Instagram, Facebook, LinkedIn, X, YouTube, TikTok) companies publish on their websites. Bulk lead enrichment from a list of domains; contact pages found automatically, phones in international format.

- **URL**: https://apify.com/adorable_partial/contact-details-extractor.md
- **Developed by:** [Leandro Zanatta](https://apify.com/adorable_partial) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 websites read

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

Turn a list of **websites or domains** into **leads**: for each company you get the **emails**, **phone numbers**, **WhatsApp numbers** and **social profiles** (Instagram, Facebook, LinkedIn, X, YouTube, TikTok, Pinterest, Telegram, Threads) published on its site, plus the **company name, address and contact page**. One row per website, ready for a spreadsheet or CRM.

No browser, no login, no API key. Fast and cheap: hundreds of websites per minute.

### Why use it

- 🎯 **Looks where contacts are**: reads the home page, then the **contact, about, imprint and team pages** it finds (in English, Portuguese, Spanish, German, French, Italian and Dutch). If the site hides its links behind JavaScript, it tries the usual contact addresses directly.
- 📧 **Real emails, not junk**: decodes **Cloudflare-protected** emails and "name \[at] domain \[dot] com" tricks, and drops placeholders (`you@example.com`), image names (`logo@2x.png`) and tracking IDs.
- 📞 **Phones in international format** (`+5541999998888`, `+14155550123`), validated per country, from click-to-call links, structured data and page text.
- 💬 **WhatsApp numbers** from `wa.me` and WhatsApp click-to-chat buttons, which matter more than email in Brazil, Latin America, India and much of Europe.
- 🔗 **Clean social profiles**: share buttons, tracking pixels and post links are ignored; you get the company's own profile URLs.
- 🏢 **Company details** from schema.org data: name, address and description.
- 💸 **Pay per website**: websites that cannot be reached are **free**.

### Who uses it

| Who | What for |
|---|---|
| **Sales & SDR teams** | Enrich lists of company domains with emails, phones and WhatsApp before outreach |
| **Agencies & freelancers** | Build prospect lists by niche and city (combine with a Google Maps list) |
| **Marketing teams** | Find the Instagram, LinkedIn and YouTube of partners, competitors or influencers' companies |
| **Recruiters** | Reach companies through their HR or careers addresses |
| **Data & CRM teams** | Fill missing contact fields, check that listed phones and emails still appear on the site |
| **Researchers** | Map organisations of a sector and their public channels |

### Input

| Field | Default | Description |
|---|---|---|
| **Websites or domains** (`websites`) | — | `acme.com`, `https://www.acme.com.br`… one per line |
| **Max pages per website** (`maxPagesPerSite`) | `5` | Home page + the most likely contact pages |
| **Country for phone numbers** (`defaultCountry`) | from the domain | Reads numbers written without a country code |
| **Find phone numbers in page text** (`findPhonesInText`) | `true` | Off = only click-to-call links and structured data |
| **Websites in parallel** (`maxConcurrency`) | `10` | |
| **Proxy** (`proxyConfiguration`) | none | Only if many sites answer HTTP 403 |

```json
{
  "websites": ["acme.com", "https://www.example.com.br", "shop.example.de"],
  "maxPagesPerSite": 5,
  "defaultCountry": "US"
}
```

### Output

One row per website:

```json
{
  "url": "www.pucpr.br",
  "domain": "pucpr.br",
  "companyName": "PUCPR",
  "emails": ["alumni@pucpr.br", "odonto@pucpr.br", "estagios@pucpr.br"],
  "phones": ["+554132711515", "+554333726000"],
  "whatsapp": ["+554132711555", "+5541991893385"],
  "instagram": "https://www.instagram.com/pucproficial",
  "facebook": "https://www.facebook.com/pucproficial",
  "linkedin": "https://www.linkedin.com/school/pontificia-universidade-catolica-do-parana",
  "twitter": "https://x.com/PUCPRoficial",
  "youtube": "https://www.youtube.com/user/canalpucpr",
  "tiktok": "https://www.tiktok.com/@pucproficial_",
  "socialProfiles": ["https://x.com/PUCPRoficial", "https://www.facebook.com/pucproficial", "…"],
  "address": null,
  "description": "Estude na PUCPR, a Melhor Universidade Privada do Paraná…",
  "contactPageUrl": "https://www.pucpr.br/contatos/contatos-campus-curitiba/",
  "pagesVisited": 5,
  "finalUrl": "https://www.pucpr.br"
}
```

*Shortened real output for a public university website.*

Websites that cannot be read get an `error` in plain words (domain does not exist, blocked, timed out…) and are not charged.

### Pricing

Pay per **website read** (all its pages included), plus a tiny start fee. No subscription. Apify plan discounts apply automatically (see the **Pricing** tab). Use the run's *maximum cost* to cap spending: the Actor stops when it is reached.

### Use it from code or an AI agent

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("adorable_partial/contact-details-extractor").call(run_input={
    "websites": ["acme.com", "example.org"],
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["domain"], row.get("emails"), row.get("whatsapp"))
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('adorable_partial/contact-details-extractor').call({ websites: ['acme.com'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**No-code and agents:** enrich new rows of a Google Sheet with **Make**, **Zapier** or **n8n**, push results to your CRM, or let an AI agent look up a company's contacts through the **Apify MCP server**.

### FAQ

**Where does the data come from?** Only from the public pages of each website you list: what the company itself publishes for people to contact it.

**Why did a site return no contacts?** Some sites show their contacts only after running JavaScript, inside images, or behind a form. The row still tells you which pages were read (`pagesVisited`, `contactPageUrl`).

**Why are some phones missing on .com sites?** Numbers written without a country code can only be read when the country is known. Set **Country for phone numbers**.

**Is it legal to use these contacts?** The data is public, but how you use it is up to you: follow the anti-spam and data-protection rules that apply to you (GDPR, LGPD, CAN-SPAM…), for example by contacting businesses about relevant offers and honouring opt-outs.

### Related Actors

- [Website Screenshot](https://apify.com/adorable_partial/website-screenshot): capture the home page of every lead
- [Google Ads Transparency Scraper](https://apify.com/adorable_partial/google-ads-transparency-scraper): find out which of your leads advertise on Google
- [PII Masker](https://apify.com/adorable_partial/pii-masker): redact emails and phone numbers from texts before sharing them

### Need a different tool? Request it

Missing a feature, an input or output format, or a whole different tool for your workflow? **Open an issue in the Issues tab** and describe what you need:

- what goes in (files, URLs, data) and what should come out,
- roughly how much you process (per day or month),
- one example, if you can share it.

Requests with a real use case get built, either as a new option in this Actor or as a new Actor in [this collection](https://apify.com/adorable_partial), and you get notified in the issue when it's live. Every request is read.

# Actor input Schema

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

Company websites or bare domains (acme.com, https://www.acme.com.br). One per line; duplicates are removed. Each website is one row in the results.

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

The home page plus the pages most likely to hold contacts (contact, about, imprint, team…). 5 finds most details; raise it for large sites.

## `defaultCountry` (type: `string`):

2-letter country code (US, BR, GB, DE…) used to read phone numbers written without country code. Leave empty to use the website's country domain (.br → BR, .de → DE…); on .com sites without it, only phones written with a + country code or in tel: links are kept.

## `findPhonesInText` (type: `boolean`):

Also read phone numbers written in the page text, not only click-to-call links and structured data. Turn off for fewer, surer numbers.

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

How many websites are read at the same time.

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

Not needed for most websites. Use Apify Proxy if many sites block the requests (HTTP 403).

## Actor input object example

```json
{
  "websites": [
    "python.org",
    "apify.com",
    "www.pucpr.br"
  ],
  "maxPagesPerSite": 5,
  "findPhonesInText": true,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per website: emails, phones, WhatsApp, social profiles, address and contact page.

# 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": [
        "python.org",
        "apify.com",
        "www.pucpr.br"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("adorable_partial/contact-details-extractor").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": [
        "python.org",
        "apify.com",
        "www.pucpr.br",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("adorable_partial/contact-details-extractor").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": [
    "python.org",
    "apify.com",
    "www.pucpr.br"
  ]
}' |
apify call adorable_partial/contact-details-extractor --silent --output-dataset

```

## MCP server setup

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

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/c20nNogfrfMlJRUFu/builds/5XoLcS1COpD12CN5Y/openapi.json
