# Website Email Scraper & Contact Extractor (`siddharth_r/website-contact-scraper`) Actor

Website email scraper and contact extractor for any list of websites. Get email addresses, phone numbers and social media links (Facebook, Instagram, LinkedIn, X, YouTube, TikTok) from homepages and contact pages. $0.50 per 1,000 websites, priced per website, not per page.

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

## Pricing

from $0.35 / 1,000 website checkeds

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

**Website Email Scraper & Contact Extractor** turns a list of websites into a contact list. Paste domains and get each site's **emails, phone numbers and social profiles**, including those on its contact and about pages. You pay **per website, not per page**. Try it with a few company domains.

You may know this kind of tool as a contact details scraper, an email extractor or a social media link finder.

### Website email scraper use cases

- Turning a CRM export or trade-show list into contactable leads
- Enriching leads from another scraper with emails and social profiles
- Finding the right social pages for a list of companies
- Checking which prospects have weak websites, with the optional audit

### Website email scraper quick start

**No code:** press **Start**. The form is pre-filled with a working example, and you can download the results as Excel, CSV or JSON.

**From your code:** copy your API token from **Settings > API & Integrations** in Apify Console, then run:

```bash
curl -X POST "https://api.apify.com/v2/acts/siddharth_r~website-contact-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"websites": ["apify.com", "python.org"]}'
```

```python
import requests

rows = requests.post(
    "https://api.apify.com/v2/acts/siddharth_r~website-contact-scraper/run-sync-get-dataset-items",
    params={"token": "YOUR_API_TOKEN"},
    json={
        "websites": [
            "apify.com",
            "python.org"
        ]
    },
    timeout=300,
).json()

for row in rows:
    print(row.get("domain"), row.get("email"), row.get("phone"))
```

The call waits for the run to finish and returns the rows as JSON. It can wait up to 5 minutes, so for bigger runs use the **API** tab to start a run and fetch the results later.

### Example response

This is real output, shortened. Long text and lists are trimmed here, and empty fields are hidden.

```json
[
  {
    "website": "https://apify.com/",
    "domain": "apify.com",
    "email": "support@apify.com",
    "emails": [
      "support@apify.com",
      "hello@apify.com"
    ],
    "linkedin": "https://www.linkedin.com/company/apify",
    "x": "https://x.com/apify",
    "tiktok": "https://www.tiktok.com/@apifytech",
    "contactPageUrl": "https://apify.com/contact",
    "websiteStatus": "ok",
    "statusCode": 200,
    "websiteTitle": "Apify: Marketplace of ready-to-run tools for AI",
    "https": true,
    "mobileFriendly": true,
    "loadSeconds": 0.1,
    "hasAnalytics": true,
    "hasMetaPixel": false
  }
]
```

### What you get, one row per website

```json
{
  "input": "acme-roofing.example",
  "domain": "acme-roofing.example",
  "email": "office@acme-roofing.example",
  "emails": ["office@acme-roofing.example", "quotes@acme-roofing.example"],
  "phone": "+15125550199",
  "facebook": "https://www.facebook.com/acmeroofing",
  "instagram": "https://www.instagram.com/acmeroofing",
  "linkedin": "https://www.linkedin.com/company/acme-roofing",
  "contactPageUrl": "https://acme-roofing.example/contact",
  "websiteStatus": "ok",
  "mobileFriendly": false,
  "https": true,
  "platform": "Wix",
  "opportunities": ["Not mobile-friendly", "No online booking", "No analytics installed"]
}
```

- **Emails** come from `mailto:` links and page text, with image file names, tracking addresses and placeholders such as `you@example.com` removed.
- **Phones** come from click-to-call (`tel:`) links, so they're the numbers the business itself publishes.
- **Social profiles**: Facebook, Instagram, LinkedIn, X (Twitter), YouTube and TikTok. Share buttons are ignored.
- **Website audit** (on by default): whether the site is mobile-friendly, uses HTTPS, what it's built on, how fast it loads, whether it has analytics or Meta or Google ads tracking, and a plain-language list of problems. Agencies use it to pick who to pitch and what to say.
- **Websites that are down** still get a row, with `websiteStatus` showing what happened, so your list stays complete.

