# Website Contact Details – Emails, Phones, Socials (`publicrows/website-contact-details`) Actor

Paste company websites, get their published contact channels: role e-mails (info@, sales@, support@), phone numbers, WhatsApp, and company LinkedIn, X, Facebook, Instagram, YouTube, TikTok and GitHub links. Firm-level only, GDPR-friendly, robots.txt honoured. $2 per 1,000 sites, first 20 free.

- **URL**: https://apify.com/publicrows/website-contact-details.md
- **Developed by:** [PublicRows](https://apify.com/publicrows) (community)
- **Categories:** Lead generation, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 websites checked

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

## Website Contact Details – Emails, Phones, Socials

Paste company websites, get their published contact channels: role e-mails (info@, sales@, support@), phone numbers, WhatsApp, and company LinkedIn, X, Facebook, Instagram, YouTube, TikTok and GitHub links. Firm-level only, GDPR-friendly, robots.txt honoured. $2 per 1,000 sites, first 20 free.

### Who this is for

Sales and growth teams turning a domain list into reachable companies, agencies enriching a prospect sheet, and AI agents that need the official way to contact a business: one website in, one row of its own published contact channels out.

### Sample output

```json
{
  "domain": "...",
  "fetch_status": "...",
  "page_title": "...",
  "emails": "...",
  "email_in_text": "...",
  "phones": "...",
  "whatsapp_url": "...",
  "linkedin_url": "..."
}
```

### What you get

One row per company. Every row also carries `_source` (attribution) and the recipe version.

| Field | Type |
| --- | --- |
| `domain` | string, always present |
| `fetch_status` | string, always present |
| `page_title` | string |
| `emails` | string |
| `email_in_text` | string |
| `phones` | string |
| `whatsapp_url` | string |
| `linkedin_url` | string |
| `twitter_url` | string |
| `facebook_url` | string |
| `instagram_url` | string |
| `youtube_url` | string |
| `tiktok_url` | string |
| `github_url` | string |
| `contact_page_url` | string |
| `row_key` | string, always present |
| `source_url` | url |

Only the homepage is read, once, after the site's robots.txt allows it. Every input comes back as a row: `fetch_status` is ok, not_found, blocked, transient or robots_disallowed.

**Firm-level only.** `emails` keeps role mailboxes (info@, sales@, support@, hello@ and about sixty other function names); an address that looks like a person's (jane.doe@) is dropped on purpose, so the output is safe to use under GDPR's legitimate-interest rules for B2B outreach. `linkedin_url` is the company page, never a personal profile.

`emails` and `phones` come from mailto: and tel: links (the channels the company chose to publish); `email_in_text` adds the first role mailbox written in the page text when there is no link.

Pair it with [Website to Company Profile](https://apify.com/publicrows/website-company-profile) for what the company does, or [Domains by Technology](https://apify.com/publicrows/domains-by-technology) to find the websites in the first place.

### Pricing

Pay per company: $0.002 each ($2.00 per 1,000). The first 20 rows of every run are free, so a test costs nothing.

### How to run

1. Keep the defaults for the standard sample, or set the inputs (listed last, below).
2. Run. Results land in the dataset as JSON, CSV or Excel.
3. From code or an agent: call it through the API, or as an MCP tool via mcp.apify.com.

### Source and fair use

Data comes from Data: contact channels the company publishes on its own homepage. The actor fetches public pages only, honours robots.txt, keeps a low request rate with an identified user agent, and returns structured facts, never copied text, images or reviews. No personal data of individuals is included.

### FAQ

**How fresh is the data?** Each run fetches live from the source.
**Can I get more fields?** Open an issue naming the field and where it appears at the source.
**Something broke?** Open an issue. Issues are answered within 12 hours.
**Found it useful?** A short review on this page helps other people find it, and tells us what to improve.

### Inputs

- `domains`: Company websites, one per line, as a domain or a URL (example.com, https://www.example.com/). Every line comes back as a row, with fetch_status saying what happened.
- `maxItems`: Stop after this many rows.

# Actor input Schema

## `domains` (type: `string`):

Company websites, one per line, as a domain or a URL (example.com, https://www.example.com/). Every line comes back as a row, with fetch_status saying what happened.

## `maxItems` (type: `integer`):

Stop after this many rows.

## Actor input object example

```json
{
  "domains": "apify.com\nstripe.com\nhubspot.com",
  "maxItems": 1000
}
```

# Actor output Schema

## `rows` (type: `string`):

Dataset items, one per company (domain, fetch_status, page_title, emails, email_in_text, phones, whatsapp_url, linkedin_url, twitter_url, facebook_url, instagram_url, youtube_url, tiktok_url, github_url, contact_page_url, row_key, source_url). Append ?format=csv or ?format=xlsx for other formats.

## `runSummary` (type: `string`):

Pages fetched, response classes, cost estimate and the quality-gate checks for this run.

# 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 = {
    "domains": `apify.com
stripe.com
hubspot.com`,
    "maxItems": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("publicrows/website-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 = {
    "domains": """apify.com
stripe.com
hubspot.com""",
    "maxItems": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("publicrows/website-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 '{
  "domains": "apify.com\\nstripe.com\\nhubspot.com",
  "maxItems": 1000
}' |
apify call publicrows/website-contact-details --silent --output-dataset

```

## MCP server setup

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