# Contact Details Scraper — Business Emails, Phones & Socials (`yugenox/contact-details-scraper`) Actor

Get business emails, phone numbers and social profiles (Facebook, Instagram, LinkedIn, X, YouTube, TikTok) from any list of websites. Reads the homepage, contact, impressum and about pages, plus company name, address and logo. Role mailboxes only. Pay only for websites with contacts.

- **URL**: https://apify.com/yugenox/contact-details-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Lead generation, Business, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.25 / 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

Paste a list of business websites and get back, for each one, its **business email addresses, phone numbers and social profiles** (Facebook, Instagram, LinkedIn, X / Twitter, YouTube, TikTok), its contact page and the company name, address and logo it publishes. One clean row per website, ready for your CRM or outreach tool.

**You only pay for websites where contact details were found.** Sites with nothing on them, sites that can't be reached and duplicates are free.

### What it does

For every website it reads:

1. the site's robots.txt (pages the site asks crawlers to skip are never fetched),
2. the **homepage**,
3. up to 3 more pages linked from it: the **contact** page, the **impressum / legal notice** page and the **about / team** page.

It then collects:

- **Emails** — business role mailboxes on the site's own domain: `info@`, `sales@`, `support@`, `hello@`, `bookings@`, `press@` … Mailboxes that name a person are left out.
- **Phones** — from click-to-call links, the site's structured data and the contact page text, in international format (`+14165550123`). Local numbers are read in the site's country (from its domain, its published address or your Country setting).
- **Social profiles** — the business's own Facebook, Instagram, LinkedIn company page, X, YouTube channel and TikTok. Share buttons, embedded videos and web-designer credits are ignored.
- **Organization** — name, legal name, postal address and logo, when the site publishes them.

### Use cases

- Enrich a lead list from a Google Maps scrape: pass the dataset ID and get emails and socials for every place with a website.
- Clean up a CRM: add missing phones, emails and LinkedIn pages to company records.
- Local marketing agencies: build outreach lists of restaurants, clinics, trades and shops.
- Find a brand's social accounts across hundreds of websites at once.

### Input

| Field | What it is |
|---|---|
| **Websites** | Domains or URLs, one per line (`acme.com`, `https://www.acme.co.uk/contact`). |
| **Start URLs** | The same in `[{"url": "..."}]` format — paste input from other contact scrapers as is. |
| **Read websites from a dataset** | An Apify dataset with a `website` / `domain` / `url` column, e.g. a Google Maps scraper run. |
| **Read websites from a CSV link** | A CSV file or a shared Google Sheet with a website column. |
| **Pages per website** | 1-4 (default 3). 1 = homepage only. |
| **Only save websites with contact details** | On by default. Off = every website gets a row with a status. |
| **Max websites** | Stop after this many. |
| **Country** | Two-letter code used to read local phone numbers on `.com`-style sites. |

Example:

```json
{ "urls": ["nadege-patisserie.com", "muttonheads.com"], "maxPagesPerDomain": 3 }
```

### Output

A real row (trimmed):

```json
{
  "domain": "nadege-patisserie.com",
  "url": "https://www.nadege-patisserie.com/",
  "status": "ok",
  "companyName": "Nadège Patisserie",
  "emails": ["info@nadege-patisserie.com", "marketing@nadege-patisserie.com"],
  "phones": ["+16473424464"],
  "facebooks": ["https://www.facebook.com/nadegepatisserie"],
  "instagrams": ["https://www.instagram.com/nadegetoronto"],
  "twitters": ["https://x.com/nadegetoronto"],
  "linkedIns": [], "youtubes": [], "tiktoks": [],
  "contactPageUrl": "https://www.nadege-patisserie.com/contact/",
  "organization": { "name": "Nadège Patisserie", "legalName": null, "address": null, "logo": "https://www.nadege-patisserie.com/wp-content/uploads/2024/06/cropped-Open-folder-Nadege-logo.jpeg.png" },
  "pagesChecked": ["https://www.nadege-patisserie.com/", "https://www.nadege-patisserie.com/contact/", "https://www.nadege-patisserie.com/about/"]
}
```

