# Contact Details Scraper - Emails & Phones (`karioski/contact-details-scraper`) Actor

Turn websites into B2B leads: emails (incl. hidden ones), validated phone numbers, LinkedIn, Facebook, Instagram and 7 more networks, company name and address. One clean row per company, generic vs personal email tags and MX check.

- **URL**: https://apify.com/karioski/contact-details-scraper.md
- **Developed by:** [KARIOSKI](https://apify.com/karioski) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 lead with contacts founds

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/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** finds **emails, phone numbers and social media profiles** on company websites and returns **one clean lead row per company**. Give it a list of domains or URLs, from a CRM export, a Google Maps search or a trade-show list, and get back business emails (including hidden ones), validated phone numbers, LinkedIn, Facebook, Instagram, X and more, plus the company name and address.

### What can this Actor do?

- **Emails** from `mailto:` links, page text, structured data, **Cloudflare-protected** addresses and `name [at] domain [dot] com` obfuscation.
- **Email intelligence**: generic vs personal, on the company's domain or not, **MX check**, and a chosen `primaryEmail`.
- **Validated phone numbers** (Google libphonenumber), formatted and in E.164.
- **10 social networks**: LinkedIn, Facebook, Instagram, X/Twitter, YouTube, TikTok, Pinterest, GitHub, WhatsApp, Telegram, taken from the company's own header, footer and structured data.
- **Smart crawling**: homepage, then contact, imprint, about and team pages first (multi-language).
- **Fast HTTP crawling**, no browser: thousands of websites per run.

### Why choose it over other tools?

- **One price per lead**, not per page, per email and per social profile.
- **No charge** for websites where nothing was found.
- Fewer false positives: page statistics aren't mistaken for phones, and customer logos aren't mistaken for the company's social accounts.

### What data can I extract?

| Field | Description |
|---|---|
| `domain / websiteUrl / companyName / description` | Company identity |
| `primaryEmail / emails / emailDetails` | Best email, all emails, and per-email type, domain match and MX validity |
| `phones / phonesE164` | Validated phone numbers |
| `linkedin / facebook / instagram / twitter / youtube / tiktok / ...` | Social profile URLs |
| `address / addresses` | Postal address from structured data |
| `contactPageUrl / pagesCrawled` | Where to follow up and crawl depth |

### How to use it

1. Paste websites or bare domains, one per line.
2. Set how many pages per website to check (8 is a good default).
3. Set the default country for local phone formats.
4. Click **Start** and export your leads to Excel, CSV or your CRM.

### Input example

```json
{
  "websites": [
    "stripe.com",
    "hubspot.com",
    "https://www.fika.paris"
  ],
  "maxPagesPerDomain": 8,
  "defaultCountry": "US",
  "checkMx": true,
  "onlyWithContacts": true
}
```

### Output example

```json
{
  "domain": "stripe.com",
  "companyName": "Stripe",
  "primaryEmail": "sales@stripe.com",
  "emails": [
    "sales@stripe.com"
  ],
  "phones": [
    "+1 888 926 2289"
  ],
  "linkedin": [
    "https://www.linkedin.com/company/stripe"
  ],
  "instagram": [
    "https://www.instagram.com/stripehq"
  ],
  "contactPageUrl": "https://stripe.com/contact/sales"
}
```

Download the dataset as JSON, CSV, Excel or HTML, or read it with the API.

### How much does it cost?

This Actor uses **pay-per-event** pricing: you pay only for results delivered, and platform usage is included. Prices drop further on higher Apify plans (Silver, Gold).

| What you pay for | Price on paid plans |
|---|---|
| Lead (a website where at least one contact was found) | $0.006 ($6 per 1,000 leads) |

**Example:** 5,000 websites, of which 3,500 have contacts, cost **$21**. Websites with nothing found are free.

You can set a **maximum cost per run** in the run options; the Actor stops cleanly when it is reached. Failed items and errors are never charged.

### Use cases

- **B2B lead generation** and outbound sales prospecting.
- **CRM enrichment**: fill missing emails, phones and social links.
- **Agency prospecting** combined with our Google Maps scraper.
- **Partner and supplier research**.

### Integrations and API

You can run this Actor and get its data in many ways:

- **Apify API and clients** for [JavaScript](https://docs.apify.com/api/client/js) and [Python](https://docs.apify.com/api/client/python): start runs and download results as JSON, CSV, Excel, XML or HTML.
- **Schedules**: run it hourly, daily or weekly to monitor changes.
- **Integrations**: Make, Zapier, n8n, Google Sheets, Slack, Airbyte, webhooks and more.
- **AI agents (MCP)**: add it to Claude, Cursor, VS Code or any MCP client through the [Apify MCP server](https://mcp.apify.com), and your agent can call it as a tool.

### FAQ

#### Does it guess emails?

No. Only addresses actually published on the website are returned; nothing is generated.

#### What does the MX check do?

It verifies the email's domain can receive mail. It is a fast quality filter, not a full mailbox verification.

#### Is it legal to scrape this data?

This Actor collects only publicly available data and does not log in to any account. Personal data is protected by laws such as the GDPR in the EU; don't scrape personal data unless you have a legitimate reason. If you're unsure whether your use case is legitimate, consult a lawyer. See also Apify's post on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### Related tools

- [Google Maps Scraper with Emails](https://apify.com/karioski/google-maps-scraper): find local businesses and their websites
- [LinkedIn Jobs Scraper](https://apify.com/karioski/linkedin-jobs-scraper): companies hiring now = warm leads
- [App Store & Google Play Reviews Scraper](https://apify.com/karioski/app-reviews-scraper): app developers' contact emails

Found a bug or missing a feature? Open an issue on the **Issues** tab. We usually reply within 24 hours.

# Actor input Schema

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

One per line: full URLs or bare domains (example.com).

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

Homepage first, then contact, about, team, imprint and legal pages are prioritised.

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

ISO code (US, GB, FR, DE...) used to read local-format numbers. International (+) numbers are always detected.

## `checkMx` (type: `boolean`):

Flag emails whose domain cannot receive mail.

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

Don't output (or charge for) websites where nothing was found.

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

How many pages are processed in parallel. Lower it if the target site starts blocking.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "https://www.crawlee.dev"
  ],
  "maxPagesPerDomain": 8,
  "defaultCountry": "US",
  "checkMx": true,
  "onlyWithContacts": false,
  "maxConcurrency": 20
}
```

# 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 = {
    "websites": [
        "apify.com",
        "https://www.crawlee.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("karioski/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 = { "websites": [
        "apify.com",
        "https://www.crawlee.dev",
    ] }

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

```

## MCP server setup

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