# Website Contacts & Socials: Emails, WhatsApp, LINE (`cheremikin/website-contacts`) Actor

One row per website: role emails on the site's own domain (info@, sales@, reservations@), business phones from tel:/WhatsApp links, LINE, Telegram, WhatsApp and company Facebook, Instagram, LinkedIn, X, YouTube, TikTok. No personal mailboxes. Respects robots.txt.

- **URL**: https://apify.com/cheremikin/website-contacts.md
- **Developed by:** [Alexandr Cheremikin](https://apify.com/cheremikin) (community)
- **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 scanneds

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 Contacts & Socials (role emails, WhatsApp, LINE, Telegram)

Give it a list of company websites and get **one row per website** with the ways to reach the company:

- **role email addresses on the site's own domain**: `info@`, `sales@`, `reservations@`, `booking@`, `press@` and similar
- **business phone lines** from `tel:` and WhatsApp click-to-chat links, in E.164 format when the country is known
- **chat apps used in Asia**: WhatsApp (`wa.me`), LINE (`line.me`, `lin.ee`, LINE Official Account IDs), Telegram (`t.me`)
- **company social profiles**: Facebook, Instagram, LinkedIn company page, X, YouTube, TikTok
- the contact, about and imprint pages it read, and any pages that robots.txt did not allow it to read

It returns no personal mailboxes and no people's names. Addresses like `john.smith@`, `j.smith@` or `anna@` are dropped, and so is every gmail, yahoo, hotmail, outlook or icloud address, even when a company publishes one. What you get is a list of company contact channels, not a list of people.

### How it works

1. Reads the site's `robots.txt` first. A page it disallows is never requested, even when a redirect points to it. Wildcard rules (`*`, `$`) and `Crawl-delay` are honoured.
2. Loads the page you give it, usually the home page.
3. Picks up to `maxPagesPerSite` contact-type pages from that page's own links: contact, about, team, company, imprint/impressum, legal notice, in several languages (for example ติดต่อเรา, Kontakt, liên hệ, お問い合わせ). If the home page has no such links, it tries `/contact` once.
4. Loads those pages one at a time with a random 1–2 s pause between requests to one site (longer if robots.txt asks for it).
5. Merges everything into one row and applies the privacy filters described below.

It uses plain HTTP requests with an honest User-Agent (`WebsiteContactsBot`). No proxies, no headless browser, and no attempts to get past Cloudflare or captchas. A site that blocks the scanner gets a row with an `error` and costs you nothing.

### Output

One row per website. Example from a real run on 19 Nov 2026:

```json
{
  "domain": "anantara.com",
  "url": "https://www.anantara.com/",
  "finalUrl": "https://www.anantara.com/en",
  "emails": [],
  "phones": ["+6623659110", "+66655191039"],
  "phonesNote": "business lines as published on the site (tel: and WhatsApp links)",
  "whatsapp": ["https://wa.me/66655191039"],
  "line": ["https://lin.ee/bkCbFb6"],
  "telegram": ["https://t.me/anantara_bot"],
  "facebook": "https://www.facebook.com/anantara",
  "instagram": "https://www.instagram.com/anantara_hotels/",
  "linkedin": null,
  "x": "https://x.com/anantara_hotels",
  "youtube": "https://www.youtube.com/user/AnantaraJourneys",
  "tiktok": null,
  "contactPages": ["https://www.anantara.com/en/contact-us", "https://www.anantara.com/en/legal-notice",
                   "https://www.anantara.com/en/about-anantara"],
  "pagesScanned": 4,
  "robotsBlocked": [],
  "pageErrors": [],
  "emailsSkipped": {},
  "error": null,
  "scannedAt": "2026-11-19T02:09:36+00:00"
}
```

| Field | Type | Example (real runs, 19 Nov 2026) | Meaning |
|---|---|---|---|
| `domain` | string | `apify.com` | Host of the input URL without `www.` |
| `url` | string | `https://apify.com/` | The start URL as scanned |
| `finalUrl` | string | `https://www.anantara.com/en` | Where the start URL ended up after redirects |
| `emails` | string\[] | `["support@apify.com", "hello@apify.com", "legal@apify.com", "privacy@apify.com"]` | Role addresses on the site's domain (or its subdomains) |
| `phones` | string\[] | `["+6623659110", "+66655191039"]` | Numbers from `tel:` and WhatsApp links. E.164 when the country is known, otherwise the digits as published |
| `phonesNote` | string | `business lines as published on the site (tel: and WhatsApp links)` | Where the numbers come from (only set when `phones` is not empty) |
| `whatsapp` | string\[] | `["https://wa.me/66655191039"]` | WhatsApp click-to-chat, business short links or group invites |
| `line` | string\[] | `["https://lin.ee/bkCbFb6"]` | LINE links and LINE Official Account IDs (`@id`) written on the page |
| `telegram` | string\[] | `["https://t.me/anantara_bot"]` | Telegram channels, bots, groups or accounts linked by the site |
| `facebook` | string | `https://www.facebook.com/anantara` | Company Facebook page (share buttons and plugins are ignored) |
| `instagram` | string | `https://www.instagram.com/anantara_hotels/` | Company Instagram |
| `linkedin` | string | `https://www.linkedin.com/company/apify/` | LinkedIn **company** page. Personal `/in/` profiles are never returned |
| `x` | string | `https://x.com/apify` | X / Twitter account (`twitter.com` links are normalised to `x.com`) |
| `youtube` | string | `https://www.youtube.com/c/Apify` | YouTube channel (single videos are ignored) |
| `tiktok` | string | `https://www.tiktok.com/@apifytech` | TikTok account |
| `contactPages` | string\[] | `["https://apify.com/contact", "https://apify.com/contact-sales", "https://docs.apify.com/legal", "https://apify.com/about"]` | Extra pages that were read |
| `pagesScanned` | integer | `5` | Pages read, including the start page |
| `robotsBlocked` | string\[] | `[]` | URLs the scanner wanted to read but robots.txt disallowed. They were not requested |
| `pageErrors` | object\[] | `[]` | Extra pages that failed (`{"url": "...", "error": "HTTP 404"}`) |
| `emailsSkipped` | object | `{"not on the site domain": 1}` | How many addresses were dropped and why. The addresses themselves are not stored |
| `error` | string | `null` | Set when the site could not be scanned: `HTTP 404`, `blocked: HTTP 403, access denied or bot-protection challenge (not bypassed)`, `start page not scanned: disallowed by robots.txt`, `network error: ConnectError` ... |
| `scannedAt` | string | `2026-11-19T02:09:47+00:00` | UTC time of the scan |

If a site has several accounts on one network, the field holds the one that matches the site's name, then the one linked from the home page, then the most frequent.

### Input

| Field | Default | Description |
|---|---|---|
| `startUrls` | python.org, apify.com, debian.org | Websites or bare domains (`example.com`). One row each |
| `maxPagesPerSite` | `5` | Contact / about / imprint / team pages to read after the start page (0–20) |
| `includePhones` | `true` | Phone numbers from `tel:` and WhatsApp links. Off = no numbers and no WhatsApp links |
| `sameDomainEmailsOnly` | `true` | Off = also keep role addresses on other company domains (for example a hotel group's `reservations@group.com`). Free-mail and personal-looking addresses are dropped either way |
| `maxConcurrency` | `5` | Websites scanned in parallel. Pages of one site are always read one by one |

### Pricing

- **$0.001 per website that returns at least one contact** (event `site-scanned`, that is $1 per 1,000 websites), plus Apify's $0.00005 run start.
- **Free**: rows with an `error` (blocked, offline, robots.txt disallowed, not HTML) and rows where nothing was found.
- One website = up to 6 pages for one price. You pay per website, not per page.
- The run respects your maximum charge: once it is reached, no new websites are started.

### Use cases

- **B2B outreach lists that stay compliant**: you get the addresses companies publish for enquiries (`info@`, `sales@`, `reservations@`), not employees' mailboxes.
- **Hospitality and tourism in Southeast Asia**: hotels, villas, dive shops and tour operators often answer on WhatsApp and LINE faster than by email. You get those links in their own columns.
- **CRM enrichment**: add social profiles and contact channels to a list of company domains.
- **Lead qualification**: see which businesses publish a contact email, chat app or social profile at all (`emailsSkipped` shows when a site only publishes gmail addresses).
- **AI agents**: one call returns a compact, structured contact card for a company website.

### How it differs from typical contact scrapers

| | This actor | Typical contact scrapers |
|---|---|---|
| Personal emails (`firstname.lastname@`) | dropped | usually returned as found |
| gmail / yahoo / hotmail addresses | dropped | usually returned as found |
| LinkedIn personal profiles | never | usually returned as found |
| WhatsApp, LINE, Telegram in separate columns | yes | WhatsApp/Telegram sometimes, LINE rarely |
| Phones | only from `tel:`/WhatsApp links, E.164 | often regex over page text (false positives) |
| robots.txt | read and obeyed, including wildcards and Crawl-delay | often not mentioned |
| Blocked sites | error row, free, no bypass | proxies to get through |
| Billing unit | per website (up to 6 pages) | usually per page |

### Privacy & fair use

- **No personal data by design.** Email addresses are kept only when their local part is a role or department (`info`, `sales`, `reservations`, `support`, `careers`, `press` ...), optionally with a location or brand qualifier (`reservations.samui@`, `info.th@`). Names, initials, job titles that point to one person, and every free-mail provider are dropped. The dropped addresses are counted in `emailsSkipped` and are never stored.
- **Phones** are taken only from explicit `tel:` and WhatsApp click-to-chat links on the company's own pages and are labelled as business lines as published on the site. Numbers written only as text are ignored. Phones, chat links and social profiles found on about and team pages are ignored, because staff profiles live there. Set `includePhones` to `false` to get no numbers at all.
- **Addresses a site hides from bots stay hidden.** Cloudflare email protection, `info [at] example [dot] com` spellings and JavaScript-assembled addresses are not decoded.
- **Polite crawling.** robots.txt (RFC 9309) is read before anything else and obeyed. There is a random 1–2 s pause between requests to one site, or the robots.txt `Crawl-delay` if longer (capped at 30 s). Each site gets at most 1 + `maxPagesPerSite` pages. Private and local network addresses are refused.
- **No bypassing.** No proxies, no headless browser, no captcha solving. HTTP 401/403/429 or a challenge page ends that site's scan with an error, and you are not charged for it.
- You are responsible for how you use the results. Email and messaging rules differ by country (for example GDPR in the EU, PDPA in Thailand, CAN-SPAM in the US). Role addresses of companies are generally the right channel for business enquiries. Still check the rules that apply to you, and respect opt-outs.

Built and maintained by Alexandr Cheremikin (Koh Samui, Thailand) with an AI assistant.

# Actor input Schema

## `startUrls` (type: `array`):

Company websites or bare domains (example.com). Each one becomes one output row. The scan starts at the URL you give (usually the home page) and then visits the site's own contact, about and imprint pages.

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

How many contact / about / imprint / team pages to visit after the start page, chosen from the start page's own links (0 = start page only). Pages disallowed by robots.txt are skipped and listed in robotsBlocked.

## `includePhones` (type: `boolean`):

Return business phone lines found in tel: links and WhatsApp click-to-chat links (E.164 when the country is known). Numbers written only as plain text are never taken. Turn off to get no phone numbers and no WhatsApp links at all.

## `sameDomainEmailsOnly` (type: `boolean`):

On: keep only addresses on the website's domain or its subdomains. Off: also keep role addresses on other company domains (e.g. a hotel group's reservations@). Personal-looking addresses and free-mail addresses (gmail, yahoo, hotmail, outlook, icloud ...) are always dropped.

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

How many websites are scanned at the same time. Pages of one website are always fetched one by one with a 1-2 s pause (longer if the site's robots.txt asks for it).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://www.debian.org"
    }
  ],
  "maxPagesPerSite": 5,
  "includePhones": true,
  "sameDomainEmailsOnly": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `contacts` (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 = {
    "startUrls": [
        {
            "url": "https://www.python.org"
        },
        {
            "url": "https://apify.com"
        },
        {
            "url": "https://www.debian.org"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cheremikin/website-contacts").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 = { "startUrls": [
        { "url": "https://www.python.org" },
        { "url": "https://apify.com" },
        { "url": "https://www.debian.org" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cheremikin/website-contacts").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 '{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://www.debian.org"
    }
  ]
}' |
apify call cheremikin/website-contacts --silent --output-dataset

```

## MCP server setup

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

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/wCgFXgtgMjt9VUscl/builds/R8p9vDfMeE0OJut5q/openapi.json
