# Website Contact Scraper: Emails & Socials (`pellucid_bird/website-business-contacts-lens`) Actor

Your go-to website contact scraper for business research. Find public emails, validated phone numbers and links to 13 social networks on company websites. Export one scan per website with source pages and coverage details; robots rules are checked.

- **URL**: https://apify.com/pellucid_bird/website-business-contacts-lens.md
- **Developed by:** [O M](https://apify.com/pellucid_bird) (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 $1.00 / 1,000 website scan saveds

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 & Socials

Turn company websites into contact records with evidence you can check. Collect publicly displayed business emails, validated phone numbers and profile links across 13 social networks, together with the source page and extraction method.

Use it to enrich a business directory, audit a company's published social links or prepare a contact list for review. One result describes **one inspected website**, including a successful scan that finds no contacts.

Start from domains or contact pages. The Actor checks up to four pages per site by default, prioritizing contact, about, team and legal pages; you can raise the page limit to ten. It uses ordinary HTTP and respects robots rules.

### Quick start

1. Add company domains or contact-page URLs in the Input tab.
2. Start the run with the sample below, then open its Dataset.
3. Review `OUTPUT` for blocked sites, failed pages and reached limits before using the list.

```json
{
  "urls": ["https://apify.com/contact", "basecamp.com"],
  "maxPagesPerSite": 4,
  "maxItems": 100,
  "requestTimeoutSecs": 15,
  "maxRetries": 1,
  "maxSiteDurationSecs": 90,
  "maxEstimatedCostUsd": 1
}
```

Use `defaultCountry`, for example `"GB"`, if your list contains national phone numbers whose country cannot be identified from the website domain. International numbers beginning with `+` are parsed without that hint. A country hint changes phone interpretation, so use one appropriate for the businesses in your list.

Repeated domains and their `www` form share one scan. The **first supplied page wins**; later pages for that domain are not additional starting points. Subdomains other than `www` are separate websites. Redirected websites are deduplicated by their final hostname within the run.

### Pricing

**$0.009 per run + $0.001 per delivered website scan ($1.00 per 1,000 result rows).** Platform resources used by the run are included. Check the live Pricing tab for the active tariff before starting.

One result is one successfully inspected website, including a scan with no contacts or a partial scan with usable public data. Failed or blocked websites without a successful page do not create a result charge. The startup fee also applies to empty, invalid or failed runs. This is a charge per website scan, not per email or social link.

| Delivered websites in one run | Event total |
| ----------------------------- | ----------- |
| 1                             | $0.01000    |
| 20                            | $0.02900    |
| 100                           | $0.10900    |

These examples describe delivered rows, not guaranteed completion of an input list. For 1,000 rows spread across multiple runs, add $0.009 for each run to the $1.00 result fee. Larger inputs may stop at the runtime, source, publisher resource or user spending limits; inspect `OUTPUT` before retrying remaining sites. Increasing a user budget does not remove the hard resource limits.

The default platform maximum charge is $0.10. It is a spending ceiling, not a minimum bill. Set both the platform maximum charge and `maxEstimatedCostUsd` appropriately for your list. All supported extraction options are included; there are no paid enrichment add-ons or hidden reductions for free-plan users.

### What you receive

Each dataset row describes one successfully inspected website, including websites where no contacts were found. Failed, blocked, non-HTML and duplicate inputs appear in `OUTPUT` rather than becoming additional result rows.

| Fields                                               | Contents                                                                                                            |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `url`, `domain`, `finalUrl`, `title`                 | Input page and final website identity                                                                               |
| `emails`, `emailCount`, `emailDetails`               | Up to 50 unique addresses, same-domain addresses first, with source pages and methods                               |
| `phones`, `phonesE164`, `phoneCount`, `phoneDetails` | Up to 30 validated number/extension combinations, international E.164 form, country basis and original source value |
| `socialLinks`, `socials`                             | Up to 100 recognized social profile/community URLs and the first URL per network                                    |
| `facebook` … `discord`                               | The first URL for each of the 13 networks, also exposed as individual fields                                        |
| `pagesChecked`, `pageUrls`, `pages`, `robots`        | Successfully parsed pages, failed/skipped attempts and robots decisions                                             |
| `status`, `warnings`, `limits`, `scrapedAt`          | Coverage, reached limits and UTC observation time                                                                   |

Supported networks: **Facebook, Instagram, LinkedIn, X/Twitter, YouTube, TikTok, Pinterest, GitHub, Telegram, WhatsApp, Threads and Snapchat, plus Discord communities**. Post, video and share URLs are excluded. Discovered social pages are not fetched.

`COMPLETE` means all selected candidates were inspected within the configured bounds. `PARTIAL` means a page failed, an extraction limit was reached or more candidates remained at the page limit. `NO_CONTACTS` means the inspected selection completed with empty email, phone and social arrays. These statuses describe this bounded scan, not an exhaustive search of the entire website. A partial but successfully inspected website is still one result row.

This excerpt was reconstructed from a saved public response for `https://apify.com/contact`, observed on **November 10, 2026**. It is a dated example, not a promise that the site still displays the same information:

```json
{
  "domain": "apify.com",
  "emails": ["hello@apify.com", "support@apify.com"],
  "emailCount": 2,
  "phonesE164": [],
  "pagesChecked": 1,
  "status": "PARTIAL"
}
```

The full example and response hash are included in `examples/website.json` and `examples/website-provenance.json`. Its one-page limit leaves additional discovered pages unvisited.

### Extraction and crawl behavior

- Emails come from visible text, `mailto:` links, public JSON-LD contact fields, simple `at`/`dot` words and `[at]`/`(at)`, `[dot]`/`(dot)` text, and publicly displayed Cloudflare email obfuscation. Script contents, explicitly hidden elements and asset-like addresses are excluded. Email spelling does not prove that a mailbox exists or accepts messages.
- Phones use libphonenumber metadata for validity and international formatting. Explicit country hints take precedence over supported country-code domain inference. Ambiguous national numbers without a country are omitted. Number validity does not establish current ownership or availability; `countrySource` records the interpretation used. Extensions are preserved; `phoneCount` counts distinct number/extension pairs, while `phonesE164` contains unique base numbers.
- Contact evidence retains up to three observations per contact. `raw` is the source link/text candidate or decoded public contact candidate, limited to 300 characters. JSON-LD is parsed as data and never executed. At most 500,000 visible characters are scanned per page, with an explicit warning on truncation.
- Supplied pages are tried first. Linked contact/about/company/team/imprint/legal/privacy pages receive priority. If no suitable links are found on the first successful page, `/contact` and `/contact-us` are tried within the page allowance.
- Bare domains may try HTTPS, HTTP, HTTPS with `www`, then HTTP with `www` after connection failures or 404/410 responses. Explicit URLs do not enable this discovery fallback. Challenge, authentication, robots and access-denied responses do not trigger domain/protocol alternatives. HTTPS redirects to HTTP are rejected.
- At most five redirects are followed, with public DNS validation for every connection and robots checks for every destination page. The first landing page may redirect to a different public business domain; subsequent page traversal remains on that final site and its `www` form.
- Robots policies use the declared `WebsiteContactsLens` token and longest matching allow/disallow rules. Rules for matching agent groups are combined; equal-length allow wins. Robots server/network errors, 401, 403, 429 and challenge responses fail closed. Other robots 4xx responses mean no available policy. The parser considers a bounded prefix of large files; unsupported overlong rules fail closed.

### Input options and bounds

| Option                | Default  | Range                                                |
| --------------------- | -------- | ---------------------------------------------------- |
| `urls`                | Required | 1–500 URLs/domains                                   |
| `maxPagesPerSite`     | 4        | 1–10 attempted page URLs; failed page attempts count |
| `maxItems`            | 100      | 1–500 successfully inspected website rows            |
| `defaultCountry`      | Omitted  | Supported uppercase two-letter country code          |
| `requestTimeoutSecs`  | 15       | 1–30 seconds, including DNS                          |
| `maxRetries`          | 1        | 0–2 per physical source request                      |
| `maxSiteDurationSecs` | 90       | 10–180 seconds per website                           |
| `maxEstimatedCostUsd` | 1        | 0–100 USD planning allowance                         |

Hard run limits are 512 MB memory, 300 seconds cumulative runtime, 1,000 physical requests, 80 physical requests per website, 256 MiB encoded transfer accounting, 256 MiB decoded content and 32 MiB output reservations. A response is limited to 2 MiB both encoded and decoded. A website row is limited to 2 MiB. Protocol allowances and unresolved requests consume conservative resource reservations. Robots, retries and redirect hops count toward request and transfer bounds. A stopped run may return only part of a large input list.

The platform and input spending allowances are combined; literal zero performs no source request or dataset append, but does not cancel the startup fee. Local resource estimates are planning guards, not guaranteed final invoice ceilings. Resuming a run preserves its cumulative deadline and conservative accounting. An uncertain dataset append is not replayed automatically; its marker requires reconciliation first.

### Export, API and repeat scans

Open the run's Dataset to export JSON, CSV or Excel. Use the flat `emails`, `phonesE164` and named social fields for spreadsheets; keep the detailed provenance fields when auditing contacts. Repeated runs create fresh snapshots rather than claiming that a previous contact is still current.

Start a run through the API with your Apify token in an environment variable:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/pellucid_bird~website-business-contacts-lens/runs?memory=512&timeout=360&maxTotalChargeUsd=0.1' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"urls":["https://apify.com/contact"],"maxPagesPerSite":4,"maxItems":20}'
```

The response contains the run ID and default dataset ID. Wait for the run to finish before reading its dataset. For regular refreshes, save the input as an Actor task and attach an Apify schedule; each scheduled run has its own startup fee.

### Limits and responsible use

This Actor does not render JavaScript, log in, bypass challenges, send messages, submit forms, verify mailboxes or purchase enrichment data. Sites that require those capabilities may be unavailable or incomplete. Robots compliance is not a grant of permission to reuse content. Use it for public business information you are authorized to collect, and follow the source website's terms and applicable privacy requirements. Full source HTML is not included in the dataset.

Review `OUTPUT.inputs` for every original entry, including duplicates, and `OUTPUT.sources` for each unique site. The report distinguishes confirmed delivery from failed or uncertain writes. Budget observations explain resource-related stops. If a run needs investigation, open an issue on this Actor with its run ID and a description of the expected result; do not include credentials or private customer lists.

### FAQ

#### Am I charged per email, page or website?

Per delivered website scan, plus startup. A row can contain many contacts, a partial scan or no contacts. Failed or blocked sites with no successfully inspected page do not create result rows.

#### Are emails deliverable and phone numbers in service?

Email extraction does not test a mailbox. Phone validation checks numbering metadata and formatting, not ownership or availability. Use the source evidence and your own permitted verification process before relying on a contact.

#### Why did two URLs produce one scan?

The same domain and its `www` form share one scan, using the first supplied page. Other subdomains are separate. Redirects can reveal another duplicate final hostname; see `OUTPUT` for the decision.

#### Can it read JavaScript-only or protected pages?

It does not render JavaScript, sign in or bypass robots and challenges. A visible business contact may therefore be missed. The row's `pages`, `robots`, `warnings` and `status` explain the inspected coverage.

# Actor input Schema

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

1–500 public HTTP(S) URLs or bare domains. The first supplied page wins for repeated www/non-www site keys. Bare domains can try HTTP and www alternatives after recoverable failures.

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

Default 4, maximum 10 attempted HTML page URLs including failures. Robots and redirects use separate physical request accounting.

## `maxItems` (type: `integer`):

Maximum successfully inspected website rows including empty scans and existing rows on resume.

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

Whole physical request including DNS; also constrained by the remaining website deadline.

## `maxRetries` (type: `integer`):

Bounded retries for transient errors, HTTP 429 and server errors; at most 60 seconds Retry-After.

## `maxSiteDurationSecs` (type: `integer`):

Total per-website deadline across robots, redirects, retries and pages. In-flight requests are also clipped to this deadline.

## `defaultCountry` (type: `string`):

Optional uppercase ISO country code for national phone numbers. Otherwise use a supported country-code domain; ambiguous national numbers are omitted. International + numbers need no hint.

## `maxEstimatedCostUsd` (type: `number`):

Provisional local planning guard combined with platform maximum charge. Default 1; zero performs no source requests or result appends. Not a final invoice guarantee.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com/contact"
  ],
  "maxPagesPerSite": 4,
  "maxItems": 100,
  "requestTimeoutSecs": 15,
  "maxRetries": 1,
  "maxSiteDurationSecs": 90,
  "maxEstimatedCostUsd": 1
}
```

# Actor output Schema

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

No description

## `report` (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://apify.com/contact"
    ],
    "maxPagesPerSite": 4,
    "maxItems": 100,
    "requestTimeoutSecs": 15,
    "maxRetries": 1,
    "maxSiteDurationSecs": 90,
    "maxEstimatedCostUsd": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("pellucid_bird/website-business-contacts-lens").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://apify.com/contact"],
    "maxPagesPerSite": 4,
    "maxItems": 100,
    "requestTimeoutSecs": 15,
    "maxRetries": 1,
    "maxSiteDurationSecs": 90,
    "maxEstimatedCostUsd": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("pellucid_bird/website-business-contacts-lens").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://apify.com/contact"
  ],
  "maxPagesPerSite": 4,
  "maxItems": 100,
  "requestTimeoutSecs": 15,
  "maxRetries": 1,
  "maxSiteDurationSecs": 90,
  "maxEstimatedCostUsd": 1
}' |
apify call pellucid_bird/website-business-contacts-lens --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pellucid_bird/website-business-contacts-lens"
        }
    }
}
```

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/3GGIhydQysFFtBLNN/builds/pySuXKSuUFVx7lNaf/openapi.json
