# Contact Details Scraper: Website Emails, Phones & Social (`techliondev/website-contact-scraper`) Actor

Website email scraper and contact details scraper: emails, phone numbers and social links (LinkedIn, Facebook, Instagram, X, YouTube, TikTok) on any website. One row per site. No login.

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

## Pricing

from $0.33 / 1,000 page reads

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

### ⭐ What is Contact Details Scraper?

**Contact Details Scraper** finds **emails, phone numbers and social media profiles on any website** and gives you **one clean row per website**: best email, all emails, phone numbers, street address, and links to LinkedIn, Facebook, Instagram, X (Twitter), YouTube, TikTok, Pinterest, Threads, GitHub, Discord, Telegram, WhatsApp, Yelp and more. Paste a list of company websites and press **Start**.

It is for sales teams, marketing agencies, recruiters, lead-generation freelancers and AI (artificial intelligence) agents that already have a list of companies and need their contact details.

The Actor reads each website's home page first, then the pages most likely to list contact details (Contact, About, Team, Impressum and similar). It uses plain web requests, with no browser and no proxy, so it is **fast and cheap**: 3 websites, 15 pages, about 3 seconds.

- **Turn a list of domains into a lead list** with emails, phones and social links.
- **Enrich a directory export** (for example a BBB, Google Maps or trade association list) with emails and social profiles.
- **Find a company's LinkedIn, Instagram or YouTube** without searching by hand.
- **Check which websites have no contact email** before you start outreach.
- **Export** to Excel, CSV (comma-separated values), JSON (JavaScript Object Notation) or your CRM (customer relationship management) tool.

#### What data does it extract?

| | |
| --- | --- |
| 📧 Best email and every email found | 🏠 Street address from the site's structured data |
| ☎️ Phone numbers from click-to-call links and structured data | 📝 Other phone-like numbers in the page text (kept separate) |
| 💼 LinkedIn company page | 📘 Facebook page |
| 📸 Instagram, 🐦 X (Twitter), ▶️ YouTube, 🎵 TikTok | 📌 Pinterest, Threads, GitHub, Discord, Telegram, WhatsApp, Yelp, Snapchat, Reddit |
| 🏢 Company name and page title | 📬 Contact page address and the page where each email was found |
| 📄 Pages read and links discovered | ⚠️ Status and error for websites that could not be opened |

#### Why this scraper?

- **Up to 4 times cheaper than the most-used contact scraper:** $0.50 per 1,000 pages read, compared with $2.00 per 1,000 pages. Pages that fail to load are never charged.
- **One row per website,** not one row per page, so the output is a ready-to-use lead list.
- **Smart page choice:** Contact, About, Team and Impressum pages are read first, so 3 to 5 pages are enough for most small business websites.
- **Decodes hidden emails:** emails protected by Cloudflare's email protection and simple "name \[at] domain \[dot] com" forms are decoded.
- **Separates reliable and uncertain phones:** click-to-call links and structured data go in **phones**; numbers spotted in the text go in **phonesUncertain**.
- **Free filters:** only websites with an email, only websites with any contact detail, only emails on the website's own domain.
- **Accepts messy input:** full links, any page on the site, bare domains, or even email addresses (the domain is used).

### ⬇️ Input

The only required field is **Websites**: one per line.

Example input:

```json
{
    "websites": [
        "https://www.hansenbros.com",
        "calixtoplumbing.com",
        "https://basecamp.com/about"
    ],
    "maxPagesPerWebsite": 5,
    "includeSubdomains": true,
    "findPhonesInText": true,
    "onlyWithEmail": false,
    "emailDomainMustMatch": false
}
```

| Setting | What it does |
| --- | --- |
| **Websites** | Home pages, any page on a site, bare domains, or email addresses. Duplicates are removed. |
| **Maximum pages per website ($)** | Pages read per website, home page first, then Contact, About, Team and similar. Default 5. Each page read is charged. |
| **Also read subdomains** | Follow links to other subdomains of the same company (on by default). |
| **Also find phone numbers in the page text** | Adds numbers written in the text to phonesUncertain (on by default). |
| **Only save websites where an email was found** | Free filter. |
| **Only save websites with any contact detail** | Free filter: an email, a phone or a main social profile. |
| **Only emails on the website's own domain** | Drops outside addresses such as agency, plugin or personal emails. |

### ⬆️ Output

One row per website. Real sample from a default run:

