# Website Contact Extractor: emails, phones, socials (`agebreak/website-contact-extractor`) Actor

Find emails, phone numbers (E.164), social profiles, contact forms, company name and address on company websites. Scans homepage + contact/about/impressum pages. robots.txt respected.

- **URL**: https://apify.com/agebreak/website-contact-extractor.md
- **Developed by:** [age break](https://apify.com/agebreak) (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 Contact Extractor: emails, phones, social profiles, contact forms

Paste a list of company websites and get **one clean row per company** with the **emails, phone numbers (E.164), social profiles (LinkedIn, X/Twitter, Facebook, Instagram, YouTube, TikTok, GitHub), contact form URLs, company name and postal address** published on that site.

For each site the actor reads the homepage, finds the pages where companies usually publish their contact details (**contact, about, impressum/imprint, legal notice, team**, also in other languages such as *kontakt, yhteystiedot, kontaktid, über uns, mentions légales*), and scans up to 5 pages (you can set 1-20). It uses plain HTTP: no browser, no login and no proxies, so runs are fast and cheap.

### Why use this actor

- **One row per website**, not one row per page. Ready for a CRM or a spreadsheet.
- **Finds the right pages by itself:** footer and header links to contact/impressum/about/team pages are ranked and fetched first, also on other subdomains of the same company (for example `docs.acme.com/legal`). It never leaves the company's domain.
- **Emails done carefully:** mailto links, visible text, Cloudflare-protected addresses, JSON-LD, and obfuscated forms like `name [at] acme [dot] com` or `name(at)acme.fi`. Image names like `logo@2x.png`, placeholders and tracking IDs are filtered out. Each email is marked `sameDomain: true/false` and lists the pages it was found on.
- **Phones in E.164:** `tel:` links and numbers in the page text are validated with Google's libphonenumber metadata and converted to `+49301234567`. Set a country (or let the actor use the site's `.de`, `.fi`, `.co.uk` domain) to read local formats.
- **Company profiles only:** LinkedIn *company* pages (not personal profiles), and no share buttons or intent links.
- **Contact forms** (including embedded HubSpot, Typeform, Google Forms and Contact Form 7), **company name** (JSON-LD Organization, `og:site_name`) and **address** from JSON-LD `PostalAddress`.
- **robots.txt is checked for every page** before it is fetched. Skipped pages are listed in `robotsSkipped`.
- About **$1 per 1,000 websites**. Sites that can't be reached are free.

### Use cases

- **B2B lead lists:** turn a list of company domains (from a directory, trade fair list or Google Maps export) into emails, phones and LinkedIn pages.
- **CRM enrichment:** fill missing phone numbers, addresses and social profiles for accounts you already have.
- **Supplier and partner research:** find the official contact channel and the legal entity name from the impressum.
- **Market research:** see which companies in a niche have a contact form, a LinkedIn page or a YouTube channel.

### How to use

1. Click **Try for free** and add websites, one per line (`acme.com` or any URL of the site).
2. Optional: set **Country for phone numbers** (for example `US` or `DE`) and **Max pages per site**.
3. Click **Start**. The prefilled run (3 sites) takes about 15 seconds.
4. Download the results as **JSON, CSV, Excel or HTML**, or use the **Apify API**, webhooks, Make, Zapier, n8n or the Apify MCP server.

#### Input example

```json
{
  "urls": ["apify.com", "www.hetzner.com", "basecamp.com"],
  "maxPagesPerSite": 5,
  "defaultCountry": "",
  "guessCommonPaths": true,
  "includeOtherDomainEmails": true,
  "respectRobotsTxt": true
}
```

#### Example output

Real output from a test run on 2026-11-23 (`emailDetails`, `socialLinks`, `contactForms` shortened):

