# Website Contact Finder: Emails, Phones, Socials & Address (`zhtech/website-contact-finder`) Actor

Find public emails, phone numbers (normalized E.164 with country), social profiles, contact form URL, address and company name on any list of business websites. Shows the page each item was found on and a clear status per site. Decodes hidden emails, filters junk. Pay only for sites with contacts.

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

## Pricing

from $0.60 / 1,000 website with contacts

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/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 Finder: Emails, Phones, Socials and Address from Any Website

Paste a list of business websites. Get back **one clean row per website** with the best email, every public email and phone number, social profiles, the contact form, the address and the company name, plus **proof of where each item was found** and a **free check that each email domain can actually receive mail**.

You pay **per website where contacts were found**. Not per page, not per email. Dead sites, blocked sites and sites with nothing on them are free.

### What you get

A real row from a local test run (trimmed), for the input `https://www.rothaus.de/kontakt`:

```json
{
    "inputUrl": "https://www.rothaus.de/kontakt",
    "status": "ok",
    "companyName": "Rothaus",
    "primaryEmail": "info@rothaus.de",
    "primaryEmailType": "role",
    "primaryEmailConfidence": 93,
    "primaryEmailMx": "mx",
    "emails": ["info@rothaus.de", "datenschutz@rothaus.de", "poststelle@lfdi.bwl.de", "veranstaltung@rothaus-genusswelt.de"],
    "primaryPhone": "+4977485220",
    "phones": ["+4977485220", "+49774852279"],
    "facebook": "https://www.facebook.com/BrauereiRothaus",
    "instagram": "https://www.instagram.com/badischestaatsbrauereirothaus/",
    "x": "https://x.com/biergitkraft",
    "youtube": "https://www.youtube.com/channel/UCVoFCptch7ti1901jnOPftg",
    "contactFormUrl": "https://www.rothaus.de/kontakt",
    "emailsText": "info@rothaus.de; datenschutz@rothaus.de; poststelle@lfdi.bwl.de; veranstaltung@rothaus-genusswelt.de",
    "phonesText": "+4977485220; +49774852279",
    "emailDetails": [
        {
            "email": "info@rothaus.de",
            "foundOn": "https://www.rothaus.de/impressum",
            "foundOnPages": ["https://www.rothaus.de/impressum", "https://www.rothaus.de/datenschutz"],
            "source": "mailto",
            "isDomainEmail": true,
            "type": "role",
            "mx": "mx",
            "confidence": 93,
            "confidenceLevel": "high",
            "confidenceReasons": ["on the website's own domain", "published as mailto", "on a contact, about or legal page", "seen on 2 pages", "domain has MX records"]
        },
        {
            "email": "poststelle@lfdi.bwl.de",
            "foundOn": "https://www.rothaus.de/datenschutz",
            "source": "mailto",
            "isDomainEmail": false,
            "type": "role",
            "mx": "mx",
            "confidence": 45,
            "confidenceLevel": "low",
            "confidenceReasons": ["published as mailto", "other domain, only on a privacy or legal page (often a regulator or vendor)", "domain has MX records"]
        }
    ],
    "phoneDetails": [
        { "number": "+4977485220", "international": "+49 7748 5220", "national": "07748 5220", "country": "DE", "type": "FIXED_LINE", "raw": "07748 522-0", "foundOn": "https://www.rothaus.de/kontakt" }
    ],
    "charged": true
}
```

Notice the second email: a data protection regulator's address that the privacy page mentions. Most scrapers hand you that as a lead. Here it is kept (so nothing is hidden) but scored **low** with the reason, so you can filter it out in one step.

#### Every field at a glance

