# Website Contact & Social Links Extractor (`mastercreator_ai/website-contact-social-extractor`) Actor

Turn a list of websites into a lead list: emails, phones and LinkedIn, Instagram, Facebook, X, YouTube, TikTok and WhatsApp profiles from the homepage and contact pages. No login, no cookies, no proxy.

- **URL**: https://apify.com/mastercreator_ai/website-contact-social-extractor.md
- **Developed by:** [MasterCreator AI](https://apify.com/mastercreator_ai) (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 processeds

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 & Social Links Extractor

Turn a list of websites into a **ready-to-use lead list**: emails, phone numbers and social profiles for every company, in one clean row per website.

✅ No login · ✅ No cookies · ✅ No proxy needed · ✅ Pay only for websites processed

### How it works

1. You paste domains or URLs (hundreds or thousands).
2. For each site the Actor reads the **homepage** and automatically finds **contact, about, team, imprint/impressum and "fale conosco"** pages (English, Portuguese, Spanish, German).
3. It extracts and de-duplicates:
   - **Emails** — including mailto: links and obfuscated forms like "name \[at] domain.com"; image/placeholder addresses are filtered out, and emails on the company's own domain are listed first.
   - **Phones** — from tel: links (reliable, no random number noise).
   - **Social profiles** — LinkedIn, Instagram, Facebook, X/Twitter, YouTube, TikTok, GitHub, Pinterest, WhatsApp, Telegram (share buttons and post links are ignored).
   - **Title and meta description** of the site.

### Output example

```json
{
  "domain": "acme.com",
  "primaryEmail": "sales@acme.com",
  "emails": ["sales@acme.com", "support@acme.com"],
  "phones": ["+15551234567"],
  "linkedin": "https://www.linkedin.com/company/acme-inc",
  "instagram": "https://instagram.com/acme.co",
  "socials": { "x": ["https://x.com/acme"], "whatsapp": ["https://wa.me/5511999998888"] },
  "title": "Acme — Rockets for everyone",
  "pagesVisited": ["https://acme.com/", "https://acme.com/contact"],
  "status": "ok"
}
```

Every row has a **status** (ok, http_403, timeout, invalid_url…) so you always know why a site returned nothing.

### Use cases

- **Sales & agencies:** enrich a list of company domains from Google Maps, LinkedIn or a CRM export with emails and socials.
- **Marketing:** find the Instagram/TikTok of every brand in a niche.
- **Recruiters & PR:** get the contact page and email of each organization fast.
- **AI agents:** call it via Apify MCP to "find the contact email of these companies".

### Tips

- Combine with Google Maps or any domain list → this Actor → your CRM.
- Turn on **onlyWithContacts** to keep only useful rows (empty sites are not charged).
- Some sites block automated visits (you'll see http_403); those are a small minority.

### Pricing

Pay per website saved — a fraction of a cent each. Set a max cost per run and the Actor stops cleanly.

### Responsible use

Only public information published by the websites themselves is collected. Make sure your outreach follows applicable laws (GDPR, CAN-SPAM, LGPD).

# Actor input Schema

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

Domains or URLs, one per line (e.g. stripe.com, https://www.notion.so). Duplicates are removed.

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

Homepage plus up to N-1 contact/about/imprint pages found automatically. 3–5 is the sweet spot.

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

How many websites to process at the same time.

## `timeoutSecs` (type: `integer`):

Skip pages that take longer than this.

## `onlyWithContacts` (type: `boolean`):

Skip websites where no email, phone or social profile was found (you are not charged for skipped ones).

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "stripe.com"
  ],
  "maxPagesPerSite": 4,
  "maxConcurrency": 8,
  "timeoutSecs": 20,
  "onlyWithContacts": false
}
```

# Actor output Schema

## `results` (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",
        "stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastercreator_ai/website-contact-social-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",
        "stripe.com",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mastercreator_ai/website-contact-social-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/ZotZtVXvb9TeMqY3U/builds/hWdfcr3nOKJ6erx9F/openapi.json
