# Email Extractor — Emails, Phones & Social Links from Websites (`pro100chok/extract-emails`) Actor

Extract email addresses, phone numbers, and social media links from any website. Bulk processing up to 100 domains in parallel. Smart crawling prioritizes contact pages. Handles obfuscated emails. Perfect for lead generation, sales
prospecting, and B2B outreach.

- **URL**: https://apify.com/pro100chok/extract-emails.md
- **Developed by:** [Raven](https://apify.com/pro100chok) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Extract Emails, Phone Numbers & Social Links from Any Website

Powerful Apify Actor for lead generation and contact discovery. Provide a list of websites or domains and get back structured contact data: **email addresses**, **phone numbers**, and **social media profiles** (Facebook, Twitter/X, LinkedIn, Instagram, YouTube, TikTok, GitHub).

---

### Why use this Actor?

- **Bulk extraction** — process up to 100 domains in a single run, all crawled in parallel
- **Smart crawling** — automatically prioritizes contact, about, impressum, and team pages so you get results faster with fewer pages scanned
- **Handles obfuscated emails** — decodes `[at]`, `(at)`, HTML entities (`&#64;`), and other common anti-scraping tricks
- **Clean, filtered results** — automatically removes junk emails (noreply, test, example), filters out non-useful domains (social media, search engines, CDNs, analytics), and deduplicates everything
- **Reliable** — automatic retry with exponential backoff (5 attempts) for failed requests. Proxy rotation on errors when proxy is enabled
- **Lightweight & fast** — uses raw HTTP requests with browser-like TLS fingerprints (curl_cffi). No headless browser overhead, so it runs faster and costs less
- **Flexible input** — accepts URLs in any format: `example.com`, `www.example.com`, `https://example.com/page`, or just a bare domain
- **Configurable** — control crawl depth, pages per domain, concurrency, and proxy settings

---

### Use cases

- **Lead generation** — build contact lists from prospect websites
- **Sales prospecting** — find decision-maker emails and company phone numbers at scale
- **Market research** — collect contact info and social media presence across competitors
- **Data enrichment** — enrich your CRM or database with missing contact details
- **Outreach campaigns** — gather verified emails for cold email or partnership outreach

---

### Input

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `startUrls` | array | *required* | List of websites to extract contacts from (max 100). Accepts any format: full URLs, domains, with or without www/protocol |
| `maxDepth` | integer | `2` | Crawl depth from the start page. `0` = start page only |
| `maxPagesPerDomain` | integer | `10` | Maximum number of pages to crawl per domain |
| `concurrency` | integer | `10` | How many domains to process in parallel (1-20) |
| `useProxy` | boolean | `false` | Whether to use a proxy |
| `proxyConfiguration` | object | Apify Proxy | Proxy settings (only applies when `useProxy` is enabled) |

#### Input example

```json
{
    "startUrls": [
        { "url": "https://example.com" },
        { "url": "another-site.org" },
        { "url": "www.company.ch" }
    ],
    "maxDepth": 2,
    "maxPagesPerDomain": 50,
    "concurrency": 10,
    "useProxy": false
}
````

***

### Output

Each item in the dataset represents one domain with all contacts found across its pages:

```json
{
    "url": "https://example.com",
    "domain": "example.com",
    "emails": ["info@example.com", "sales@example.com"],
    "phones": ["+41 44 123 45 67"],
    "socialLinks": {
        "facebook": "https://facebook.com/example",
        "twitter": "https://x.com/example",
        "linkedin": "https://linkedin.com/company/example",
        "instagram": null,
        "youtube": null,
        "tiktok": null,
        "github": null
    },
    "pagesScanned": 12,
    "scrapedAt": "2026-04-07T12:00:00.000Z"
}
```

#### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `url` | string | The start URL that was crawled |
| `domain` | string | Domain name |
| `emails` | array | List of unique email addresses found |
| `phones` | array | List of unique phone numbers found |
| `socialLinks` | object | Social media profile URLs (null if not found) |
| `pagesScanned` | integer | Number of pages actually crawled on this domain |
| `scrapedAt` | string | ISO 8601 timestamp of when the crawl finished |

***

### How it works

1. **Normalizes input** — accepts URLs in any format and converts them to proper URLs
2. **Filters junk domains** — skips social media, search engines, CDNs, and other non-useful sites
3. **Crawls with priority** — starts with the homepage, then immediately targets contact/about/impressum pages before crawling the rest
4. **Extracts contacts** from every page:
   - **Emails** — regex + `mailto:` links + deobfuscation of `[at]`, `(at)`, HTML entities
   - **Phones** — regex + `tel:` links, international formats with `+` prefix
   - **Social links** — detects profile URLs for 7 major platforms, filters out share/intent links
5. **Deduplicates and filters** — removes junk, normalizes, and returns clean results
6. **Pushes results** — one structured record per domain to the Apify dataset

***

### Tips for best results

- Set `maxDepth: 0` if you only need contacts from landing pages (fastest mode)
- Increase `maxPagesPerDomain` for large corporate sites with deep navigation
- Enable proxy (`useProxy: true`) if you're getting blocked or rate-limited
- The Actor automatically prioritizes pages with "contact", "about", "impressum", "team", "support" in the URL path

***

### Support

Questions, bug reports, or feature requests: **afrcanec@gmail.com**

***

### Tags

`email-extractor` `contact-scraper` `lead-generation` `email-scraping` `phone-extractor` `social-media-links` `web-scraping` `b2b-leads` `sales-prospecting` `data-enrichment` `bulk-email-finder` `website-crawler` `apify-actor` `contact-discovery` `outreach` `email-finder` `email-harvester` `email-collector` `contact-information` `company-emails` `business-contacts` `lead-finder` `prospect-emails` `email-lookup` `domain-email-search` `bulk-contact-scraper` `website-email-extractor` `scrape-emails` `find-emails` `extract-contacts` `phone-number-scraper` `social-media-scraper` `linkedin-extractor` `facebook-extractor` `cold-email` `email-outreach` `crm-enrichment` `data-scraping` `contact-mining` `b2b-data` `sales-automation` `growth-hacking` `marketing-automation` `web-crawler` `site-scraper` `email-discovery` `business-email-finder` `company-contact-scraper`

# Actor input Schema

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

List of websites to extract contacts from (max 100). Accepts any format: full URLs, domains, with or without www/protocol.

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

Crawl depth from the start page. 0 = start page only.

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

Maximum number of pages to crawl per domain.

## `concurrency` (type: `integer`):

How many domains to process in parallel.

## `useProxy` (type: `boolean`):

Whether to use a proxy. Disabled by default.

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

Proxy settings (only works when Use proxy is enabled).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://example.com"
    }
  ],
  "maxDepth": 2,
  "maxPagesPerDomain": 10,
  "concurrency": 10,
  "useProxy": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

One record per domain with all found contacts.

# 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://example.com"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pro100chok/extract-emails").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://example.com" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("pro100chok/extract-emails").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://example.com"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call pro100chok/extract-emails --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=pro100chok/extract-emails",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Email Extractor — Emails, Phones & Social Links from Websites",
        "description": "Extract email addresses, phone numbers, and social media links from any website. Bulk processing up to 100 domains in parallel. Smart crawling prioritizes contact pages. Handles obfuscated emails. Perfect for lead generation, sales\n  prospecting, and B2B outreach.",
        "version": "0.1",
        "x-build-id": "3NfuPvfgfXS8saJnV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/pro100chok~extract-emails/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-pro100chok-extract-emails",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/pro100chok~extract-emails/runs": {
            "post": {
                "operationId": "runs-sync-pro100chok-extract-emails",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/pro100chok~extract-emails/run-sync": {
            "post": {
                "operationId": "run-sync-pro100chok-extract-emails",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "maxItems": 100,
                        "type": "array",
                        "description": "List of websites to extract contacts from (max 100). Accepts any format: full URLs, domains, with or without www/protocol.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxDepth": {
                        "title": "Max crawl depth",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Crawl depth from the start page. 0 = start page only.",
                        "default": 2
                    },
                    "maxPagesPerDomain": {
                        "title": "Max pages per domain",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of pages to crawl per domain.",
                        "default": 10
                    },
                    "concurrency": {
                        "title": "Parallel domains",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "How many domains to process in parallel.",
                        "default": 10
                    },
                    "useProxy": {
                        "title": "Use proxy",
                        "type": "boolean",
                        "description": "Whether to use a proxy. Disabled by default.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings (only works when Use proxy is enabled)."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