| Website | Name | Email | Phone | Facebook | Pages |
| --- | --- | --- | --- | --- | --- |
| basecamp.com | Basecamp | jason@basecamp.com |  |  | 5 |
| hansenbros.com | Hansen Bros. Moving & Stora… |  | +18883007222 | https://www.facebook.com/hansenbrosmovi… | 5 |
| calixtoplumbing.com | Calixto Plumbing | calixtoplumbingatx@gmail.com | (512) 945-3143 |  | 5 |

One full row as JSON:

```json
{
    "input": "https://www.calixtoplumbing.com",
    "domain": "calixtoplumbing.com",
    "websiteUrl": "https://www.calixtoplumbing.com",
    "siteName": "Calixto Plumbing",
    "pageTitle": "Calixto Plumbing",
    "email": "calixtoplumbingatx@gmail.com",
    "emails": [
        "calixtoplumbingatx@gmail.com"
    ],
    "emailCount": 1,
    "phone": "(512) 945-3143",
    "phones": [
        "(512) 945-3143"
    ],
    "phonesUncertain": [],
    "address": null,
    "linkedIn": null,
    "facebook": null,
    "instagram": null,
    "twitter": null,
    "youtube": null,
    "tiktok": null,
    "linkedInUrls": [],
    "facebookUrls": [],
    "instagramUrls": [],
    "twitterUrls": [],
    "youtubeUrls": [],
    "tiktokUrls": [],
    "pinterestUrls": [],
    "threadsUrls": [],
    "githubUrls": [],
    "discordUrls": [],
    "telegramUrls": [],
    "whatsappUrls": [],
    "yelpUrls": [],
    "snapchatUrls": [],
    "redditUrls": [],
    "contactPageUrl": "https://www.calixtoplumbing.com/contact",
    "emailSources": {
        "calixtoplumbingatx@gmail.com": "https://www.calixtoplumbing.com/"
    },
    "pagesCrawled": 5,
    "pagesFound": 8,
    "status": "ok",
    "error": null,
    "scrapedAt": "2026-11-19T20:47:38.393Z"
}
```

The dataset has three views: **Overview**, **Social profiles** (every social link found) and **Phones and address**. A **RUN_SUMMARY** record in the key-value store lists pages read, emails found and any error for each website.

### ▶️ How to use Contact Details Scraper

1. Click **Try for free** and sign in to Apify (a free plan is enough to start).
2. Paste your websites into **Websites**, one per line, or import a list.
3. Optional: change **Maximum pages per website** (3 to 5 is usually enough) or turn on a filter.
4. Click **Start**. When the run finishes, open the **Output** tab and download Excel, CSV or JSON.

### 💰 How much does it cost?

This Actor uses pay-per-event pricing:

| Event | Price on the free plan |
| --- | --- |
| Actor start | $0.00005 per run |
| Page read | $0.0005 per page ($0.50 per 1,000 pages) |

Paid Apify plans get lower prices automatically (down to $0.0002 per page on the highest plan). Saving rows and all filters are free. A page that fails to load is not charged.

**Worked examples**

- Default run (3 websites, 5 pages each): 15 × $0.0005 + $0.00005 = **less than one cent**.
- 1,000 websites with 5 pages each (5,000 pages): **$2.50**. The most-used contact scraper charges $2.00 per 1,000 pages, which is $10.00 for the same job.
- 1,000 websites with 3 pages each: **$1.50**.

Small websites often have fewer pages than your limit; you pay only for pages actually read. You can also set a **maximum cost per run** in the run options; the Actor stops cleanly when it is reached.

### 💡 Use cases

- **Cold outreach lists:** add emails and social profiles to a list of companies from a directory, a trade show or a spreadsheet.
- **Agency prospecting:** find local businesses with no email on their site, or no Instagram, and pitch the fix.
- **Recruiting and partnerships:** find the general contact email and LinkedIn page of each company.
- **Data cleaning:** check which company websites are down or redirect to another domain.
- **AI agents:** give an agent a list of domains and get structured contact details back.

### 🔗 Integrations

Send results to Google Sheets, HubSpot, Airtable, Slack, Zapier, Make or any webhook with Apify integrations. Chain it after a directory scraper (for example a BBB or business listing scraper) so new businesses are enriched automatically. AI agents can call it through the Apify connector for AI assistants: the inputs and output columns are fully described.

### 💻 Use it from code (API)

Replace `YOUR_APIFY_TOKEN` with the API token from the **Settings > API & Integrations** page in Apify Console.

