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

Bulk-extract emails, phone numbers and social media links (Facebook, Instagram, LinkedIn, X, YouTube, TikTok, Pinterest) from any list of websites. Fast, no browser, $3 per 1,000 websites, failed sites are free.

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

## Pricing

from $3.00 / 1,000 website scrapeds

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

## Website Contact Scraper - Emails, Phones & Social Links

Turn a list of websites into a list of **contacts**: emails, phone numbers and social media profiles, in one click.

Paste 10 or 100,000 domains, get back a clean table you can export to **Excel, CSV, JSON or Google Sheets**.

### What does it extract?

For every website:

| Field | Example |
|---|---|
| `emails` | `hello@company.com`, `sales@company.com` (company-domain emails first) |
| `phones` | `+33 1 23 45 67 89`, `+1 617 812 5820` |
| `facebook`, `instagram`, `linkedin`, `twitter` (X), `youtube`, `tiktok`, `pinterest` | `https://linkedin.com/company/apify` |
| `pagesScraped` | Pages visited on that site |
| `status` | `ok`, `error` (site down) or `skipped` (blocked by robots.txt) |

### How does it work?

1. Opens the homepage of each website.
2. Finds the pages most likely to contain contact details: **Contact, About, Team, Legal notice / Impressum / Mentions légales** (works in English, French, German, Spanish, Italian, Portuguese).
3. Extracts emails (including `mailto:` links, Cloudflare-protected emails and `name [at] domain [dot] com`), phone numbers (`tel:` links and written numbers) and social profile links.
4. Removes duplicates, share buttons and fake emails like `image@2x.png`.

No browser, no proxy needed: **fast and cheap**. 1,000 websites take a few minutes.

### Use cases

- **Lead generation**: you have a list of company websites (from Google Maps, a directory, a CRM export) and need emails and phones.
- **Enrich your CRM** with social media profiles.
- **Agencies and freelancers** prospecting local businesses.
- **Market research**: find which brands are active on TikTok, Instagram or Pinterest.

### Input

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

- `websites` (required): domains or URLs, one per line.
- `maxPagesPerSite` (default 5): homepage + the best contact pages.
- `maxConcurrency` (default 10): websites scanned in parallel.
- `respectRobotsTxt` (default true): skip pages the site owner asked bots not to visit.

### Output example

```json
{
  "domain": "pipedrive.com",
  "emails": ["press@pipedrive.com", "visitors@pipedrive.com"],
  "phones": [],
  "facebook": ["https://facebook.com/pipedrive"],
  "instagram": ["https://instagram.com/pipedrive"],
  "linkedin": ["https://linkedin.com/company/pipedrive"],
  "twitter": ["https://x.com/pipedrive"],
  "status": "ok"
}
```

### Pricing

**$3 per 1,000 websites scanned.** You only pay for websites that were actually reached: sites that are down or blocked are **free**.

### Tips

- Combine with a Google Maps scraper: export the `website` column, paste it here.
- Some websites show contacts only inside images or forms: those cannot be extracted.
- Websites built fully in JavaScript may return fewer results.

### Is it legal?

This Actor only reads **publicly available** business contact information from websites, and respects `robots.txt` by default. If you process personal data (for example a named person's email), you are responsible for complying with GDPR and local laws, such as having a legitimate interest and offering an opt-out in your emails.

### Other Actors you may like

- [Company Website Finder](https://apify.com/gosoul9/company-website-finder): company name in, official website out.
- [Company Email Finder](https://apify.com/gosoul9/company-email-finder): find and guess professional emails of a company.
- [Phone Number Validator](https://apify.com/gosoul9/phone-number-validator): check, format and identify phone numbers.
- [Website Technology Detector](https://apify.com/gosoul9/website-technology-detector): the tech stack of any website.
- [French Company Search](https://apify.com/gosoul9/french-company-search): SIREN/SIRET, address and data of French companies.

### Support

Found a website where it misses a contact? Open an issue on the **Issues** tab with the URL and it will be fixed.

# Actor input Schema

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

Websites or domains to scan, one per line (e.g. apify.com or https://www.example.com). The scraper visits the homepage plus contact / about / legal pages.

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

Homepage + the most relevant contact pages. 5 is enough for most sites.

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

How many websites are scanned at the same time.

## `requestTimeoutSecs` (type: `integer`):

Maximum time to wait for one page before giving up.

## `respectRobotsTxt` (type: `boolean`):

Skip pages the website owner asked bots not to visit.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "python.org"
  ],
  "maxPagesPerSite": 5,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 15,
  "respectRobotsTxt": true
}
```

# 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"
    ]
};

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

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

```

## MCP server setup

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