# Contact Info Scraper: Emails, Phones & Socials (`api_creators/contact-info-scraper`) Actor

Extract emails, phone numbers and social media profiles (LinkedIn, Facebook, Instagram, X, YouTube, TikTok, WhatsApp and more) from any list of websites. Finds contact, about and imprint pages first. Fast, no browser.

- **URL**: https://apify.com/api_creators/contact-info-scraper.md
- **Developed by:** [API Creators](https://apify.com/api_creators) (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 $0.80 / 1,000 page scrapeds

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 Info Scraper: Emails, Phones & Socials

Contact Info Scraper visits any list of websites and extracts **email addresses, phone numbers and social media profiles**: LinkedIn, Facebook, Instagram, X (Twitter), YouTube, TikTok, Pinterest, Discord, Snapchat, Threads, Telegram, Reddit and WhatsApp. You get **one clean record per website**, ready for lead generation, CRM enrichment and outreach.

It opens **contact, about, imprint and team pages first**, so it finds contacts within a few pages instead of crawling the whole site. It's a fast HTTP scraper with no browser, so thousands of websites cost only a few dollars.

### What can Contact Info Scraper do?

- 📧 **Emails**, including addresses hidden by Cloudflare email protection and "name \[at] domain \[dot] com" spelling. Image file names, placeholders and tracking addresses are filtered out.
- 📞 **Phone numbers** from click-to-call links, formatted in international E.164 format (`+12067067800`). Numbers that only appear in page text are validated for the website's country and listed separately as `phonesUncertain`.
- 🌐 **13 social networks**, with share buttons, template links and platform pages filtered out.
- 🎯 **Smart page order.** Contact, about, impressum/imprint, team and support pages first, in English, German, French, Spanish, Italian and Portuguese.
- 🧩 **One record per website** (or one per page, if you prefer), plus the URLs of the pages where contacts were found.
- 🖼️ **Embedded frames** such as contact widgets are read too.
- 🚫 **Free error records** for websites that don't exist or can't be reached, so every input row gets an answer.
- 🛡️ **Built-in proxies.** Datacenter IPs first, residential IPs only for websites that block them.

### What data does it extract?

| Field | Description |
|---|---|
| `domain`, `url`, `originalStartUrl` | The website and the start URL you gave |
| `emails` | Email addresses |
| `phones` | Phone numbers from click-to-call links (E.164) |
| `phonesUncertain` | Valid phone numbers found in page text |
| `linkedIns`, `facebooks`, `instagrams`, `twitters`, `youtubes`, `tiktoks` | Social media profile URLs |
| `pinterests`, `discords`, `snapchats`, `threads`, `telegrams`, `reddits`, `whatsapps` | More profile, group and chat links |
| `contactPageUrls` | Pages where emails or phone numbers were found |
| `pagesScraped` | How many pages of the website were read |
| `error`, `errorDescription` | Only on error records: `domain_not_found`, `blocked`, `not_found` or `failed` |

### How do I get contact details from a list of websites?

1. Paste websites into **Start URLs**: full URLs or bare domains like `example.com`. For big lists, upload a text file or link one.
2. Keep **Maximum pages per website** at 20, or lower it to 5–10 to save money (contact pages are opened first).
3. Click **Start** and download the results as CSV, Excel or JSON, or send them to your CRM, Google Sheets or Zapier.

#### Input example

```json
{
    "startUrls": [
        { "url": "https://sunsethillvet.com/" },
        { "url": "example-dental-clinic.com" }
    ],
    "maxRequestsPerStartUrl": 20,
    "maxDepth": 2,
    "sameDomain": true,
    "mergeContacts": true
}
```

#### Output example

Real result:

```json
{
    "url": "https://sunsethillvet.com/",
    "domain": "sunsethillvet.com",
    "depth": 0,
    "originalStartUrl": "https://sunsethillvet.com/",
    "referrerUrl": null,
    "emails": ["info@sunsethillvet.com"],
    "phones": ["+12067067800", "+12067067803"],
    "phonesUncertain": [],
    "linkedIns": [],
    "twitters": ["https://twitter.com/SunsetHillVet"],
    "instagrams": [],
    "facebooks": ["https://www.facebook.com/Sunset-Hill-Veterinary-Rehabilitation-Center-121142487938466"],
    "youtubes": [],
    "tiktoks": [],
    "pinterests": [],
    "discords": [],
    "snapchats": [],
    "threads": [],
    "telegrams": [],
    "reddits": [],
    "whatsapps": [],
    "contactPageUrls": ["https://sunsethillvet.com/contact/", "https://sunsethillvet.com/meet-our-team/"],
    "pagesScraped": 19
}
```

### How much does it cost?

You pay per page read. Error records and websites that can't be reached are free.

| Plan | Price per 1,000 pages |
|---|---|
| Free | $1.20 |
| Bronze | $1.00 |
| Silver | $0.90 |
| Gold, Platinum, Diamond | $0.80 |

With the default 20 pages per website, 1,000 websites cost **$16–24**. With 5 pages per website (usually enough, because contact pages come first), the same list costs **$4–6**.

### How do I use it from code?

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("api_creators/contact-info-scraper").call(run_input={
    "startUrls": [{"url": "https://sunsethillvet.com/"}, {"url": "basecamp.com"}],
    "maxRequestsPerStartUrl": 10,
})
for site in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(site["domain"], site.get("emails"), site.get("phones"))
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('api_creators/contact-info-scraper').call({
    startUrls: [{ url: 'https://sunsethillvet.com/' }],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### What can I use it for?

- **Lead generation:** turn a list of company websites (from Google Maps, directories or trade show lists) into emails and phone numbers.
- **CRM enrichment:** add missing phones and social profiles to accounts.
- **Influencer and partner research:** find a brand's Instagram, TikTok, YouTube and LinkedIn pages.
- **Agency prospecting:** collect contacts of local businesses by niche and city.
- **Data cleaning:** check which websites in a list no longer exist (`domain_not_found`).

### FAQ

**Why are some websites missing emails?**
Many businesses show only a contact form. The scraper can't fill in forms; it reports the phones and social profiles it finds instead.

**Does it render JavaScript?**
No. It reads the HTML the server sends, which contains the contacts on nearly all business websites. Contacts that are inserted by JavaScript after the page loads aren't seen.

**What happens with websites that block scrapers?**
The scraper retries through residential IPs. Websites behind CAPTCHAs or JavaScript challenges get a free `blocked` record: it never solves CAPTCHAs.

**Does it find personal emails of employees (lead enrichment)?**
No. It only reports what the website itself publishes. It doesn't buy data from third-party enrichment databases or verify emails.

**Is it legal to scrape contact details?**
The scraper only reads public pages, but contact details can be personal data. Make sure you have a lawful basis (e.g. legitimate interest under GDPR) and follow anti-spam rules like CAN-SPAM when you use them.

Need a feature or found a problem? Open an issue on the **Issues** tab.

# Actor input Schema

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

Websites to scrape for contacts: full URLs or bare domains like `example.com`. You can also upload a text file or link a URL list with thousands of websites.

## `maxRequestsPerStartUrl` (type: `integer`):

The most pages to open on each website. Contact, about, imprint and team pages are opened first, so even a small number usually finds the contacts.

## `maxDepth` (type: `integer`):

How many links away from the start URL to go. 0 reads only the start URL; 1 adds the pages it links to.

## `maxRequests` (type: `integer`):

A cap on pages across all websites, to limit the cost of a run.

## `sameDomain` (type: `boolean`):

Follow only links on the website's own domain and subdomains.

## `mergeContacts` (type: `boolean`):

Save one record per website with all contacts found on its pages. Turn off to save one record per page.

## `considerChildFrames` (type: `boolean`):

Also read up to 3 embedded frames per page (e.g. contact widgets). Video, map, payment and social embeds are skipped.

## `proxyConfig` (type: `object`):

Leave on "No proxy" to use the built-in proxies: fast datacenter IPs first, residential IPs only for websites that block them. Choose Apify Proxy or your own proxy URLs to use those instead.

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

How many pages to load at once. At most 4 run at once on any single website.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "maxRequestsPerStartUrl": 20,
  "maxDepth": 2,
  "maxRequests": 9999999,
  "sameDomain": true,
  "mergeContacts": true,
  "considerChildFrames": true,
  "proxyConfig": {
    "useApifyProxy": false
  },
  "maxConcurrency": 20
}
```

# Actor output Schema

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

No description

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

No description

# 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"
        }
    ],
    "proxyConfig": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("api_creators/contact-info-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" }],
    "proxyConfig": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("api_creators/contact-info-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"
    }
  ],
  "proxyConfig": {
    "useApifyProxy": false
  }
}' |
apify call api_creators/contact-info-scraper --silent --output-dataset

```

## MCP server setup

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