```json
{
  "inputUrl": "apify.com",
  "url": "https://apify.com/",
  "domain": "apify.com",
  "finalUrl": "https://apify.com/",
  "status": "ok",
  "httpStatus": 200,
  "companyName": "Apify",
  "companyNameSource": "json-ld",
  "countryHint": null,
  "emails": ["hello@apify.com", "legal@apify.com", "privacy@apify.com", "support@apify.com"],
  "phones": [],
  "socialProfiles": {
    "linkedin": "https://linkedin.com/company/apify",
    "github": "https://github.com/apify",
    "tiktok": "https://www.tiktok.com/@apifytech",
    "twitter": "https://x.com/apify",
    "youtube": "https://www.youtube.com/c/Apify"
  },
  "contactFormUrls": ["https://apify.com/contact-sales"],
  "address": {
    "streetAddress": "Na Příkopě 959/27", "postalCode": "11000", "addressLocality": "Prague",
    "addressRegion": null, "addressCountry": "CZ", "postOfficeBoxNumber": null,
    "text": "Na Příkopě 959/27, 11000 Prague, CZ"
  },
  "emailDetails": [
    { "email": "hello@apify.com", "domain": "apify.com", "sameDomain": true, "sources": ["mailto", "text", "html"],
      "pages": ["https://apify.com/contact", "https://docs.apify.com/legal"] }
  ],
  "phoneDetails": [],
  "pagesScanned": [
    { "url": "https://apify.com/", "status": 200, "type": "homepage", "title": "Apify: Marketplace of ready-to-run tools for AI" },
    { "url": "https://apify.com/contact", "status": 200, "type": "contact" },
    { "url": "https://apify.com/contact-sales", "status": 200, "type": "contact" },
    { "url": "https://docs.apify.com/legal", "status": 200, "type": "about" },
    { "url": "https://apify.com/about", "status": 200, "type": "about" }
  ],
  "robotsSkipped": [],
  "failedPages": [],
  "redirectedToOtherDomain": false,
  "scannedAt": "2026-11-23T16:12:40.120Z"
}
```

Phone example from the same test (hetzner.com, numbers from `tel:` links and `+49`/`+358` text on the legal notice and support pages): `"phones": ["+4998315050", "+49911234226100", "+358753259100", ...]`, each with `international`, `country` and `type` (fixed line / mobile / toll free) in `phoneDetails`.

Sites that can't be scanned get a row with `status` = `invalid-url`, `unreachable`, `http-403`, `not-html` or `robots-blocked` and an `error` message. These rows are **not charged**.

### Limitations (please read)

