# Company Contact Extractor: Emails, Phones & Social Links (`latam_data/company-contact-extractor`) Actor

Get public business contact details from company websites: role emails (info@, sales@, support@), phone numbers, LinkedIn, Facebook, Instagram, X, YouTube, TikTok and contact page. Fast, cheap, respects robots.txt.

- **URL**: https://apify.com/latam_data/company-contact-extractor.md
- **Developed by:** [Cristian Camilo Gomez Diaz](https://apify.com/latam_data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 websites

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

## Company Contact Extractor: Emails, Phones & Social Links

Give it a list of **company websites** and get their **public business contact details** in one table: role emails like info@, sales@ or support@, phone numbers, social profiles (LinkedIn, Facebook, Instagram, X, YouTube, TikTok, Telegram, GitHub, Discord) and the contact page link.

It reads the home page plus the most likely contact, about, support and legal pages of each site, so it is **fast and cheap**. It respects robots.txt by default.

### Who uses it

- **B2B sales and partnerships**: turn a list of company domains into contact points for outreach.
- **Agencies and freelancers**: enrich prospect lists with emails, phones and social links.
- **Affiliate and partner programs**: find the partners@ or affiliates@ address of brands in your niche.
- **CRM clean-up**: fill missing company phone numbers and LinkedIn pages.
- **Market research**: see which companies in a list are on Instagram, TikTok or YouTube.

### Input

| Field | Description |
|---|---|
| Company websites | Domains or URLs, one per line |
| Max pages per website | Home page + likely contact pages (default 6) |
| Only company role emails | On by default: info@, contact@, sales@, support@, partners@... |
| Only emails on the company's own domain | Drop gmail.com and third-party emails |
| Respect robots.txt | On by default |

### Output example

```json
{
  "website": "https://www.example.com",
  "domain": "example.com",
  "companyName": "Example Inc.",
  "description": "We build example products.",
  "emails": ["info@example.com", "sales@example.com"],
  "emailDetails": [{ "email": "info@example.com", "isGeneric": true, "isSameDomain": true, "foundOn": "https://www.example.com/contact" }],
  "phones": ["+18005551234"],
  "linkedin": "https://www.linkedin.com/company/example",
  "facebook": "https://www.facebook.com/example",
  "instagram": "https://www.instagram.com/example",
  "x": "https://x.com/example",
  "youtube": null,
  "contactPageUrl": "https://www.example.com/contact",
  "pagesScanned": 4
}
```

Export to CSV, Excel or JSON, or send it to your CRM.

### Pricing

**$1.50 per 1,000 websites**, whatever the number of emails found. No monthly fee. The Apify free plan's $5 of monthly usage covers about 3,000 websites.

### Responsible use

This Actor only collects contact details that companies publish on their own websites. By default it keeps only role addresses (info@, sales@...), not people's personal emails. If you turn that off, or use the data for email marketing, follow the laws that apply to you (GDPR, CAN-SPAM, Colombia's Ley 1581 and similar): contact businesses with relevant offers, identify yourself, and honor opt-outs.

### Need a list of companies first?

- **News and trends in your niche**: our [Google News Scraper](https://apify.com/latam_data/google-news-scraper) and [Google Trends Trending Now Scraper](https://apify.com/latam_data/google-trends-trending-now-scraper).
- **Shopify stores**: our [Shopify Store Products Scraper](https://apify.com/latam_data/shopify-store-products-scraper-prices-variants-stock).
- **Who is hiring**: our [Career Site Jobs Scraper](https://apify.com/latam_data/career-site-jobs-scraper) and [Remote Jobs Scraper](https://apify.com/latam_data/remote-jobs-scraper-remotive-remoteok-himalayas-more) show companies that are growing.
- **Full page text for AI**: our [Website to Markdown Crawler for AI](https://apify.com/latam_data/website-to-markdown-crawler-for-ai).

### Integrations

Send contacts to Google Sheets, HubSpot, Airtable, Slack or a webhook with [Make](https://www.make.com/en/register?pc=latamdata), Zapier or n8n, or call the Actor from your code with the [Apify API](https://docs.apify.com/api/v2). New to Apify? [Create a free account here](https://apify.com?fpr=rfn03e).

Need ready-made data APIs? See [Zyla API Hub](https://zylalabs.com/a/f9jcfkz8). Websites that block you? Proxies from [Webshare](https://www.webshare.io/?referral_code=v5e0reweus4m) or scraping APIs like [ScraperAPI](https://www.scraperapi.com/?fp_ref=camilo-66b5f5) and [ScrapeOps](https://scrapeops.io?fpr=camilo-1a3b24) help.

### FAQ

**Why are some emails missing?** Many sites only show a contact form, or load emails with JavaScript. Those sites return phones and social links when available.

**Does it find personal emails of employees?** Not by default. It is built for company contact points.

# Actor input Schema

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

Company websites or domains, one per line, for example https://www.example.com or example.com.

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

The home page plus the most likely contact, about, support and legal pages.

## `onlyGenericEmails` (type: `boolean`):

Keep only role addresses such as info@, contact@, sales@, support@ or partners@. Turn off to also get other emails published on the site (they may belong to people; process them lawfully).

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

Drop emails on other domains, for example gmail.com or an agency's domain.

## `respectRobotsTxt` (type: `boolean`):

Skip pages the website asks crawlers not to visit.

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

How many websites to process at the same time.

## Actor input object example

```json
{
  "websites": [
    "https://apify.com",
    "https://www.webshare.io"
  ],
  "maxPagesPerSite": 6,
  "onlyGenericEmails": true,
  "onlySameDomainEmails": false,
  "respectRobotsTxt": true,
  "maxConcurrency": 5
}
```

# 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": [
        "https://apify.com",
        "https://www.webshare.io"
    ]
};

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

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

```

## MCP server setup

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