# Website Contact Finder: Emails, Phones & Social Profiles (`gnom-tools/website-contact-finder`) Actor

Crawl any website and extract contact details: emails, phone numbers, LinkedIn, X, Facebook, Instagram and other social profiles, postal addresses from structured data and contact forms. Built for lead generation.

- **URL**: https://apify.com/gnom-tools/website-contact-finder.md
- **Developed by:** [Gnom Automation](https://apify.com/gnom-tools) (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 Finder: Emails, Phones & Social Profiles

Turn any list of websites into a lead list. The actor crawls each site (homepage plus contact, about, team, support and legal pages) and extracts emails, phone numbers, social profiles, postal addresses and contact forms.

No API keys, no browser automation, no per-site manual work.

### What you get

One dataset item per website:

| Field | Description |
| --- | --- |
| `emailsList` | All email addresses found, deduplicated (mailto links, page text, obfuscated forms like `name [at] domain [dot] com`) |
| `primaryEmail` | Best candidate: first email whose domain has a working MX record |
| `emails` | Emails with sources and MX check result |
| `phonesList` | Phone numbers from `tel:` links, page text and structured data, normalized |
| `socials` / `socialLinks` | LinkedIn, X, Facebook, Instagram, YouTube, TikTok, GitHub, Telegram, WhatsApp, Discord, Threads, Pinterest, Medium, Reddit |
| `linkedin` | LinkedIn company/profile URL, ready for outreach |
| `addresses` | Postal addresses from schema.org JSON-LD |
| `contactForms` | Contact forms found, with action URL and whether they have an email field |
| `companyName` | Company name from Open Graph or page title |
| `pagesScanned` | Which pages were crawled |

### How it works

1. Fetches the homepage.
2. Finds internal links and prioritizes contact, about, team, impressum, support and legal pages (with fallbacks like `/contact` and `/about`).
3. Crawls up to *Pages per website* pages in parallel batches.
4. Extracts and deduplicates contacts from HTML, visible text, `mailto:`/`tel:` links and JSON-LD structured data.
5. Optionally validates email domains via DNS MX lookup (DNS over HTTPS).

### Use cases

- **Lead generation** — enrich a list of company domains with contact emails and social profiles.
- **Sales prospecting** — get the right LinkedIn company page and a verified email domain.
- **Recruiting** — collect contact pages of target companies in bulk.
- **CRM cleanup** — verify that email domains still have a mail server.
- **Competitive research** — see which social channels companies actually maintain.

### Input example

```json
{
  "urls": ["apify.com", "stripe.com", "shopify.com"],
  "maxPages": 10,
  "validateEmails": true,
  "concurrency": 4,
  "timeoutSecs": 20
}
```

### Output example

```json
{
  "url": "https://apify.com/",
  "companyName": "Apify",
  "primaryEmail": "hello@apify.com",
  "emailsList": ["hello@apify.com", "support@apify.com"],
  "emails": [
    { "value": "hello@apify.com", "sources": ["mailto@/contact"], "mx": true }
  ],
  "primaryPhone": "+420123456789",
  "phonesList": ["+420123456789"],
  "linkedin": "https://www.linkedin.com/company/apify",
  "socials": {
    "linkedin": ["https://www.linkedin.com/company/apify"],
    "x": ["https://x.com/apify"],
    "github": ["https://github.com/apify"]
  },
  "socialLinks": [
    { "platform": "linkedin", "value": "https://www.linkedin.com/company/apify" },
    { "platform": "x", "value": "https://x.com/apify" }
  ],
  "addresses": ["Vodickova 704/36, 110 00 Praha 1, Czechia"],
  "hasContactForm": true,
  "contactForms": [
    { "action": "https://apify.com/contact", "page": "https://apify.com/contact", "hasEmailField": true, "hasMessageField": true }
  ],
  "pagesScanned": ["https://apify.com/", "https://apify.com/contact", "https://apify.com/about"],
  "errors": []
}
```

### Notes

- Emails are deduplicated case-insensitively; asset-like false positives (`.png`, `sentry.io`, `example.com`) are filtered out.
- MX validation checks only that the domain can receive mail — it does not verify the specific mailbox.
- Enable **Apify Proxy** for sites that block datacenter IPs.
- Respect the target sites' terms of service and applicable anti-spam laws when using the collected contacts.

# Actor input Schema

## `urls` (type: `array`):

Websites to scan for contact details. Full URLs or domains, one per line. Up to 200 per run.

## `maxPages` (type: `integer`):

How many pages to crawl per website. Contact, about, team, support and legal pages are prioritized.

## `validateEmails` (type: `boolean`):

Check that the email domain has a mail server (MX record) using DNS over HTTPS.

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

Optional. Enable Apify Proxy if target sites block datacenter IPs.

## `concurrency` (type: `integer`):

How many websites are processed in parallel.

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

Timeout applied to each individual HTTP request.

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "stripe.com",
    "shopify.com"
  ],
  "maxPages": 10,
  "validateEmails": true,
  "concurrency": 4,
  "timeoutSecs": 20
}
```

# Actor output Schema

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

Dataset with one item per website: emails (with MX validation), phones, social profiles, addresses from structured data and contact forms.

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

Number of websites processed, pages per site and whether emails were validated.

# 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 = {
    "urls": [
        "apify.com",
        "stripe.com",
        "shopify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gnom-tools/website-contact-finder").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 = { "urls": [
        "apify.com",
        "stripe.com",
        "shopify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gnom-tools/website-contact-finder").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 '{
  "urls": [
    "apify.com",
    "stripe.com",
    "shopify.com"
  ]
}' |
apify call gnom-tools/website-contact-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gnom-tools/website-contact-finder"
        }
    }
}
```

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/45gnCSyMuNEkJqJac/builds/rRkXa8PwmdlrMfI1s/openapi.json