- **Only what the site publishes in its HTML.** Contact details that appear only after JavaScript runs, inside images or behind a login are not found. Many large companies publish only a contact form, so `emails` can be empty.
- **Other-domain emails** (agency, parent company, a founder's gmail.com) are kept and marked `sameDomain: false`. Turn off *Include emails found only as text on other domains* if you only want the company's own domain.
- **Phones without a country code** are only converted when the country is known (input field or ccTLD). On `.com` sites without a country set, only numbers written as `+1 ...`, `+44 ...` etc. or `tel:` links are returned.
- **Bot protection:** sites behind Cloudflare challenges or similar may answer `http-403`. The actor does not bypass bot protection or CAPTCHAs.
- The page limit counts the homepage. Very large corporate sites may keep contact details deeper than 5 pages; raise *Max pages per site* (up to 20) for those.

### Source & terms

- **Source:** the public web pages of the websites you enter (homepage and their own contact, about, impressum and team pages), fetched over plain HTTPS like a normal visitor. No third-party database, no login, no CAPTCHA or bot-protection bypass, no proxies.
- **robots.txt:** checked for every path before it is fetched (rules for `*` or for our user agent). Disallowed pages are skipped and listed in `robotsSkipped`; a site whose homepage is disallowed gets a free `robots-blocked` row.
- **Politeness:** pages of one site are fetched one at a time with a pause between requests (default 500 ms), at most 20 pages per site, with an identifying User-Agent.
- **Personal data and GDPR:** the actor collects **business contact details that companies publish on their own websites** (for example the contact email and phone number that the German impressum obligation requires). Some of these can still be personal data (for example `firstname.lastname@company.com` or a named team member). **You are responsible for using the results lawfully**: have a legal basis (for example legitimate interest for B2B outreach, documented), follow e-marketing and anti-spam rules (CAN-SPAM, the EU ePrivacy rules, Germany's UWG §7, which often require prior consent for marketing emails), tell people where you got their data, and **honor opt-outs and erasure requests**. Do not use the results for spam, and do not resell personal data.

### Pricing

Pay per event: **$1.00 per 1,000 websites scanned** (event `site-scanned`, $0.001 each), no matter how many pages per site (up to 20) are read. Invalid, unreachable, blocked and robots-blocked sites are free. Duplicate sites in the input are scanned only once.

Apify's free plan includes monthly platform credit, which is enough to try this actor at no cost.

### Is it legal?

Scraping publicly available web pages is generally allowed, and this actor only reads pages that site owners publish openly and allow in their robots.txt. It does not log in or get around any access control. Contact details can still be personal data under the GDPR and similar laws, so read the *Source & terms* section above: the lawful use of the results (no spam, honor opt-outs) is your responsibility. If you are unsure, ask a lawyer.

### Built with AI assistance

This actor was built with AI assistance (Claude by Anthropic). A human operator reviews and publishes it. It was tested with real websites before release. If something breaks or you need a feature, please open an issue on the **Issues** tab.

### Related actors and keywords

contact info scraper, email extractor, website email finder, phone number extractor, social media links extractor, company contact details, impressum scraper, B2B lead generation, CRM enrichment, contact page finder, linkedin company url finder

# Actor input Schema

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

Company websites, one per line: a domain (acme.com) or any URL of the site. Each site is scanned once (homepage + its contact/about/impressum/team pages).

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

Homepage included. Contact, impressum/imprint, about and team pages are fetched first. 5 is enough for most company sites.

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

2-letter country code (US, GB, DE, FI...) used to read local phone numbers like 030 1234567 and convert them to E.164 (+49301234567). Empty = taken from the site's country domain (.de, .fi, .co.uk); on .com sites only numbers written with a + country code are converted.

## `guessCommonPaths` (type: `boolean`):

Some sites hide the contact link in JavaScript menus. When the homepage has no contact or impressum link, the actor tries these common paths (still within the page limit and robots.txt).

## `includeOtherDomainEmails` (type: `boolean`):

Emails on the site's own domain are always included, and so are mailto links. Turn off to drop plain-text emails of other domains (agencies, partners, gmail.com addresses).

## `includeUnverifiedPhones` (type: `boolean`):

tel: links are kept even when they can't be parsed (valid: false, e164: null). Numbers found only in text are always validated.

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

Every path is checked against the site's robots.txt before it is fetched. Disallowed pages are listed in robotsSkipped and not fetched.

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

How many different sites are scanned at the same time. Pages of one site are always fetched one by one.

## `delayBetweenRequestsMs` (type: `integer`):

Minimum pause between two requests to one host.

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "basecamp.com",
    "mailchimp.com"
  ],
  "maxPagesPerSite": 5,
  "defaultCountry": "",
  "guessCommonPaths": true,
  "includeOtherDomainEmails": true,
  "includeUnverifiedPhones": true,
  "respectRobotsTxt": true,
  "maxConcurrency": 5,
  "delayBetweenRequestsMs": 500
}
```

# 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": [
        "apify.com",
        "basecamp.com",
        "mailchimp.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("agebreak/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": [
        "apify.com",
        "basecamp.com",
        "mailchimp.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("agebreak/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": [
    "apify.com",
    "basecamp.com",
    "mailchimp.com"
  ]
}' |
apify call agebreak/website-contact-extractor --silent --output-dataset

```

## MCP server setup

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