# Website Contact Details Scraper: Emails, Phones & Socials (`spontaneous_blossomtime/website-contact-details`) Actor

Extract public emails, phone numbers and social profiles from a list of websites. Checks the homepage and contact, about and imprint pages. No browser or login.

- **URL**: https://apify.com/spontaneous_blossomtime/website-contact-details.md
- **Developed by:** [Andrey Viktorov](https://apify.com/spontaneous_blossomtime) (community)
- **Categories:** Lead generation, Automation
- **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 website with contacts

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: emails, phones and social profiles

Turn a list of company websites into a clean table of **public business contacts**. For every website the actor returns one row with emails, phone numbers and social profiles (LinkedIn company page, Facebook, Instagram, X/Twitter, YouTube, TikTok, Pinterest, GitHub, Telegram, WhatsApp, Discord, Threads).

It reads the homepage and the pages most likely to hold contacts: contact, about, imprint (Impressum), team, legal, support and similar pages, with link names in several languages (English, German, French, Spanish, Italian, Portuguese, Polish, Czech and others). If those links do not publish an address, it still tries a short list of common paths (`/contact`, `/impressum`, `/info/contacto`, and the same idea in a few languages) and, when the homepage itself is blocked or times out, the same domain's help, support, investor or corporate host. Every extra fetch stays inside `maxPagesPerSite` and a small request cap. It works on plain HTML: no browser, no login, no cookies, so runs are fast and small (256 MB is enough).

#### Who is it for?

- **Sales and lead-generation teams** that already have a list of company domains and need emails and phones to start outreach.
- **Marketers and agencies** enriching a CRM or a spreadsheet with social profiles.
- **Researchers and data teams** collecting public contact data for a market map.
- **Automation builders**: call it from Make, n8n, Zapier or your own code through the Apify API after another actor has produced the domains (for example a Google Maps or search results scraper).

#### What do you get?

One dataset row per website:

| Field | Meaning |
|---|---|
| `url`, `finalUrl`, `domain`, `title` | the input, where it redirected, the site's domain and page title |
| `emails` | unique email addresses found on the scanned pages |
| `emailSources` | the page where each email was found |
| `phones` | phone numbers. International numbers are E.164 (`+` and digits, one national trunk `0` removed). A national number stays as digits unless that same page names one country |
| `addresses` | postal addresses from schema.org or an `<address>` element. Placeholders are dropped. An address alone does not make the row chargeable |
| `contactFormUrl` | a page that contains a contact form, when one was found. Search, login and newsletter forms are ignored. `null` when there is no such form |
| `linkedin`, `facebook`, `instagram`, `twitter`, `youtube`, `tiktok`, `pinterest`, `github`, `telegram`, `whatsapp`, `discord`, `threads` | arrays of profile links |
| `pagesScanned`, `scannedUrls` | how many pages were read and which |
| `status` | `ok` (something was found), `no_contacts` or `error` |

#### Input

| Parameter | Default | Description |
|---|---|---|
| `startUrls` | – | Website URLs or bare domains, one per line. Duplicates are removed. |
| `maxPagesPerSite` | 5 | Homepage plus up to N-1 contact-like pages (1–30). Failed fetches do not use up the count. |
| `onlySameDomainEmails` | false | Keep only emails on the site's own domain; drops gmail.com and other third-party addresses. |
| `maxConcurrency` | 10 | How many websites are scanned in parallel (1–50). |
| `proxyConfiguration` | off | Usually not needed. Turn on Apify Proxy if your sites answer with HTTP 403. |

Example input (the same websites the form fills in; each one returned a published email):

```json
{
  "startUrls": ["https://apify.com", "https://www.python.org", "basecamp.com"],
  "maxPagesPerSite": 5,
  "onlySameDomainEmails": false
}
```

#### Example output

python.org on the 2026-11-19 live check. Four published addresses, no phone, five pages. One LinkedIn company page and one X profile were also found; those URLs were not copied into the log, so the arrays below are the fields and not invented links. `legal@python.org` was on `/about/legal/`.

```json
{
  "url": "https://www.python.org/",
  "domain": "python.org",
  "emails": [
    "python-announce@python.org",
    "psf@python.org",
    "webmaster@python.org",
    "legal@python.org"
  ],
  "phones": [],
  "pagesScanned": 5,
  "status": "ok",
  "error": null
}
```

#### Pricing

The actor uses pay-per-event pricing with one event, **`website`**: one charge for each website where at least one contact (email, phone or social profile) was found. Websites with `no_contacts` or `error` status are not charged by the actor. The price and the Apify platform fee are shown on the Pricing tab. Use `maxPagesPerSite` and the Apify spending limit to keep a run within your budget.

#### Quality filters

- Image-like names (`logo@2x.png`, `name@3x-….webp`), tracking and error-monitoring addresses (Sentry and similar), and placeholder domains (`example.com`) are dropped. A personal address that the same page also shows at `example.com` (a checkout mock) is dropped with it. Text in a form `placeholder` or `title` is not an address.
- Obfuscated addresses such as `name [at] domain [dot] com` and `press at acme dot com` are decoded. The word form needs a role (`press`, `info`, `sales`, …) or a dotted local part (`jane.doe`), so `meet at noon dot org` is not an address. HTML entities (`&#64;`, `&#x40;`) are decoded. Cloudflare `data-cfemail` and `/cdn-cgi/l/email-protection#` values are decoded. An address in a `meta` `content` tag is kept. schema.org JSON-LD is read too, including `contactPoint.email`, `telephone`, `PostalAddress` and `sameAs`, and a `\u0040` escape that never appears as `@` in the raw HTML.
- A phone that already has a country code is stored as E.164. `+44 (0)20 7946 0958` becomes `+442079460958`. Italy keeps the `0` (`+39 06…`). A national number is given a country code only when the same page publishes one country and the number is written in that country's national form (a leading `0`, or 10 digits for the US and Canada). `8884927297` with no country stays `8884927297`.
- Postal addresses come from schema.org `PostalAddress` (JSON-LD or microdata) and from an `<address>` element that contains a street or a postal code. `123 Main Street`, a lone email, and a locality with no street and no postal code are dropped. At most eight addresses are kept.
- A branded HTTP 403 page is read only for a same-domain address (the address in the footer, often behind `data-cfemail`). Other domains listed on that block page are dropped. A generic challenge with no same-domain address stays an `error`.
- Contact links match a whole word (`contact`, `impressum`, `privacy`) including on a subdomain of the same site. A hint inside a longer word (`team` in a news slug about Teams, `help` in `helpers.js`) is not a contact page. A path with an `/article/` segment or a very long slug is not a contact page either.
- Personal LinkedIn profiles (`/in/…`) are not collected, only company, school and showcase pages.
- Private and local hosts (`localhost`, `.local`, internal IPs) are refused.

#### Limitations

- **No JavaScript rendering.** Sites that draw contacts only in the browser (some single-page apps) can return `no_contacts`. Contacts hidden in images or PDFs are not read.
- **Anti-bot protection.** Some large sites answer with HTTP 403 and are reported as `error` when the block page has no same-domain address. On the 2026-11-19 recheck, Blue Bottle was still a Cloudflare challenge. Warby Parker, Etsy and Alza were recovered without a proxy (a same-domain address on the branded block page, or a help/investor host). Try Apify Proxy when a site stays on `error`.
- **Not verified.** The actor finds addresses written on the pages; it does not check that a mailbox exists, and sometimes picks up placeholder or joke addresses left in a page's source.
- The crawl is not the whole site. After the homepage it follows contact-like links, then one more hop from those pages, then a fixed list of common paths. A blocked homepage can also open `help.`, `support.`, `investors.` or `corp.` on the same domain. All of that stops at `maxPagesPerSite`.
- Phone numbers are normalised to E.164 when the country code is on the number or the page names one country. They are not checked against a carrier. A page that names two countries does not rewrite national numbers.

#### FAQ

**Do I need to log in?** No. The actor reads public HTML only. There is no browser and no account.

**What are the limits?** `maxPagesPerSite` is 1–30 and defaults to 5 (the homepage plus up to four contact-like pages). `maxConcurrency` defaults to 10. Each site has a 20 second request timeout.

**What did the live check miss?** On 2026-11-19 the same 30 sites were run again from a datacenter IP with proxy off: 25 of 30 returned a real email (the earlier check was 22 of 30). A later pass the same day, after postal addresses and E.164 phones were added, was still 25 of 30 emails and 14 of 30 phones, and it added a postal address on 6 of 30 (Stripe, Pentagram, Fantasy, Etsy, El País, Corriere). The five email misses were Blue Bottle (Cloudflare challenge, no same-domain address), Le Monde (social profiles, legal pages HTTP 402), El País (social profiles and a Madrid address, the contact page answered HTTP 403), Rakuten (edge block) and REI (timeout). The numbers are in `docs/COVERAGE_2026-11-19.md`. Addresses drawn only after JavaScript are not read. Proxy is off unless you turn it on.

**Is it legal to collect these contacts?** The actor reads publicly available web pages. What you do with personal data (for example named business emails) is subject to the laws that apply to you, such as GDPR and anti-spam rules. Check them before you run outreach.

**Why did I get a row with `no_contacts`?** The pages contained no email, phone or social link that passed the filters. Raise `maxPagesPerSite` or check the site manually.

**Can I find the emails of specific people?** No. The actor returns the contacts that the website itself publishes. It does not guess addresses or look up employees.

**How do I run it from code?** Use the Apify API or the official clients for JavaScript and Python and pass the input shown above.

**Something is wrong with a site.** Open the Issues tab of this actor and send the website address and the row you got. We read every report.

# Actor input Schema

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

Website URLs or bare domains, one per line (for example `https://example.org` or `example.org`). Duplicates are removed. Each site is scanned on its homepage and on the most likely contact, about, imprint (Impressum), team or legal pages.

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

Homepage plus up to N-1 contact, about, imprint or legal pages (1–30). If those pages have no email, the same budget is used for common paths such as /contact and /impressum, and for a help or corporate host when the homepage is blocked. Lower it to 1 to scan homepages only.

## `onlySameDomainEmails` (type: `boolean`):

Drop gmail.com, outlook.com and other third-party addresses. Keeps only emails whose domain matches the website.

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

How many websites are scanned at the same time. Higher is faster; the actor stays polite within a single site.

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

Usually not needed. Turn on Apify Proxy if many of your sites answer with HTTP 403 or block data-center IPs.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com",
    "https://www.python.org",
    "basecamp.com"
  ],
  "maxPagesPerSite": 5,
  "onlySameDomainEmails": false,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset in the overview table: website, status, emails, phones and social profiles.

# 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": [
        "https://apify.com",
        "https://www.python.org",
        "basecamp.com"
    ],
    "maxPagesPerSite": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("spontaneous_blossomtime/website-contact-details").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": [
        "https://apify.com",
        "https://www.python.org",
        "basecamp.com",
    ],
    "maxPagesPerSite": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("spontaneous_blossomtime/website-contact-details").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": [
    "https://apify.com",
    "https://www.python.org",
    "basecamp.com"
  ],
  "maxPagesPerSite": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call spontaneous_blossomtime/website-contact-details --silent --output-dataset

```

## MCP server setup

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

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/DmahcOyDZxhByyWwQ/builds/T52OXVycqdSrpYPrC/openapi.json