| Group | Fields |
|---|---|
| Best contact | `primaryEmail`, `primaryEmailType` (role, personal, other), `primaryEmailConfidence` (0 to 100), `primaryEmailMx`, `primaryPhone` |
| All contacts | `emails`, `personalEmails`, `roleEmails`, `deliverableEmails`, `phones` (E.164) |
| Social | `linkedin`, `facebook`, `instagram`, `x`, `youtube`, `tiktok`, `pinterest`, `socialProfiles` |
| Company | `companyName`, `address` (street, city, region, postal code, country), `contactFormUrl`, `contactFormType`, `contactPageUrl` |
| Flat CSV columns | `emailsText`, `phonesText`, `personalEmailsText`, `roleEmailsText`, `socialLinksText`, `addressText` |
| Proof | `emailDetails`, `phoneDetails` with `foundOn`, `foundOnPages`, `source`, `confidenceReasons` |
| Diagnostics | `status`, `statusDetail`, `blockedBy`, `pagesCrawled`, `crawledPages`, `charged`, `scrapedAt` |

### Why people switch to this contact finder

- **No bill surprises.** Price is per website with contacts. A site that needs 2 pages or 20 costs the same, and a site with nothing found costs nothing. Per page pricing is the most common complaint about contact scrapers on the Store.
- **Free email domain check (MX).** Every email gets `mx`: `mx`, `a_fallback`, `none`, `null_mx` or `unknown`. An address on a domain that cannot receive mail is never picked as the best email. Other tools charge extra per verified email for this.
- **A confidence score you can sort by.** 0 to 100 per email, with plain English reasons. Filter `primaryEmailConfidence >= 75` and send.
- **Role or personal.** `info@` and `sales@` are marked `role`; `jane.doe@` is marked `personal`. Pick the inbox type that suits your outreach and your local rules.
- **One row per input website.** `inputUrl` is exactly what you typed, so you can join the results back to your sheet or CRM. Duplicates (`acme.com` and `www.acme.com`) are merged into one row.
- **Proof for every item.** `foundOn` shows the page; `source` shows how (`mailto`, `tel link`, `schema.org`, `cloudflare`, `page text`, obfuscated text).
- **Phones you can dial.** E.164 (`+12122542246`) plus national and international formats, country and line type. Local numbers get the right country from the domain, the address or the page language.
- **Finds hidden emails.** Cloudflare email protection, `name [at] domain [dot] com`, `name(at)domain.com`, HTML entities, schema.org and microdata.
- **Drops junk.** `logo@2x.png`, Sentry and Wix tracker addresses, `you@example.com`, `john.doe@` placeholders and no-reply addresses never reach your list.
- **Every empty row explains itself.** `no_contacts`, `unreachable`, `blocked` (with the protection named), `robots_disallowed` or `invalid_input`, all free.
- **Never runs forever.** A time limit per website and one polite request at a time per site.

### Use cases

- **Enrich a Google Maps or directory export.** Turn a column of websites into emails, phones and socials for outreach.
- **Agency prospecting.** Find which local businesses have a contact form, an Instagram, or no social presence at all.
- **SaaS and B2B sales.** Add a domain email and a LinkedIn company page to each account in your CRM.
- **Recruiting and partnerships.** Collect `careers@`, `partners@` and press contacts in one pass.
- **List cleaning.** Find dead websites (`unreachable`) and email domains that no longer take mail (`mx: none`) before you pay for a verifier.
- **AI agents.** A small input and flat, well named output make it an easy tool for an LLM agent through the Apify MCP server.

### How to use

1. Paste websites or domains into **Websites**, one per line, or paste a whole spreadsheet column into **Or paste a plain list**.
2. Keep the defaults (6 pages per site, link depth 1, MX check on). Raise **Max pages per website** for large corporate sites.
3. Optional: set **Default phone country** (`US`, `GB`, `DE`) if your whole list is from one country.
4. Click **Start**. When it finishes, open the **Flat CRM export (CSV)** view and download CSV or Excel, or connect the results to your tools.

Running with an empty input runs a 4 website example so you can see the output first.

#### Input example

