# Website Contact Extractor: Emails, Phones & Socials (`padmaraj1994/website-contact-extractor`) Actor

Extract emails, phone numbers and social profiles (LinkedIn, X, Facebook, Instagram, YouTube and more) from any list of websites. Decodes protected emails, reads schema.org data, and you pay only for websites where contacts are found.

- **URL**: https://apify.com/padmaraj1994/website-contact-extractor.md
- **Developed by:** [Padmaraj Bhosale](https://apify.com/padmaraj1994) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Website Contact Extractor: Emails, Phones & Socials

Turn a list of websites into contact data. For each website, the Actor reads the homepage plus the pages most likely to list contact details (contact, about, team, imprint, support) and returns **emails, phone numbers and social profiles**. You **pay only for websites where it finds at least one contact**; empty and unreachable websites are free.

### Why use this contact extractor?

- **Pay only for results.** Websites without contacts, and websites that can't be loaded, cost nothing.
- **Finds hidden emails.** Decodes Cloudflare-protected addresses, HTML-encoded and JavaScript-escaped emails, and "name \[at] domain \[dot] com" spellings, and reads schema.org data that many scrapers skip.
- **Clean social profiles**: LinkedIn, X (Twitter), Facebook, Instagram, YouTube, TikTok, GitHub, Pinterest, Threads, Telegram, WhatsApp and Discord. Share buttons and other people's profiles (contributors, partners) are filtered out, so you get the company's own accounts.
- **Ranked phone numbers.** Click-to-call links and structured data come first, numbers are normalized to international format, and duplicates are merged.
- **Fast and light.** No browser: about a dozen websites in 10 seconds.
- **Built for bulk.** Paste thousands of domains, or upload a CSV or text file.

### What data does it extract?

| Field | Description |
| --- | --- |
| `domain` | Website domain, e.g. `python.org` |
| `emails` | All emails found, the website's own domain first |
| `emailsOnDomain` | Only emails on the website's own domain (usually the best leads) |
| `phones` | Phone numbers, international format when the country code is known |
| `socials` | Profiles per network: `linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `tiktok`, `github`, `pinterest`, `threads`, `telegram`, `whatsapp`, `discord` |
| `title`, `description` | Homepage title and meta description |
| `hasContacts` | `true` if anything was found (these are the websites you pay for) |
| `pagesCrawled` | Pages the Actor read |
| `finalUrl`, `error` | Where the homepage redirected to, and why a website failed |

Download the results as JSON, CSV, Excel or HTML, or get them through the API.

### How to use it

1. Click **Try for free**.
2. Paste your websites (domains or URLs), one per line, or upload a file in **Or upload a list**.
3. Optionally raise **Max pages per website** (default 5) to dig deeper. You still pay per website, not per page.
4. Click **Start** and download the results.

#### Input example

```json
{
    "websites": ["apify.com", "python.org", "https://www.example-shop.com"],
    "maxPagesPerSite": 5
}
```

#### Output example

```json
{
    "url": "https://python.org/",
    "domain": "python.org",
    "finalUrl": "https://www.python.org/",
    "title": "Welcome to Python.org",
    "description": "The official home of the Python Programming Language",
    "emails": ["python-announce@python.org", "psf@python.org", "webmaster@python.org"],
    "emailsOnDomain": ["python-announce@python.org", "psf@python.org", "webmaster@python.org"],
    "phones": [],
    "socials": {
        "linkedin": ["https://www.linkedin.com/company/python-software-foundation"],
        "twitter": ["https://x.com/thepsf"],
        "github": ["https://github.com/python"],
        "facebook": [], "instagram": [], "youtube": [], "tiktok": [], "pinterest": [],
        "threads": [], "telegram": [], "whatsapp": [], "discord": []
    },
    "hasContacts": true,
    "pagesCrawled": ["https://www.python.org/", "https://www.python.org/about/help/", "https://www.python.org/about/"],
    "error": null,
    "scrapedAt": "2026-11-07T08:13:13.781Z"
}
```

### How much does it cost?

You pay a fixed price per website **with contacts found**, shown on the **Pricing** tab. Websites with no contacts and websites that fail to load are free. Set a **maximum cost per run** in the run options and the Actor stops cleanly when it reaches it.

### Tips

- **Find leads first, then enrich.** Combine it with a Google Maps or Google Search scraper: export their website column and paste it here.
- **Want only company emails?** Use `emailsOnDomain`, which skips personal Gmail-style addresses and third-party domains.
- **Some websites fail?** A few sites block automated visitors. Turn on Apify Proxy in **Advanced**.

### Limitations

- Contacts that appear only after JavaScript runs (some single-page apps and contact widgets) can be missed, because the Actor doesn't run a browser.
- Phone numbers written without a country code are only picked up from click-to-call links and US/Canada formats, to avoid mistaking prices, dates and IDs for phone numbers.

### Is it legal to extract contact details?

The Actor reads only publicly accessible pages. Contact details can still be personal data (for example an employee's email address), so you are responsible for using them lawfully, including GDPR, CAN-SPAM and the websites' terms. Don't use the data for spam.

### Need help?

Open an issue on the **Issues** tab with the website that didn't work, and it will be looked at quickly.

# Actor input Schema

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

Domains or URLs, one per line, e.g. apify.com or https://www.example.com. Paste thousands at once if you like.

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

Optional: add URLs here, or upload or link a text/CSV file of websites. Merged with the list above.

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

The homepage plus the most promising contact, about, team, imprint and support pages. More pages find more contacts but take longer. Cost doesn't change: you pay per website with contacts, not per page.

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

How many websites to process at the same time.

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

Usually not needed. Turn on Apify Proxy if many websites block the requests.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "https://www.python.org"
  ],
  "maxPagesPerSite": 5,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `contacts` (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 = {
    "websites": [
        "apify.com",
        "python.org"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("padmaraj1994/website-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 = {
    "websites": [
        "apify.com",
        "python.org",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("padmaraj1994/website-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 '{
  "websites": [
    "apify.com",
    "python.org"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call padmaraj1994/website-contact-extractor --silent --output-dataset

```

## MCP server setup

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