# Website Contact Scraper - Emails, Phones & Social Links (`tonyginkleheim/website-contact-scraper`) Actor

Extract emails, phone numbers and social media profiles (Facebook, Instagram, LinkedIn, X, TikTok, YouTube and more) from any list of websites. Crawls contact and about pages. You pay only for websites where contacts are found.

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

## Pricing

$4.00 / 1,000 website with contacts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 this contact scraper does

Give it a list of websites and it returns the email addresses, phone numbers and social media profiles it finds on each one. It reads the homepage, then follows the links most likely to hold contact details: contact, about, team, imprint, legal and support pages.

You get one row per website. You are only charged for websites where at least one contact was found, so dead domains and sites with nothing listed cost you nothing.

### What you get for each website

- `emails`: addresses on the website's own domain or a free provider like Gmail or Outlook
- `otherEmails`: addresses on other domains, often agencies, partners or example text, kept separate so you can decide
- `phones`: from tel: links, structured data and international numbers in the page text
- Social profiles: Facebook, Instagram, X (Twitter), LinkedIn, YouTube, TikTok, Pinterest, GitHub, Discord, Telegram, WhatsApp, Threads, Snapchat, Reddit and Bluesky
- `pagesCrawled`: the exact pages that were read

It also catches emails written as `name [at] domain [dot] com` and links encoded with `%40` or `&#64;`.

### Typical uses

- Turn a list of company domains from Google Maps, a CRM export or a directory into a lead list
- Find the right social accounts for outreach or influencer research
- Enrich a spreadsheet of websites before importing it into HubSpot, Pipedrive or a cold email tool

### Input

Paste domains or URLs into Websites, one per line, or upload a file. "Max pages per website" controls how deep it goes. The default of 8 covers the homepage and the usual contact pages, which is enough for most small and mid-size business sites.

Some sites block automated requests. If you see many "unreachable" rows, switch on the proxy.

### Output example

Values are illustrative.

```json
{
  "url": "https://example-bakery.com/",
  "domain": "example-bakery.com",
  "emails": ["hello@example-bakery.com", "orders@example-bakery.com"],
  "otherEmails": [],
  "phones": ["+1 415 555 0134"],
  "facebook": ["https://facebook.com/examplebakery"],
  "instagram": ["https://instagram.com/examplebakery"],
  "linkedin": [],
  "pagesCrawled": ["https://example-bakery.com/", "https://example-bakery.com/contact"],
  "status": "ok"
}
```

`status` is `ok`, `no_contacts` (site worked, nothing found, not charged) or `failed` (site unreachable, not charged).

### Pricing

| Event | Charged when |
|---|---|
| `website` | a website returned at least one email, phone or social profile |

The price covers the whole website, however many pages were read.

### FAQ

#### Does it find personal emails that aren't on the website?

No. It only reports what the website itself publishes. It doesn't guess addresses or look them up in third-party databases.

#### Why is an email in otherEmails?

Its domain doesn't match the website and it isn't a free email provider. These are often agencies or web designers, and sometimes example text in a template.

#### Can I run it on thousands of websites?

Yes. It processes 10 websites in parallel by default, and you can raise that to 50.

# Actor input Schema

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

Domains or URLs, one per line.

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

Optional. Upload a list or link a file of URLs.

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

The homepage plus the most likely contact, about, team and legal pages.

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

Parallel requests.

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

Proxy settings.

## Actor input object example

```json
{
  "websites": [
    "apify.com"
  ],
  "maxPagesPerSite": 8,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All results as JSON

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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