# Contact Details Scraper - Emails, Phones & Socials per Website (`dennydevelops/company-contact-finder`) Actor

Contact details from company websites, priced per website not per page: role emails (info@, sales@), phone numbers, LinkedIn, X, Facebook, Instagram, YouTube, address and contact page. Personal emails are never collected (GDPR-friendly).

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

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Company Contact Finder – Role Emails, Phones, Socials (Bulk)

Give it a list of company websites; get back each company's **public business contact details**:

- **Role email addresses**: info@, hello@, sales@, support@, press@, partners@… ranked so the best general inbox comes first
- **Phone numbers**, from `tel:` links and the site's structured data
- **Company social pages**: LinkedIn company page, X/Twitter, Facebook, Instagram, YouTube, TikTok, GitHub, Pinterest, Threads
- **Company name and address** from the site's schema.org data
- **Contact page URL**, and whether it has a contact form

For each site it reads the home page, then the contact, about, support, legal and press pages it links to (5 pages by default). Emails hidden by Cloudflare's email protection or written as `name [at] domain [dot] com` are decoded.

### Privacy by design: no personal data

This tool collects **company contact points only**:

- Emails that look personal (`jane.doe@`, `jdoe@`) are **never stored or output**. Only their count appears, as `personalEmailsSkipped`.
- Personal social profiles (`linkedin.com/in/…`) are ignored. Only company pages are kept.
- Team, staff and leadership pages are skipped entirely.

That keeps your lead list GDPR- and CAN-SPAM-friendly: you contact the company's own inboxes, not individuals scraped from the web.

### Input

| Field | Default | Meaning |
|---|---|---|
| `websites` | – | Company domains or URLs (email addresses work too) |
| `maxPagesPerSite` | 5 | Home page plus up to 4 contact-type pages |
| `onlyWithContacts` | false | Only output sites where an email or phone was found |
| `maxWebsites` | 10000 | Cap per run |

### Output

```json
{
  "domain": "buffer.com",
  "companyName": "Buffer",
  "primaryEmail": "hello@buffer.com",
  "emails": ["hello@buffer.com", "legal@buffer.com", "press@buffer.com", "privacy@buffer.com", "security@buffer.com"],
  "primaryPhone": null,
  "phones": [],
  "linkedin": "https://www.linkedin.com/company/bufferapp",
  "twitter": "https://x.com/buffer",
  "facebook": "https://www.facebook.com/bufferapp",
  "instagram": "https://www.instagram.com/buffer",
  "youtube": null,
  "address": null,
  "contactPageUrl": null,
  "hasContactForm": false,
  "personalEmailsSkipped": 1,
  "pagesChecked": 5,
  "httpStatus": 200,
  "error": null,
  "checkedAt": "2026-11-11T19:00:00Z"
}
```

The run's `OUTPUT` record counts how many sites had an email, a phone and a LinkedIn page.

### Tips

- Emails on other domains (e.g. a support desk provider) are kept, but emails on the company's own domain rank first.
- Sites that block automated requests return an `error`.
- Many large companies publish only a contact form. `hasContactForm` and `contactPageUrl` tell you where to go.

### Pricing (pay per event)

**$0.003 per website** searched (up to 5 pages), plus $0.001 per run. 1,000 companies cost $3, with platform usage passed through at cost.

# Actor input Schema

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

Domains or URLs, e.g. "apify.com". Email addresses also work (the domain is used).

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

Home page plus contact, about, support and legal pages found on it. More pages find more, but take longer.

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

Skip sites where nothing was found. Every site searched is still billed.

## `maxWebsites` (type: `integer`):

Caps work and cost per run.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "basecamp.com",
    "zapier.com"
  ],
  "maxPagesPerSite": 5,
  "onlyWithContacts": false,
  "maxWebsites": 10000
}
```

# Actor output Schema

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

No description

## `summary` (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",
        "basecamp.com",
        "zapier.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dennydevelops/company-contact-finder").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",
        "basecamp.com",
        "zapier.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("dennydevelops/company-contact-finder").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",
    "basecamp.com",
    "zapier.com"
  ]
}' |
apify call dennydevelops/company-contact-finder --silent --output-dataset

```

## MCP server setup

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

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/2F2TPoOakSW8pryQ1/builds/YcFluCSPcSSub9p9b/openapi.json