```json
{
    "websites": ["katzsdelicatessen.com", "https://www.rothaus.de/kontakt", "zingermansdeli.com"],
    "maxPagesPerSite": 6,
    "checkEmailMx": true,
    "onlyDomainEmails": false
}
```

API callers can also send `startUrls` (`[{ "url": "..." }]`), `urls` or `domains`.

#### Input fields

| Field | Default | What it does |
|---|---|---|
| `websites` | | Websites or domains, one per item. A URL with a path (like `/kontakt`) is checked too. |
| `websitesText` | | A pasted list: new lines, commas, semicolons or tabs. |
| `maxSites` | 0 (all) | Stop after this many unique websites. |
| `maxPagesPerSite` | 6 | Pages per website including the homepage (1 to 50). |
| `crawlDepth` | 1 | 1 = homepage and contact-like pages linked from it. 2 or 3 = follow contact-like links further. Same website only. |
| `maxSecondsPerSite` | 90 | Time limit per website. The row is saved with what was found. |
| `defaultCountry` | guess | ISO code used for phone numbers without a country code. |
| `onlyDomainEmails` | false | Keep only emails on the website's own domain. |
| `checkEmailMx` | true | Free MX check, email type and confidence score. |
| `includeSitesWithoutContacts` | true | Keep free rows for sites with no contacts or errors. |
| `maxItemsPerType` | 25 | Cap for emails, phones and social profiles per website (best first). |
| `maxConcurrency` | 10 | Websites checked in parallel. Each website still gets one request at a time. |
| `delayBetweenRequestsMs` | 500 | Pause between requests to the same website. |
| `requestTimeoutSecs` | 20 | Timeout per page. |
| `proxyConfiguration` | none | Optional proxy. It does not bypass bot protection. |

#### Output views

- **Overview**: the essentials per website.
- **Flat CRM export (CSV)**: one cell per field, lists joined with `; `. Best for CSV, Excel, Zapier, Make, n8n, Clay and HubSpot mapping.
- **Where each item was found**: every email, phone and profile with its page, source and score.
- **Crawl status**: why a site had no data, which pages were read, and whether the row was charged.

#### Status values

| Status | Meaning | Charged |
|---|---|---|
| `ok` | At least one email, phone, social profile, contact form or address was found | Yes |
| `no_contacts` | The website loaded but showed none of the above on the pages checked | No |
| `unreachable` | DNS failure, timeout, connection error, HTTP 404 or 5xx, or not HTML | No |
| `blocked` | Bot protection or rate limiting answered instead of the website (`blockedBy` names it) | No |
| `robots_disallowed` | The website's robots.txt does not allow it | No |
| `invalid_input` | The input is not a website or domain | No |
| `error` | An unexpected error on our side | No |

#### Email MX values

| `mx` | Meaning |
|---|---|
| `mx` | The domain publishes mail servers. |
| `a_fallback` | No MX record, but the domain has an address record, which mail servers may still use. |
| `none` | The domain does not exist or has no mail server. Do not send. |
| `null_mx` | The domain says it accepts no mail (RFC 7505). Do not send. |
| `unknown` | DNS did not answer in time. Not counted against the email. |
| `not_checked` | You turned `checkEmailMx` off. |

### Pricing

Pay per event:

- **Run start**: a small fixed fee per run.
- **Website with contacts**: charged once per website with status `ok`, however many pages were read and however many items were found. The MX check, type and confidence score are included.

What a run really costs on the Free plan (paid Apify plans pay less per website):

| Websites with contacts | Price |
|---|---|
| 100 | $0.09 plus $0.001 to start |
| 1,000 | $0.90 plus $0.001 to start |
| 10,000 | $9.00 plus $0.001 to start |

That is the whole bill for results. There is no per page fee, no extra fee for the email check, and no charge for sites where nothing was found.