The arrays (`emails`, `phones`, `linkedIns`, `twitters`, `instagrams`, `facebooks`, `youtubes`, `tiktoks`) use the same names as other popular contact scrapers, so you can switch without changing your integration.

`status` tells you what happened: `ok`, `no_contacts`, `blocked` (the site refused automated visits), `robots_disallowed`, `unreachable`, `timeout`, `not_found`, `parked`, `no_content` (the page needs a browser to show anything), and a few more.

### Price

**$2.00 per 1,000 websites with contact details** ($1.25 per 1,000 on Gold plans and above), plus a $0.002 start fee per run. Websites without contacts are free. Unlike per-page pricing, checking 4 pages of a site costs the same as checking 1.

### Tips

- Keep **Pages per website** at 3: most small businesses put their email on the contact page, not the homepage.
- Some sites ask crawlers to wait between pages (Crawl-delay). The Actor waits as asked; when the wait is very long it reads fewer pages and sets `crawlDelayLimited: true`.
- Some sites (many online stores in particular) refuse automated visits. They come back as `blocked` and are free.
- Pages that only render in a browser (`no_content`) are not read.

### FAQ

**Is it legal to scrape business websites?**
This Actor reads public pages that businesses publish so customers can contact them, and it follows each site's robots.txt. It collects business contact points (role mailboxes, business phones, company social pages), not personal data. You are responsible for how you use the results — for example, follow anti-spam laws such as CAN-SPAM, CASL and GDPR when you send emails.

**Does it access any private data?**
No. It never logs in and reads only public pages. Email addresses that name a person (like `john.smith@`) and free webmail addresses are dropped; only business role mailboxes are kept.

**Why is a website missing emails?**
Many sites use a contact form instead of an email address, or show the address only in an image. Phones and social profiles are often still found.

**Can I use the output of a Google Maps scraper?**
Yes — put its dataset ID in "Read websites from a dataset". The `website` column is read and the place name is kept in `inputName`.

# Actor input Schema

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

Business websites or domains, one per line: acme.com, https://www.acme.co.uk, https://acme.de/kontakt. Each domain is checked once and gives one row.

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

The same as Websites, in the \[{"url": "https://..."}] format other contact scrapers use — paste your existing input here.

## `datasetId` (type: `string`):

ID of an Apify dataset whose items have a website / domain / url column — for example the output of a Google Maps scraper run.

## `csvUrl` (type: `string`):

A link to a CSV file (or a Google Sheet shared with "Anyone with the link") with a website, domain or url column, or one website per line.

## `maxPagesPerDomain` (type: `integer`):

How many pages of each site are read: the homepage, then the contact page, the impressum / legal page and the about / team page. 1 = homepage only (fastest), 3 = recommended.

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

On: websites where nothing was found are left out of the dataset (they are free either way). Off: they are saved too, with a status saying why (blocked, unreachable, no contacts …).

## `maxDomains` (type: `integer`):

Stop after this many websites. Leave empty to check the whole list (up to 50,000 per run).

## `countryHint` (type: `string`):

Two-letter country code (US, CA, GB, IN …) used to read local phone numbers on sites whose domain and address don't say the country, such as .com sites. Optional.

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

Apify datacenter proxies are used. Residential proxies are not used by this Actor.

## Actor input object example

```json
{
  "urls": [
    "nadege-patisserie.com",
    "muttonheads.com"
  ],
  "maxPagesPerDomain": 3,
  "onlyWithContacts": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per website with its emails, phones and social profiles.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, statuses per website, requests.

# 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": [
        "nadege-patisserie.com",
        "muttonheads.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/contact-details-scraper").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": [
        "nadege-patisserie.com",
        "muttonheads.com",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/contact-details-scraper").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": [
    "nadege-patisserie.com",
    "muttonheads.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/contact-details-scraper --silent --output-dataset

```

## MCP server setup

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

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/1jUOhj8OjBtvmPu10/builds/W3A26vlXdwNtA2VW1/openapi.json
