# Website Contact & Social Extractor (`webdatatools/contact-extractor`) Actor

Crawl any website and get one clean row per domain with every e-mail, phone number and social profile it exposes.

- **URL**: https://apify.com/webdatatools/contact-extractor.md
- **Developed by:** [Murat Uzun](https://apify.com/webdatatools) (community)
- **Categories:** Lead generation, Automation, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What is Website Contact & Social Extractor?

Website Contact & Social Extractor is an Apify Actor that crawls a list of websites and returns **one clean row per domain** with every e-mail, phone number, and social profile the site exposes. Feed it bare domains or full URLs and it aggregates contacts across the whole crawl, so 200 crawled pages still produce 200 usable leads, not 20,000 fragments. It runs on plain HTTP, no headless browser, for fast, cheap runs.

### What data does Website Contact & Social Extractor extract?

Website Contact & Social Extractor extracts every contact channel a site exposes, normalized and de-duplicated:

| Field | Type | Description |
|---|---|---|
| `domain` | string | Root domain, `www.` stripped |
| `startUrl` | string | The input URL that seeded this row |
| `title` / `description` | string | Site `<title>` and meta description |
| `emails` | array | Unique, lower-cased e-mails from `mailto:` links and page source |
| `phones` | array | Numbers from `tel:` links, normalized so formatting differences dedupe |
| `socials` | object | Profile URLs by platform: LinkedIn, X/Twitter, Instagram, Facebook, YouTube, TikTok, GitHub, Telegram, WhatsApp |
| `emailCount` / `phoneCount` | number | Quick sort keys |
| `pagesCrawled` | number | Pages actually visited |
| `scrapedAt` | string | ISO timestamp |

### How to use Website Contact & Social Extractor

1. Paste your websites into **Websites** (bare domains or full URLs).
2. Leave **Max pages per website** (30) and **Max link depth** (2) at their defaults — contact info rarely needs more.
3. Toggle **Extract e-mails / phones / socials** off as needed, attach a **Proxy** if rate-limited, click **Start**, then download results as JSON, CSV, Excel, or HTML.

### Example input

```json
{
  "startUrls": [{ "url": "https://apify.com" }],
  "maxPagesPerDomain": 30,
  "maxDepth": 2,
  "extractEmails": true,
  "extractPhones": true,
  "extractSocials": true
}
```

### Example output

```json
{
  "domain": "example.com",
  "startUrl": "https://example.com",
  "title": "Example — Industrial Coatings",
  "emails": ["info@example.com", "sales@example.com"],
  "phones": ["+902120000000"],
  "socials": { "linkedin": ["https://linkedin.com/company/example"] },
  "emailCount": 2,
  "phoneCount": 1,
  "pagesCrawled": 18,
  "scrapedAt": "2026-09-09T18:40:00.000Z"
}
```

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | apify.com | Websites to crawl, one row each |
| `maxPagesPerDomain` | integer | 30 | Page budget per website (1–1000) |
| `maxDepth` | integer | 2 | Link depth from the start URL (0–5) |
| `followSubdomains` | boolean | false | Also crawl subdomains |
| `extractEmails/Phones/Socials` | boolean | true | Toggle each channel |
| `maxConcurrency` | integer | 10 | Parallel requests (1–50) |
| `proxyConfiguration` | object | none | Optional proxy |

### Pricing

Website Contact & Social Extractor uses pay-per-event pricing: **$0.01 per website result** ($10 per 1,000), plus a negligible $0.00005 actor-start fee. Platform usage is included — no separate compute-unit billing. Set **Maximum cost per run** to cap spend; the Actor trims its own crawl list to stay within budget.

### Website Contact & Social Extractor vs. manual lookup and per-page-priced scrapers

Manual lookup means opening each site and copy-pasting details — it doesn't scale past a few dozen leads. This Actor processes an entire domain list in one run at $10 per 1,000 results. Unlike scrapers priced per page, it charges per **website**, so a 200-page crawl still costs one result.

### Using Website Contact & Social Extractor with AI agents and MCP

Website Contact & Social Extractor runs on pay-per-event pricing with limited permissions — the two requirements for an Actor to be callable through the Apify MCP server at mcp.apify.com. An agent passes `startUrls` and gets one row per domain back, and connects via n8n, Make, Zapier, or LangChain through Apify's integrations.

### FAQ

**Is this legal?** The Actor reads only public HTML. You're responsible for crawling sites you're allowed to, respecting their terms, and handling any personal data under GDPR/KVKK.

**How accurate are the e-mails?** They come from `mailto:` links and page source, filtered through a blocklist removing common false positives (image filenames, `sentry.io` keys, placeholder addresses). Some noise can still slip through on unusual markup.

**Why no phone numbers on a site I know lists one?** Phones come from `tel:` links only — scraping digits from raw text produces far more false positives than real numbers.

**How do I control cost?** Set **Maximum cost per run**; the Actor caps how many websites it processes. Lowering **Max pages per website** also cuts compute.

**Can I export as CSV or Excel?** Yes, from the Output tab and API.

### Related Actors

Part of the **webdatatools** web-intelligence suite — every Actor is pay-per-event, runs without
proxies or a headless browser, and returns one clean row per entity:

Browse the whole suite at [webdatatools](https://paulet4a-commits.github.io/webdatatools/), or call ten of
these Actors straight from Claude, Cursor or Cline with the
[webdatatools MCP server](https://github.com/paulet4a-commits/webdatatools-mcp-server).

**Website & domain intelligence**

- [Website Tech Stack Detector](https://apify.com/webdatatools/tech-stack-detector) — CMS, e-commerce, analytics, pixels and payments per domain
- [Domain DNS & Email Security Checker](https://apify.com/webdatatools/dns-email-security-checker) — SPF, DKIM, DMARC, MX provider, registrar and domain age
- [Domain Security Audit](https://apify.com/webdatatools/domain-security-audit) — TLS expiry, security headers, redirect chain, robots and llms.txt
- [Subdomain Finder (Certificate Transparency)](https://apify.com/webdatatools/subdomain-finder) — every subdomain seen in CT logs, with a live DNS check
- [Bulk Core Web Vitals & PageSpeed Audit](https://apify.com/webdatatools/core-web-vitals-audit) — Lighthouse scores, LCP, CLS, INP and top fixes per URL
- [On-Page SEO Audit](https://apify.com/webdatatools/seo-page-audit) — title, meta, headings, links, images and schema issues per page
- [Sitemap URL Extractor & Change Monitor](https://apify.com/webdatatools/sitemap-extractor) — every sitemap URL, or new and removed pages between runs
- [Wayback Machine Snapshot & Page Change Tracker](https://apify.com/webdatatools/wayback-page-diff) — how a page changed over time, or every archived snapshot

**Content for AI, LLMs and RAG**

- [AI Web Search & Read](https://apify.com/webdatatools/ai-web-search) — a query turned into clean Markdown from the top search results
- [Website to Markdown Crawler for LLM & RAG](https://apify.com/webdatatools/website-to-markdown) — any site as clean Markdown per page, no browser
- [Article & News Extractor](https://apify.com/webdatatools/article-extractor) — clean article text, author, date and Markdown per URL
- [Structured Data & JSON-LD Extractor](https://apify.com/webdatatools/structured-data-extractor) — Schema.org and Open Graph data from any page
- [Google News Scraper](https://apify.com/webdatatools/google-news-scraper) — news results by keyword, topic or site
- [Press Release Monitor](https://apify.com/webdatatools/press-release-monitor) — PR Newswire, Business Wire and GlobeNewswire releases

**Search, video and social**

- [Google Search Results Scraper](https://apify.com/webdatatools/google-search-scraper) — organic SERP results per keyword and country
- [YouTube Comments Scraper](https://apify.com/webdatatools/youtube-comments-scraper) — comments and replies with likes, no API key
- [YouTube Channel Latest Videos](https://apify.com/webdatatools/youtube-channel-videos) — the latest 15 videos of any channel from RSS
- [YouTube Channel Videos Scraper](https://apify.com/webdatatools/youtube-channel-scraper) — a channel's full video, shorts and stream list
- [YouTube Search Results Scraper](https://apify.com/webdatatools/youtube-search-scraper) — videos, channels and playlists per query
- [YouTube Video Details Scraper](https://apify.com/webdatatools/youtube-video-details) — views, likes, description, tags and chapters per video
- [Apple Podcasts Lookup & Episodes Scraper](https://apify.com/webdatatools/podcast-lookup) — podcast metadata and episodes from iTunes and RSS
- [Bluesky Scraper](https://apify.com/webdatatools/bluesky-scraper) — posts, profiles, followers and threads from the AT Protocol API

**Leads, jobs and company data**

- [Company 360](https://apify.com/webdatatools/company-360) — one row per domain: contacts, tech, security, hiring and company facts
- [Hiring Signals Scraper](https://apify.com/webdatatools/hiring-signals) — open jobs and hiring velocity from 10 public ATS boards
- [Y Combinator Companies & Founders Scraper](https://apify.com/webdatatools/yc-companies-scraper) — YC startups by batch, industry and hiring status
- [Wikidata Entity & Company Enrichment](https://apify.com/webdatatools/wikidata-entity-enrichment) — HQ, founders, employees, revenue and social IDs per company
- [Bulk Email Validator](https://apify.com/webdatatools/email-validator) — syntax, MX, disposable, role and free-provider checks
- [OpenStreetMap POI Extractor](https://apify.com/webdatatools/overpass-poi-extractor) — shops and amenities by radius, bbox or area

**Developer, app and research data**

- [npm, PyPI & Crates.io Package Health Checker](https://apify.com/webdatatools/package-health-checker) — releases, downloads, deprecation and a health score
- [GitHub Repository Health & Activity Report](https://apify.com/webdatatools/github-repo-health) — stars, commits, contributors and risk flags per repo
- [VS Code Marketplace Extension Scraper](https://apify.com/webdatatools/vscode-marketplace-extensions) — installs, ratings and versions per extension
- [Chrome Web Store Extension Scraper](https://apify.com/webdatatools/chrome-web-store-extensions) — users, rating, version and developer per extension
- [Google Play Store Scraper](https://apify.com/webdatatools/google-play-scraper) — apps, ratings, installs, developer contact and reviews
- [App Store (iOS) App Metadata & Top Charts](https://apify.com/webdatatools/app-store-lookup) — ratings, price, version and charts per app
- [CrossRef DOI & Citation Metadata Lookup](https://apify.com/webdatatools/crossref-doi-lookup) — papers, authors, journals and citation counts
- [FDA Recalls & Adverse Events Monitor](https://apify.com/webdatatools/openfda-recall-monitor) — food, drug and device recalls from openFDA
- [iCal / ICS Calendar Feed to Events Extractor](https://apify.com/webdatatools/ical-calendar-extractor) — any public calendar feed as event rows
- [Shopify Store Products Scraper](https://apify.com/webdatatools/shopify-products-scraper) — catalog, prices, variants and stock per store

### Support and feedback

Found a bug or want a feature? Open an issue on the **Issues** tab.

# Actor input Schema

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

Enter the websites to crawl, one row is returned per website. Use bare domains or full URLs, e.g. example.com or https://example.com.

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

Enter how many pages to crawl per website before stopping, e.g. 30. Contact details usually live on the home, about and contact pages, so 20-50 is plenty.

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

Enter how many links deep to follow from the start URL, e.g. 2. Set 0 to crawl only the start page.

## `followSubdomains` (type: `boolean`):

Turn this on to also crawl subdomains such as blog.example.com and shop.example.com, not just the main hostname.

## `extractEmails` (type: `boolean`):

Turn this on to collect e-mail addresses from mailto: links and page source, filtered through a false-positive blocklist, e.g. info@example.com.

## `extractPhones` (type: `boolean`):

Turn this on to collect phone numbers from tel: links only, e.g. +902120000000, which avoids the false positives you get from scraping raw text.

## `extractSocials` (type: `boolean`):

Turn this on to collect social profile links, e.g. https://linkedin.com/company/example, covering LinkedIn, X/Twitter, Instagram, Facebook, YouTube, TikTok, GitHub, Telegram and WhatsApp.

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

Enter the maximum number of parallel requests, e.g. 10. Lower it if a target site rate-limits you.

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

Optional. Select a proxy configuration, e.g. Apify Proxy with the datacenter group, which is enough for most sites and keeps the run cheap.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "maxPagesPerDomain": 30,
  "maxDepth": 2,
  "followSubdomains": false,
  "extractEmails": true,
  "extractPhones": true,
  "extractSocials": true,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All extracted contact rows — download as JSON, CSV, Excel or HTML.

# 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"
        }
    ],
    "maxPagesPerDomain": 30,
    "maxDepth": 2,
    "maxConcurrency": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdatatools/contact-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 = {
    "startUrls": [{ "url": "https://apify.com" }],
    "maxPagesPerDomain": 30,
    "maxDepth": 2,
    "maxConcurrency": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("webdatatools/contact-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 '{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "maxPagesPerDomain": 30,
  "maxDepth": 2,
  "maxConcurrency": 10
}' |
apify call webdatatools/contact-extractor --silent --output-dataset

```

## MCP server setup

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