Everything else is free: no contacts, unreachable, blocked, robots-disallowed, invalid inputs and errors. If you set a maximum cost for the run, the Actor stops cleanly when it is reached and says so in the status message. Current prices are on the **Pricing** tab.

### Integrations

**Apify API.** Run and get results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/zhtech~website-contact-finder/run-sync-get-dataset-items?token=YOUR_TOKEN&view=crm" \
  -H "Content-Type: application/json" \
  -d '{"websites": ["katzsdelicatessen.com", "zingermansdeli.com"]}'
```

**JavaScript and Python clients.** `client.actor("zhtech/website-contact-finder").call({ websites: [...] })`, then read the default dataset.

**Make, n8n and Zapier.** Use the Apify app or node: action "Run an Actor", Actor `zhtech/website-contact-finder`, then "Get dataset items" with view `crm`. Every field in that view is a single value, so mapping is drag and drop.

**Clay.** Add an HTTP API column that calls the `run-sync-get-dataset-items` URL above with the row's domain, then map `primaryEmail`, `primaryEmailConfidence` and `primaryPhone` into columns.

**HubSpot, Pipedrive or any CRM via webhooks.** Add an Apify webhook on "Run succeeded" that posts to your automation (Make, n8n, Zapier or your own endpoint), fetch the dataset with `view=crm`, and upsert companies by `domain`.

**Google Sheets.** Use the Apify integration for Sheets or the Make or Zapier connector to append rows.

**AI agents (Apify MCP).** Add the Apify MCP server to Claude, Cursor or another MCP client and allow this Actor. A prompt like "find contact emails for these 20 domains and keep only high confidence ones" works because the input is just a list and the output has flat fields such as `primaryEmail`, `primaryEmailConfidence` and `status`.

### FAQ

**Does it verify that a mailbox exists?** No. It checks that the email's domain can receive mail (MX), which catches dead domains and typos for free. It does not open an SMTP session or send anything, because mailbox probing is unreliable on Gmail and Microsoft 365 and can hurt your sending reputation. Use a dedicated verifier before large cold campaigns.

**What does the confidence score mean?** It combines domain match, how the address was published, which pages it was on, how often it appears, the MX result and provider type. 75 and up is high, 50 to 74 medium, below 50 low. Reasons are listed for every email, so the score is never a black box.

**Why did a website return `no_contacts` when I can see an email?** The email may be on a page not reached within your page limit, or drawn by JavaScript after the page loads. Raise `maxPagesPerSite`, or add the exact contact page URL as input.

**Why is a site `blocked`?** It answered with a bot challenge (Cloudflare, DataDome and similar). The Actor does not try to get around it, and the row is free.

**Does it need a proxy?** No. Business websites normally answer a plain HTTP client. A proxy does not change the result on blocked sites.

**Does it follow links to other websites?** No. Only the same website (www and non-www count as the same). Social profile links are recorded, not visited.

**Can I limit how many emails per site I get?** Yes, `maxItemsPerType`. The best items are kept first.

**How do I match results to my list?** Use `inputUrl`. It is exactly what you sent. Merged duplicates are listed in `duplicateInputs`.

### Limitations

- Content that only appears after JavaScript runs (some single page apps, chat widgets) is not rendered.
- Websites behind a bot challenge are reported as `blocked`, not forced.
- robots.txt is always honored, so some websites return `robots_disallowed`.
- The MX check confirms a domain takes mail, not that a specific mailbox exists.
- `type` is a heuristic based on the part before the `@`. A one word address like `deli@` may be a person or a shared inbox.
- Only publicly displayed details are collected. Nothing behind a login, and no data pulled from social networks.

### Privacy, GDPR and your responsibility

This Actor reads pages that businesses publish for anyone to see. Some of what it finds can still be personal data, for example a named employee's work email (`type: personal`). You decide what to collect and how to use it, so you are responsible for that use:

- Have a lawful basis (for example legitimate interest for B2B outreach) and document it where GDPR or UK GDPR applies.
- Follow CAN-SPAM, CASL, PECR and local direct marketing rules. Some countries require consent before emailing individuals; role inboxes (`info@`, `sales@`) are usually the safer choice there.
- Tell people where you got their details when required, honor opt-out and deletion requests, and do not keep data longer than you need.
- Do not use the results for spam, harassment or anything a website's terms forbid.

This is general information, not legal advice.

# Actor input Schema

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

Business websites or bare domains, one per line. Examples: acmeplumbing.com, https://www.example.co.uk, https://example.de/kontakt. Duplicates are merged. Each website gives one output row.

## `websitesText` (type: `string`):

Paste a column from a spreadsheet: one website or domain per line (commas, spaces and tabs also work). Combined with the list above.

## `maxSites` (type: `integer`):

Stop after this many unique websites. 0 means all of them.

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

Pages fetched per website, including the homepage. The crawler picks the most useful pages first: contact, impressum or imprint, about, team, locations, footer links. 6 finds the public contacts on most small business sites.

## `crawlDepth` (type: `integer`):

1 = homepage plus contact-like pages linked from it. 2 = also contact-like pages linked from those pages (helps on large sites where contact info sits under About > Locations). Always same website only.

## `maxSecondsPerSite` (type: `integer`):

A slow website never holds up the run: after this many seconds the row is saved with whatever was found.

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

Two-letter ISO code (US, GB, DE, AU...) used to read local phone numbers written without a country code. Leave empty to guess per site from the domain (example.de means DE), the schema.org address and the page language, falling back to US.

## `onlyDomainEmails` (type: `boolean`):

Drop addresses on other domains (for example a gmail.com address or a regulator's address on a privacy page). Every email always has an isDomainEmail flag, so you can also filter later.

## `checkEmailMx` (type: `boolean`):

Free, included in the price. One DNS lookup per email domain: each email gets mx (mx, a_fallback, none, null_mx, unknown), a type (role, personal, other), a 0 to 100 confidence score with reasons, and addresses whose domain cannot receive mail are never picked as the best email. No mail is sent and no mailbox is probed.

## `includeSitesWithoutContacts` (type: `boolean`):

Keep a row for every website, with status no_contacts, unreachable, blocked, robots_disallowed or invalid_input, so you can match every input to an output. These rows are always free.

## `maxItemsPerType` (type: `integer`):

Caps each list so a directory-style website cannot flood a row. The best items are kept first (website's own domain, linked contacts, items repeated across pages).

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

How many different websites are checked at the same time. Each single website only ever gets one request at a time.

## `delayBetweenRequestsMs` (type: `integer`):

Pause between two page requests to one website. A robots.txt Crawl-delay is honored when it is longer (up to 10 seconds).

## `requestTimeoutSecs` (type: `integer`):

How long to wait for one page before giving up on it. Slow pages are retried once.

## `proxyConfiguration` (type: `object`):

Optional. Business websites normally work without a proxy. A proxy does not get around bot protection: websites behind a challenge are reported as blocked.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "buffer.com",
    "fastmail.com",
    "ghost.org"
  ],
  "maxSites": 0,
  "maxPagesPerSite": 6,
  "crawlDepth": 1,
  "maxSecondsPerSite": 90,
  "onlyDomainEmails": false,
  "checkEmailMx": true,
  "includeSitesWithoutContacts": true,
  "maxItemsPerType": 25,
  "maxConcurrency": 10,
  "delayBetweenRequestsMs": 500,
  "requestTimeoutSecs": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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",
        "buffer.com",
        "fastmail.com",
        "ghost.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhtech/website-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",
        "buffer.com",
        "fastmail.com",
        "ghost.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("zhtech/website-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",
    "buffer.com",
    "fastmail.com",
    "ghost.org"
  ]
}' |
apify call zhtech/website-contact-finder --silent --output-dataset

```

## MCP server setup

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