# Website Contact Extractor: Verified Emails, Phones, Socials (`apt_squirrel/website-contact-extractor`) Actor

Give it a list of websites and get one clean row per site: emails with a deliverability check (mail servers, disposable and role addresses), phone numbers, social profiles and the age of the domain. Three tools in one run, no browser.

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

## Pricing

from $2.00 / 1,000 results

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 Contact Extractor: verified emails, phones, socials

Turn a list of websites into a list of contacts you can actually use. For every site you get **one row** with:

- the emails, phone numbers and social profiles found on its home page and on its contact / about / team pages;
- a **deliverability check for every email**: does the domain accept mail, is the address disposable, is it a shared mailbox such as `info@`;
- the **age of the domain**, its expiry date and registrar, so you can tell an established company from a site registered last week.

That is three tools in one run: a contact scraper, an email validator and a WHOIS lookup. Built for lead generation, CRM enrichment and outreach lists. No browser, no login, so runs are fast and cheap.

### What you get that other scrapers do not

- **Best email and best phone** picked for you (the company's own role address first), plus every email and phone.
- **Company name, description, address, logo, founding year and people with job titles** from the structured data sites publish for Google.
- **17 social networks**, with every profile link per network, not only the first.
- **Contact form address**, contact page, phones written in the page text, language.
- **Read websites from another run** (for example a Google Maps scraper) through a dataset ID, and **skip sites without contacts** so you pay only for useful rows.
- Every email checked for deliverability and the domain's age attached.

### What you get

| Field | Example |
|---|---|
| `url` | the address you supplied |
| `domain` | `acme.com` |
| `title` | home page title |
| `emails` | every address found, the site's own domain first |
| `deliverableEmails` | the addresses worth writing to: mail servers exist, not disposable |
| `emailChecks` | per address: `verdict` (`ok`, `risky`, `invalid`, `unknown`), `reason`, `isRoleAccount`, `isFreeProvider`, `isDisposable` |
| `phones` | `["+14155550100"]` |
| `linkedin`, `facebook`, `instagram`, `twitter`, `youtube`, `tiktok`, `telegram`, `github`, `whatsapp` | profile links, empty when absent |
| `domainCreatedAt`, `domainAgeDays`, `domainExpiresAt`, `registrar` | registration facts from the registry (RDAP) |
| `pagesChecked` | pages that were opened |
| `error` | why a site could not be read, empty when fine |

### How it works

1. Opens the home page.
2. Follows up to `maxContactPages` same-site links that look like contact, about, team, support or imprint pages (several languages).
3. Collects `mailto:` links, plain-text addresses and addresses hidden by Cloudflare email protection; phone numbers from `tel:` links; the first profile link for each social network.

Deliberate choices that keep the data clean:

- Phone numbers come only from `tel:` links. Numbers matched in page text are mostly prices, dates and IDs.
- Share buttons (`/sharer`, `/intent/tweet`) are not reported as the company's profiles.
- Image names such as `logo@2x.png` and tracker addresses are not reported as emails.

### Input

```json
{
  "urls": ["https://www.gnu.org", "python.org"],
  "maxContactPages": 3,
  "verifyEmails": true,
  "checkDomainAge": true
}
```

### Limits

- Sites that render contacts only with JavaScript, or that block non-browser traffic, return a row with empty contacts or an `error`. You are still charged per row, so check a small sample first.
- The email check looks at syntax, the domain's mail servers and reputation lists. It never connects to a mailbox, so it cannot tell you whether one particular person's address exists.
- Domain age comes from the registry of the top-level domain. Some country domains publish no such data; the fields are then empty. A site on a shared host such as `name.github.io` gets the age of the host's domain.
- Use the data in line with the laws that apply to you (GDPR, CAN-SPAM and similar).

### Use it from code, no-code tools and AI agents

- **API**: start a run and get the results in one HTTP call, or use the Apify Python and JavaScript clients. Results download as JSON, CSV, Excel or XML.
- **Integrations**: Make, Zapier, n8n, Google Sheets, Slack and webhooks, from the run's Integrations tab.
- **AI agents**: the actor is available as a tool through the Apify MCP server, so AI assistants and agents can call it directly.

### Pricing

Pay per result: one result is one website. Users on paid Apify plans get an automatic discount of up to 33%.

# Actor input Schema

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

Website addresses or bare domains, one per line. Each site produces one result row. You can also feed sites from another run with "Dataset ID".

## `datasetId` (type: `string`):

Optional. Read websites from an Apify dataset, for example the results of a Google Maps or search scraper.

## `urlField` (type: `string`):

Field of that dataset that holds the website address.

## `maxContactPages` (type: `integer`):

Besides the home page, how many contact / about / team pages to open on each site. 0 checks the home page only.

## `verifyEmails` (type: `boolean`):

Check that each address has working mail servers and flag disposable and role addresses. No message is ever sent.

## `checkDomainAge` (type: `boolean`):

Add the registration date, age in days, expiry date and registrar of each site.

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

Skip sites where no email or phone was found, so you pay only for useful rows.

## Actor input object example

```json
{
  "urls": [
    "https://www.gnu.org",
    "https://www.python.org"
  ],
  "urlField": "website",
  "maxContactPages": 3,
  "verifyEmails": true,
  "checkDomainAge": true,
  "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 = {
    "urls": [
        "https://www.gnu.org",
        "https://www.python.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_squirrel/website-contact-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 = { "urls": [
        "https://www.gnu.org",
        "https://www.python.org",
    ] }

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

```

## MCP server setup

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