# Website Contact Scraper API (`api_harbor/website-contact-scraper`) Actor

Website Contact Scraper API: emails, phones, social profiles, addresses and legal IDs from any site (10 pages crawled). $15 per 1,000 websites, pay-per-website, failed items never charged. Callable from any MCP client (Claude, Cursor, ChatGPT).

- **URL**: https://apify.com/api_harbor/website-contact-scraper.md
- **Developed by:** [Api Harbor](https://apify.com/api_harbor) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Website Contact Scraper API

Extract emails, phone numbers, social media profiles, postal addresses and company legal IDs (SIREN, SIRET, VAT) from any website. Give it a list of domains, get one clean row of contact details per website. No login, no browser extension. Export to JSON, CSV, Excel, or use it as a website contact finder API.

**Price promise:** $15 per 1,000 websites, pay-per-website. Rows that fail come back with an `error` field and are never charged. No proxy fees, no extra compute to budget: the price per website is all you pay (plus $0.00005 per run start).

### What does Website Contact Scraper do?

For each website, it reads the home page and up to 9 key pages (contact, about, legal notice, team...), then returns:

- **Emails** with the page they were found on, how they were found, their type and whether they belong to the website's domain (`onDomain`)
- **Phone numbers** normalized to E.164 (`+33123456789`), with the raw text as shown on the site
- **Social profiles**: Facebook, Instagram, LinkedIn (company and profile), X, TikTok, YouTube, Pinterest, Threads, GitHub, WhatsApp, Telegram
- **Postal addresses**, **company name** and **legal IDs** (SIREN, SIRET, VAT number)

JavaScript-heavy sites are rendered in a real browser when the plain HTML is empty.

### Why use this website contact scraper?

- **Priced per website, not per lead.** $15 per 1,000 websites, whatever the number of emails, phones and profiles found. Leading contact scrapers on the Store charge per lead, around **$100 per 1,000 leads**: a website with 5 emails and 3 phones costs you 8 leads there, and one website here.
- **Polite crawling.** `robots.txt` and `Crawl-delay` respected, one request at a time per domain.
- **Clean data.** One row per website, phones in E.164, emails flagged on-domain or not, stable field names.
- **Failures are free.** A website that cannot be read returns a row with an `error` field and is never billed.

### Use cases

- **Lead generation:** turn a list of company domains into emails, phones and LinkedIn pages.
- **Enrich Google Maps leads:** add emails and social profiles to businesses scraped from Google Maps.
- **CRM enrichment:** fill missing contact fields and legal IDs for accounts you already have.
- **Market research:** map the social presence of competitors or a whole industry.
- **Lead-enrichment agents:** let an AI agent turn a domain into emails, phones and LinkedIn pages, mid-conversation.
- **Sales copilots:** give your copilot a "find contacts for this company" tool that returns structured JSON.

### How much does it cost to scrape contacts from websites?

| What | Price |
|---|---|
| Run start | $0.00005 per run |
| Website (crawled, all contacts included) | $15 per 1,000 websites |

| You get | You pay |
|---|---|
| 100 websites | $1.50 |
| 1,000 websites | $15 |
| 10,000 websites | $150 |

Websites that return an error are not billed. Set a maximum cost per run in Apify Console and the run stops cleanly at that budget.

### How to extract contacts from a list of websites

1. Click **Try for free**.
2. Paste your **websites**, one per line: full URLs (`https://example.com`) or bare domains (`example.com`).
3. Click **Start**, then download your data as JSON, CSV, Excel or HTML.

You can also call it from the Apify API, schedule it, or connect it to Make, Zapier, n8n or Google Sheets.

### Input

| Field | Description |
|---|---|
| `urls` | Website URLs or bare domains |

```json
{
  "urls": ["apify.com", "https://www.example.com"]
}
```

### What you get back

One row per website. Fields:

| Field | Type | Description |
|---|---|---|
| `input` | string | URL or domain as you gave it |
| `domain` | string | Domain, without `www.` |
| `url` | string | First page read |
| `pages` | array | URLs of the pages read |
| `pagesCrawled` | integer | Number of pages read |
| `companyName` | string | Company name found on the site |
| `emails[]` | array | `email`, `source` (page URL), `via` (how it was found, e.g. `text`, `cfemail`), `type` (`generic` / `personal`), `onDomain` (belongs to the site's domain) |
| `phones[]` | array | `e164` (normalized, e.g. `+33189470014`), `raw` (as shown), `source`, `via`, `type` (`fixed` / `mobile`) |
| `socials` | object | Profile URL lists keyed by network: `facebook`, `instagram`, `linkedin_company`, `linkedin_profile`, `x`, `tiktok`, `youtube`, `pinterest`, `threads`, `github`, `whatsapp`, `telegram` |
| `addresses` | array | Postal addresses |
| `legalIds` | object | `siren`, `siret`, `vat` |
| `error` | string | Error message, on failed rows only (never billed) |

### Output example

Trimmed item from a real run:

```json
{
  "domain": "leslipfrancais.fr",
  "url": "https://www.leslipfrancais.fr/",
  "companyName": "Le Slip Français",
  "pagesCrawled": 8,
  "emails": [
    {
      "email": "bonjour@leslipfrancais.fr",
      "onDomain": true,
      "source": "https://www.leslipfrancais.fr/policies/legal-notice",
      "type": "generic",
      "via": "cfemail"
    },
    {
      "email": "presse@leslipfrancais.fr",
      "onDomain": true,
      "source": "https://www.leslipfrancais.fr/pages/contact-presse",
      "type": "generic",
      "via": "cfemail"
    },
    {
      "email": "guillaume@leslipfrancais.fr",
      "onDomain": true,
      "source": "https://www.leslipfrancais.fr/pages/contact-presse",
      "type": "personal",
      "via": "cfemail"
    }
  ],
  "phones": [
    {
      "e164": "+33189470014",
      "raw": "01 89 47 00 14",
      "source": "https://www.leslipfrancais.fr/policies/terms-of-service",
      "type": "fixed",
      "via": "text"
    },
    {
      "e164": "+33695811982",
      "raw": "+33695811982",
      "source": "https://www.leslipfrancais.fr/pages/contact-presse",
      "type": "mobile",
      "via": "text"
    }
  ],
  "socials": {
    "facebook": [
      "https://facebook.com/leslipfrancais"
    ],
    "instagram": [
      "https://instagram.com/leslipfrancais"
    ],
    "youtube": [
      "https://youtube.com/user/leslipfrancais"
    ]
  },
  "legalIds": {
    "siren": "539130195",
    "siret": "53913019500065",
    "vat": "FR84539130195"
  }
}
```

Fields: `domain`, `url`, `pages`, `pagesCrawled`, `companyName`, `emails` (`email`, `source`, `via`, `type`, `onDomain`), `phones` (`e164`, `raw`, `source`, `via`, `type`), `socials`, `addresses`, `legalIds` (`siren`, `siret`, `vat`), and `error` on failed items.

### Use it from AI agents (MCP)

This Actor is callable from any MCP client (Claude, Cursor, ChatGPT, VS Code) through the Apify MCP server. Your agent gets it as a tool and calls it on demand.

- **MCP server URL:** `https://mcp.apify.com/?actors=api_harbor/website-contact-scraper`
- **Token:** your Apify API token, from Apify Console > Settings > Integrations.

**Claude Desktop** (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/website-contact-scraper",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

**Claude Code:**

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?actors=api_harbor/website-contact-scraper" --header "Authorization: Bearer <APIFY_TOKEN>"
```

**Cursor** (`.cursor/mcp.json`) or **VS Code** (`.vscode/mcp.json`, use `"servers"` instead of `"mcpServers"`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/website-contact-scraper",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

Example prompts:

- "Find the contact email and phone number of leslipfrancais.fr."
- "Here are 20 domains: get each company's generic email, LinkedIn page and VAT number, as a table."
- "Enrich these Google Maps leads with emails and Instagram profiles, and keep only on-domain emails."

### Caching and errors

- **Caching:** identical requests made shortly after each other can be served from cache, so results come back faster.
- **Structured errors:** a website that cannot be processed still returns a row, with the input and an `error` field explaining why. These rows are never charged, so a batch never fails silently and you never pay for a miss.

### FAQ

**Do I need to log in anywhere?**
No. Only public pages of the websites you list are read.

**Is it legal to scrape contact details from websites?**
The Actor reads publicly published business contact information. Personal data such as names or personal emails can fall under GDPR or other laws. You are responsible for having a lawful basis for your use.

**Can I use it through an API or from Python?**
Yes. Use the Apify API or the `apify-client` package for Python or JavaScript, and read the results from the run's dataset.

**Can I schedule it?**
Yes. Create a schedule in Apify Console to run it daily, weekly or on any cron expression.

**Does it work with Make, Zapier or n8n?**
Yes, through the Apify integrations for Make, Zapier and n8n, or with a webhook at the end of each run.

**Why did a website return no email?**
Some sites only offer a contact form, hide emails behind JavaScript, or block crawlers. Such sites still return a row with what was found.

**Can I use it from Claude, Cursor or ChatGPT (MCP)?**
Yes. Add `https://mcp.apify.com/?actors=api_harbor/website-contact-scraper` as an MCP server with your Apify token, see [Use it from AI agents (MCP)](#use-it-from-ai-agents-mcp). Your agent then calls it as a tool and is billed per website like any other run.

### Related Actors

- [Website Intelligence](https://apify.com/api_harbor/website-intelligence): contacts plus technology stack, DNS, hosting and performance in one run
- [Website Technology Detector](https://apify.com/api_harbor/website-tech-detector): the tech stack of any website
- [Website to Markdown](https://apify.com/api_harbor/website-to-markdown): clean Markdown of any page for LLMs
- [LinkedIn Jobs Scraper](https://apify.com/api_harbor/linkedin-jobs-scraper): find companies that are hiring

# Actor input Schema

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

Website URLs or bare domains, e.g. https://example.com or example.com.

## Actor input object example

```json
{
  "urls": [
    "apify.com"
  ]
}
```

# 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 = {
    "urls": [
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("api_harbor/website-contact-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": ["apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("api_harbor/website-contact-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": [
    "apify.com"
  ]
}' |
apify call api_harbor/website-contact-scraper --silent --output-dataset

```

## MCP server setup

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