### How to use it

1. Fill in the input fields below. They're pre-filled with an example, so you can also just press **Start**.
2. Wait for the run to finish.
3. Open the **Output** tab, and download the results as Excel, CSV or JSON.
4. Schedule the run if you want fresh results automatically.

### Input

```json
{
  "websites": ["acme-roofing.example", "https://www.example.org/about"],
  "contactPages": 2,
  "onlyWithEmail": false
}
```

Domains without `https://` work. If a site has no working HTTPS, the tool falls back to plain HTTP.

### Pricing

**$0.50 per 1,000 websites ($0.0005 per website)**, whatever number of pages is read on each one. There's no start fee. With *Only websites with an email* turned on, sites without an email aren't charged.

Apify's free plan includes $5 of usage every month, which covers about 10,000 websites with this tool. Higher Apify plans pay less per result.

### Polite by design

The tool reads at most the homepage and a few contact pages per site, follows each site's robots.txt, and doesn't log in, solve CAPTCHAs or use proxies. Pages that need JavaScript to show their email may come back empty.

### Good to know

You're responsible for how you use the contacts. Follow CAN-SPAM, GDPR, PECR and your local rules.

### Website email scraper FAQ

#### How many pages does it read per site?

The homepage and up to five contact, about or impressum pages, as you choose. The price is the same however many are read.

#### Does it verify that emails work?

No. It finds the addresses a site publishes, but doesn't test whether an inbox exists. Use an email checker before a large send.

#### Why did a site return no email?

It may not publish one, or may show it only through JavaScript, which this tool doesn't run.

#### What happens with websites that are down?

They still get a row, with `websiteStatus` showing what happened, so your list stays complete.

#### Is it legal to use this tool?

It reads only public pages and public APIs, without logging in or bypassing blocks. Rules on using data, especially personal data, differ by country and purpose, so check the ones that apply to you. This isn't legal advice.

### Support

Found a bug or want a feature? Open an issue on the **Issues** tab. If this tool saved you time, a short review helps others find it.

### Run it on Apify

Running this tool on Apify also gives you:

- **Scheduling:** run it daily or weekly with no setup
- **API access:** start runs and fetch results from your own code
- **Integrations:** connect to Make, Zapier, n8n, Google Sheets and more
- **AI agents:** call it through the Apify MCP server
- **Exports:** download results as Excel, CSV, JSON or HTML
- **Monitoring:** get alerted if a run fails

### Related tools

- [Local Business Leads](https://apify.com/siddharth_r/local-business-leads): find local businesses by type and city, with this same contact check built in.
- [Tech Stack & Email Provider Detector](https://apify.com/siddharth_r/tech-stack-email-detector): see what each website is built with and who hosts its email.
- [Bulk Domain Availability Checker](https://apify.com/siddharth_r/bulk-domain-availability): check which domains are still available to register.

# Actor input Schema

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

Website addresses or domains, one per line: example.com or https://www.example.com/about.

## `contactPages` (type: `integer`):

Also read up to this many contact, about or impressum pages on each site.

## `alwaysCheckContactPages` (type: `boolean`):

Read contact pages even when the homepage already has an email, to find every address. Turn off for faster runs.

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

Skip websites where no email was found. Skipped ones aren't charged.

## `includeWebsiteAudit` (type: `boolean`):

Add whether each site is mobile-friendly, uses HTTPS, its platform, speed, analytics and ad tracking, with a plain-language list of problems.

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

How many websites to read in parallel.

## Actor input object example

```json
{
  "websites": [
    "https://apify.com",
    "https://www.python.org"
  ],
  "contactPages": 2,
  "alwaysCheckContactPages": true,
  "onlyWithEmail": false,
  "includeWebsiteAudit": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `results` (type: `string`):

One record per website with its emails, phones and social profiles.

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

Websites checked, with an email and unreachable.

# 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://apify.com",
        "https://www.python.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("siddharth_r/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://apify.com",
        "https://www.python.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("siddharth_r/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://apify.com",
    "https://www.python.org"
  ]
}' |
apify call siddharth_r/website-contact-scraper --silent --output-dataset

```

## MCP server setup

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