**Python** (install with `pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("techliondev/website-contact-scraper").call(run_input={
    "websites": ["hansenbros.com", "calixtoplumbing.com"],
    "maxPagesPerWebsite": 4,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item["email"], item["phone"], item["linkedIn"])
```

**JavaScript / Node.js** (install with `npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('techliondev/website-contact-scraper').call({
    websites: ['hansenbros.com', 'calixtoplumbing.com'],
    maxPagesPerWebsite: 4,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Any language (HTTP):** send a POST request with the input as JSON to the `run-sync-get-dataset-items` endpoint for `techliondev~website-contact-scraper` and you get one row per website back in the response.

### ❓ FAQ

#### How do I find the email address of a company from its website?

Paste the website into **Websites** and run the Actor. It reads the home page and the Contact, About and Team pages and returns every email it finds, with the email on the company's own domain first.

#### Why did it find no email for some websites?

Many websites show only a contact form, or put the email inside an image. The Actor cannot read those. You still get phones, social links and the contact page address, and the row shows how many pages were read.

#### Does it work on websites built with JavaScript?

It reads the page as the server sends it. Most business websites (WordPress, Wix, Squarespace, Shopify, Webflow) include contact details in that page. Sites that build everything with JavaScript after loading may return fewer results.

#### What is the difference between phones and phonesUncertain?

**phones** come from click-to-call links and the site's structured data, so they are almost always the business's own numbers. **phonesUncertain** are numbers that only appear in the page text; most are real, but some can be fax numbers or unrelated numbers.

#### Why was a website marked as error?

The website did not answer, blocked automated visits, or the address was not a website. The error column explains which. Websites that fail are not charged.

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

The Actor reads only public pages that any visitor can see. Emails and phone numbers can still be personal data, so you are responsible for how you use them: follow privacy laws such as the GDPR (General Data Protection Regulation) and CAN-SPAM, and the website's terms. If you are unsure, ask a lawyer.

#### I found a problem or want a feature

Open the **Issues** tab on this page and describe what you need. Issues are answered quickly.

# Actor input Schema

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

One website per line. A home page (https://acme.com), any page on the site, a bare domain (acme.com) or even an email address (the domain is used). Duplicates are removed.

## `maxPagesPerWebsite` (type: `integer`):

How many pages to read on each website, starting with the home page and then Contact, About, Team and similar pages. Each page read is one charged page event. 3 to 5 pages finds the contact details on most small business websites.

## `includeSubdomains` (type: `boolean`):

Follow links to other subdomains of the same company, for example shop.acme.com or support.acme.com.

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

Besides click-to-call links and structured data (which are reliable), look for phone numbers written in the page text. These are saved separately in phonesUncertain because some may be fax numbers or other numbers.

## `onlyWithEmail` (type: `boolean`):

Skip websites where no email address was found. Websites that could not be opened are still listed so you can see what failed.

## `onlyWithContact` (type: `boolean`):

Skip websites with no email, no phone and no main social profile.

## `emailDomainMustMatch` (type: `boolean`):

Keep only emails that use the website's domain (info@acme.com for acme.com) and drop outside addresses such as agency or plugin emails. Gmail and other personal addresses are dropped too.

## Actor input object example

```json
{
  "websites": [
    "https://www.hansenbros.com",
    "https://www.calixtoplumbing.com",
    "https://basecamp.com"
  ],
  "maxPagesPerWebsite": 5,
  "includeSubdomains": true,
  "findPhonesInText": true,
  "onlyWithEmail": false,
  "onlyWithContact": false,
  "emailDomainMustMatch": false
}
```

# Actor output Schema

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

Dataset with one row per website

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

Pages read and emails found per website, plus any errors

# 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": [
        "https://www.hansenbros.com",
        "https://www.calixtoplumbing.com",
        "https://basecamp.com"
    ],
    "maxPagesPerWebsite": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("techliondev/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 = {
    "websites": [
        "https://www.hansenbros.com",
        "https://www.calixtoplumbing.com",
        "https://basecamp.com",
    ],
    "maxPagesPerWebsite": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("techliondev/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 '{
  "websites": [
    "https://www.hansenbros.com",
    "https://www.calixtoplumbing.com",
    "https://basecamp.com"
  ],
  "maxPagesPerWebsite": 5
}' |
apify call techliondev/website-contact-scraper --silent --output-dataset

```

## MCP server setup

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