# Website Contact Details Extractor (`nordic-data/website-contact-details-extractor`) Actor

Extract emails, phone numbers and social profiles (LinkedIn, Facebook, Instagram, X, YouTube, TikTok, GitHub) from company websites in bulk. Crawls contact, about and impressum pages. $0.0039 per website with contacts.

- **URL**: https://apify.com/nordic-data/website-contact-details-extractor.md
- **Developed by:** [Niklas Bergström](https://apify.com/nordic-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.90 / 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 Extractor

Get **emails, phone numbers and social media profiles** from any list of company websites. The Actor opens the homepage, follows the site's own contact, about, impressum, team and legal pages, and returns one clean, de-duplicated record per website — no browser, no proxies, no API key.

**$0.0039 per website with contacts.** You pay per website, not per page: up to 20 pages per site are crawled for the same price. Websites where nothing is found, unreachable or blocked sites, invalid inputs and duplicates are **free**.

### What you get

| Field | Meaning |
|---|---|
| `domain`, `url`, `title` | The website that was crawled |
| `emails`, `primaryEmail`, `emailCount` | Email addresses from `mailto:` links, page text, JSON-LD and `[at]`/`(dot)` obfuscation; company-domain addresses first |
| `phones`, `primaryPhone`, `phoneCount` | Numbers from `tel:` links and international numbers in the text |
| `linkedin`, `facebook`, `instagram`, `twitter`, `youtube`, `tiktok`, `github` | Profile links found on the site (share buttons are ignored) |
| `otherSocials` | Pinterest, Threads, Bluesky, Telegram |
| `pagesScanned` | Which pages the contacts came from |

### Use cases

- **Lead generation:** turn a list of company domains into emails, phones and LinkedIn company pages.
- **CRM enrichment:** fill missing contact fields for accounts you already have.
- **Partner and supplier research:** find the right inbox (sales@, press@, support@) for hundreds of companies at once.
- **Data hygiene:** check which sites still publish a contact address or phone.

### Input example

```json
{
  "urls": ["apify.com", "stripe.com", "https://www.mollie.com/"],
  "maxPagesPerSite": 5,
  "phonesFromText": true,
  "onlySameDomainEmails": false,
  "onlyWithContacts": true,
  "maxConcurrency": 8
}
```

### Output example

```json
{
  "recordType": "website",
  "domain": "apify.com",
  "url": "https://apify.com/",
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "emails": ["hello@apify.com", "support@apify.com"],
  "primaryEmail": "hello@apify.com",
  "phones": [],
  "linkedin": ["https://linkedin.com/company/apify"],
  "twitter": ["https://x.com/apify"],
  "github": ["https://github.com/apify"],
  "emailCount": 2,
  "socialCount": 3,
  "pagesScanned": ["https://apify.com/", "https://apify.com/contact"],
  "checkedAt": "2026-11-12T06:30:00Z"
}
```

(Example values; live sites change.)

### How it works

1. Fetch the homepage over plain HTTP(S) and read every link, `mailto:` and `tel:`.
2. Queue same-site pages whose URL or link text looks like contact, about, impressum, imprint, team, legal or support (Swedish, Danish, Norwegian, Finnish and German variants included); contact pages go first.
3. Merge and de-duplicate everything across pages; placeholder addresses (example.com, image file names, tracking hashes) are dropped.

Only public pages are requested. The Actor does not log in, submit forms, solve captchas or visit social networks — social links are read from the company's own site. Sites that block automated requests are returned as free `blocked` error rows. You are responsible for using the contacts in line with GDPR and anti-spam rules.

### Related Actors

- [Website Tech Stack Detector](https://apify.com/nordic-data/website-tech-stack-detector)
- [Website Favicon and Logo Extractor](https://apify.com/nordic-data/website-favicon-logo-extractor)
- [Domain WHOIS & DNS Lookup](https://apify.com/nordic-data/domain-whois-dns-lookup)
- [Nordic Company Registry](https://apify.com/nordic-data/nordic-company-registry)

# Changelog

This Actor's version history is a separate document: https://apify.com/nordic-data/website-contact-details-extractor/changelog.md

# Actor input Schema

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

Company domains or homepage URLs, e.g. apify.com or https://www.example.com/. Duplicates are skipped and never charged.

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

Homepage plus up to this many contact, about, impressum, team and legal pages on the same site (1-20). The price is per website, not per page.

## `phonesFromText` (type: `boolean`):

Besides tel: links, also pick up international numbers written in the text (starting with +).

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

Drop addresses on other domains (agencies, Gmail, partners).

## `onlyWithContacts` (type: `boolean`):

Websites where no email, phone or social profile is found are skipped and never charged.

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

How many websites are crawled in parallel (1-25).

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "spotify.com",
    "ikea.com"
  ],
  "maxPagesPerSite": 5,
  "phonesFromText": true,
  "onlySameDomainEmails": false,
  "onlyWithContacts": true,
  "maxConcurrency": 8
}
```

# Actor output Schema

## `results` (type: `string`):

Main results (view: Overview).

## `runStats` (type: `string`):

Counts of delivered, hidden, invalid, duplicate and failed inputs.

# 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",
        "spotify.com",
        "ikea.com"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("nordic-data/website-contact-details-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",
    "spotify.com",
    "ikea.com"
  ]
}' |
apify call nordic-data/website-contact-details-extractor --silent --output-dataset

```

## MCP server setup

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