# Contact Details Scraper: Business Emails, Phones & Socials (`pikoulas/contact-details`) Actor

Get each website's business emails, phone numbers, social profiles, company name and address from its home, contact, imprint and about pages. People's own emails are left out. $3 per 1,000 websites with contacts found.

- **URL**: https://apify.com/pikoulas/contact-details.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (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 $3.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Contact Details Scraper: Business Emails, Phones & Socials

The contact details of any list of websites: business emails, phone numbers, social profiles,
company name and address. Give it domains and it reads each one's home page, then the contact,
imprint and about pages it links to, and gives one row per website.

Each website comes with its business emails (info@, sales@, support@ and the like), its phone numbers
in international format, its LinkedIn company page, Facebook, Instagram, X, YouTube, TikTok and other
profiles, the company name and postal address from the site's own markup, and its contact page.
Emails that belong to a person (jane.doe@) are left out and only counted.

It costs **$3 per 1,000 websites with contacts found**. A website without any is free.

### What people use it for

- **Lead lists:** a list of shop, agency or restaurant domains turned into emails, phones and social
  profiles to reach them by.
- **CRM enrichment:** the phone, address and LinkedIn page for the domains already in a CRM.
- **Outreach for partnerships and PR:** the press@, partners@ or info@ mailbox of each site on a list.
- **Checking a list:** which websites still answer, and which have a contact form.

### How to get contact details from websites

1. Click **Try for free**; Apify's free plan covers a first run.
2. Add **Websites**: domains such as `example.com`, or page URLs.
3. Click **Start**, then download the results as JSON, CSV, Excel or HTML, or read them through
   the API.

**Pages per website** sets how much of each site is read: 1 is the home page alone, 4 (the default)
adds its contact, imprint and about pages, where most phone numbers and emails are.

### Output

```json
{
  "website": "https://hetzner.com/",
  "domain": "hetzner.com",
  "emails": ["product-feedback@hetzner.com", "dsa-authorities@hetzner.com", "info@hetzner.com", "tco@hetzner.com", "contact-fi@hetzner.com"],
  "phones": ["+4998315050", "+49911234226100", "+49374574447100", "+358753259100", "+4998315053", "+3587532590"],
  "personalEmailsLeftOut": 0,
  "companyName": null,
  "streetAddress": null,
  "postalCode": null,
  "city": null,
  "region": null,
  "country": null,
  "linkedin": "https://linkedin.com/company/hetzner-online",
  "facebook": "https://facebook.com/hetzner.de",
  "instagram": "https://instagram.com/hetzner.online",
  "twitter": "https://twitter.com/Hetzner_Online",
  "youtube": "https://youtube.com/channel/UC5GXP-_6UWl5I9pisIDohUA",
  "tiktok": null,
  "pinterest": null,
  "github": null,
  "xing": null,
  "telegram": null,
  "whatsapp": null,
  "threads": null,
  "bluesky": null,
  "contactPageUrl": "https://www.hetzner.com/support/",
  "contactForm": false,
  "pagesRead": ["https://www.hetzner.com/", "https://www.hetzner.com/support/", "https://www.hetzner.com/legal/legal-notice/", "https://www.hetzner.com/unternehmen/ueber-uns/"],
  "error": null
}
```

Phone numbers are in E.164 form (`+4998315050`), up to six per website. Company name and address come
from the site's structured data, as on [HubSpot's](https://www.hubspot.com/): `"companyName": "HubSpot",
"streetAddress": "2 Canal Park", "city": "Cambridge", "region": "MA", "country": "US"`; Hetzner's pages
have none, so its row has them as `null`. A local number written without its country code is read
for the country of the site's domain (.de, .co.uk) or page language. A website that isn't read has only `website` and `error`, which says why.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~contact-details/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"websites": ["hubspot.com", "hetzner.com"]}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/contact-details`.

### How much does it cost to get contact details?

You pay **$0.003 per website with contacts found**, which is $3 per 1,000, on Apify's paid plans,
and $4 per 1,000 on the free plan, whether it reads one page of the site or four. A website without
a business email, phone number or social profile, or one that refuses or whose robots.txt keeps it
out, is free. There are no monthly fees. Set a spending limit on a run and it stops there with what
it has.

### Good to know

- An email is kept when its mailbox names a role (info, sales, kontakt, support, press and so on, in
  the main European languages) or when the site's structured data names it as the business's own.
  An email that reads as a person's is left out; `personalEmailsLeftOut` counts them.
- LinkedIn company and school pages are given; people's LinkedIn profiles are not.
- Emails written as `info (at) example [dot] com` are read too.
- Emails a hacked site carries for spammers are left out: those in hidden text, and those at a domain
  unlike the site's or the business's name, unless it is a mail provider's (Gmail, Outlook, Comcast,
  Orange and the like). A business writing from another company's domain is left out with them.
- A site that builds its pages in the browser with JavaScript may read as empty.
- It reads each website about once a second, from one address and without a proxy, and keeps to each
  website's robots.txt. A website that refuses or answers with a check page is left alone.

### FAQ

#### Is it legal to scrape contact details from websites?

It reads only the public pages of the websites you give it, and gives the contact details a business
publishes for itself. It leaves out emails that belong to people and people's social profiles. Each
website has its own terms, and you answer for the websites you give it and for your use of what it
finds: laws on marketing by email or phone (the GDPR and ePrivacy rules in Europe, CAN-SPAM and the
TCPA in the US) apply to business contacts too. If you're unsure, ask a lawyer; Apify's
[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) is a good start. This Actor
isn't affiliated with or endorsed by any of the websites it reads.

#### Why are some emails missing?

Only business mailboxes are given, so a site whose only address is a person's has none. Some sites
show their email only as an image or behind a contact form, and those can't be read. An address at
another company's domain, or only in hidden text, is left out as a spammer's might be.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

## `websites` (type: `array`):

The websites to get contact details from, any number: a domain such as example.com, or a page's URL. Each is read from its home page, then the contact, imprint and about pages it links to.

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

How many pages of each website to read: 1 is the home page alone; up to 4 adds its contact, imprint and about pages. Fewer pages finish faster; the price is per website either way.

## Actor input object example

```json
{
  "websites": [
    "hubspot.com",
    "joesstonecrab.com",
    "hetzner.com"
  ],
  "maxPagesPerSite": 4
}
```

# Actor output Schema

## `overview` (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 = {
    "websites": [
        "hubspot.com",
        "joesstonecrab.com",
        "hetzner.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/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 = { "websites": [
        "hubspot.com",
        "joesstonecrab.com",
        "hetzner.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/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 '{
  "websites": [
    "hubspot.com",
    "joesstonecrab.com",
    "hetzner.com"
  ]
}' |
apify call pikoulas/contact-details --silent --output-dataset

```

## MCP server setup

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