# Website Contact Details Scraper (`properscraper/website-contact-details-scraper`) Actor

Find the public contact details on a list of company websites: email addresses, phone numbers and links to LinkedIn, Facebook, Instagram, X, YouTube and more. Reads the home page and the contact and about pages, and obeys robots.txt.

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

## Pricing

from $0.50 / 1,000 website reads

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 Details Scraper

Find the public contact details on a list of company websites: email addresses, phone numbers and links to LinkedIn, Facebook, Instagram, X, YouTube, TikTok, Pinterest, GitHub, WhatsApp and Telegram.

For each website it reads the home page, then the pages most likely to carry contact details (contact, about, imprint, team and support). No browser is used, so it is fast and cheap, and you pay per website, not per page.

Use it to:

- turn a list of company domains into a list of contact emails and phone numbers
- enrich leads from a directory, a map search or a CRM export with social profiles
- find the right inbox (sales, press, jobs, support) for outreach
- check which of your own or your clients' sites expose which addresses

### Input

| Field | What it does |
|---|---|
| **Websites** | One per line: a domain such as `example.com`, or a full address to start from. |
| **Pages per website** | The most pages read on each website, 1 to 20. Default 5: the starting page plus up to four contact-type pages. |
| **Obey robots.txt** | On by default: pages a website asks crawlers not to read are skipped. |

```json
{
    "websites": ["apify.com", "wordpress.org"],
    "maxPagesPerWebsite": 5
}
```

### Output

One record per website:

```json
{
    "input": "acme-consulting.com",
    "domain": "acme-consulting.com",
    "url": "https://www.acme-consulting.com/",
    "title": "Acme Consulting | Strategy for growing companies",
    "description": "Independent strategy advice for founders and boards.",
    "language": "en",
    "emails": ["hello@acme-consulting.com", "press@acme-consulting.com"],
    "phones": ["+442079460018"],
    "linkedin": ["https://www.linkedin.com/company/acme-consulting"],
    "facebook": [],
    "instagram": ["https://www.instagram.com/acmeconsulting"],
    "twitter": ["https://x.com/acmeconsulting"],
    "youtube": [],
    "tiktok": [],
    "pinterest": [],
    "github": [],
    "whatsapp": [],
    "telegram": [],
    "pagesRead": ["https://www.acme-consulting.com/", "https://www.acme-consulting.com/contact", "https://www.acme-consulting.com/about"],
    "scrapedAt": "2026-11-18T12:00:00.000Z"
}
```

- `emails` lists addresses at the website's own domain first. File names, example addresses and tracking keys that only look like emails are left out.
- `phones` are the numbers the site marks as phone numbers (click-to-call links and structured data), as digits with a leading `+` where the site gives one. Numbers in running text are not guessed at, so you do not get dates and order numbers.
- The social fields hold profile links only. Share buttons and links to single posts are left out.
- `pagesRead` shows exactly which pages the details came from.
- A website with no contact details on those pages is still saved, with empty lists.

A `SUMMARY` record in the run's key-value store lists any websites that could not be read and why.

### Pricing

Pay per result. You are charged once for each website saved to the dataset, at the per-result price shown on this page, however many of its pages are read.

A website whose starting page could not be read (it did not answer, refused the request, or its robots.txt does not allow it) is not saved and not charged for. Lines that are not website addresses and repeated websites cost nothing. The run stops as soon as it reaches the maximum charge you set for it.

### Limits

- Pages are read without running their JavaScript. Details that appear only after scripts run, or inside a contact form, are not seen.
- Addresses a site has deliberately scrambled to keep harvesters out (for example "name \[at] company" or Cloudflare's email protection) are respected and not decoded.
- Some sites refuse automated requests. The Actor identifies itself honestly and does not disguise itself or work around a refusal; such sites are reported as not read.
- At most 50 emails, 20 phone numbers and 10 profiles per social network are kept per website. At most 2 MB of each page is downloaded.
- The pages of one website are read one after another, half a second apart.

### Is this allowed, and how may I use the results?

The Actor reads a handful of public pages per website, identifies itself in its User-Agent, obeys robots.txt by default and paces its requests.

Email addresses and phone numbers can be personal data. You are responsible for using them lawfully: for example under the GDPR and ePrivacy rules in Europe and the UK, CAN-SPAM in the United States, and each country's rules on unsolicited marketing. Use the results for legitimate business contact, honour opt-outs, and do not use them for spam.

# Actor input Schema

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

One per line: a domain such as example.com, or a full address to start from.

## `maxPagesPerWebsite` (type: `integer`):

The most pages read on each website: the starting page, then its contact, about, imprint and team pages. The price is per website, whatever this is set to.

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

Skip pages a website's robots.txt asks crawlers not to read. A website whose starting page is off limits is not charged for.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "wordpress.org"
  ],
  "maxPagesPerWebsite": 5,
  "respectRobotsTxt": true
}
```

# Actor output Schema

## `websites` (type: `string`):

One record per website read.

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

Totals for the run and, for each batch of websites, how many results were saved and any error.

# 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",
        "wordpress.org"
    ]
};

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

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

```

## MCP server setup

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