# Website Contact Extractor – Emails, Phones, Socials & IDs (`budoucnost-ai/website-contact-extractor`) Actor

One row per domain: e-mails, E.164 phones (mobile/landline), social profiles, address, VAT/IČO/SIREN/KvK/LEI and CMS. Crawls only contact/Impressum/about pages and charges per domain, not per page. Add-ons: free company-registry data, e-mail MX check.

- **URL**: https://apify.com/budoucnost-ai/website-contact-extractor.md
- **Developed by:** [Budoucnost AI](https://apify.com/budoucnost-ai) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 domain scrapeds

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

## Website Contact Extractor – e-mails, phones, socials and company IDs, one row per domain

Give it a list of websites, get back **one clean row per company**: e-mails (typed generic/personal, optionally
MX-verified), phone numbers normalised to **E.164** with mobile/landline type, social profiles (Facebook, Instagram,
LinkedIn company and personal, X, YouTube, TikTok, Pinterest, GitHub, Threads, Bluesky, WhatsApp, Telegram), postal
addresses, **company identifiers** (CZ/SK IČO, EU VAT IDs, German Handelsregister, Austrian Firmenbuch, French
SIREN/SIRET, UK company number, Dutch KvK, Norwegian org.nr, Finnish Y-tunnus, Polish NIP/KRS/REGON, LEI), opening
hours, company name, logo, languages, the CMS / e-shop platform and geo coordinates.

The actor does not crawl the whole site. It reads the homepage, picks the few pages where contacts live – contact,
Impressum/imprint, legal notice, mentions légales, about us, team, privacy – using a keyword list in 20+ languages,
and stops. Pages are fetched with plain HTTP and parsed with Cheerio (no browser), so it is fast and cheap, and you
pay **per domain, not per page**.

Optional add-ons: **company registry data** from free public registries (legal name, registered address, status,
founding date, legal form, NACE) and **e-mail verification** (syntax, MX record, disposable domains).

### What you can use it for

- **Lead generation and list cleaning** – turn a list of domains (from Google Maps, a trade-fair exhibitor list, a
  CRM export) into e-mails, phones and LinkedIn pages, with `onlyWithEmail` so you only pay for usable rows.
- **B2B enrichment / KYC light** – the VAT ID, IČO, SIREN or company number printed in the footer, checked against the
  official register with `enrichCompany`, tells you the legal entity behind a brand site.
- **Market research** – which CMS or e-shop platform (Shopify, Shoptet, WooCommerce, WordPress, Wix, Squarespace,
  PrestaShop, Magento, Webflow …) do companies in a segment use, which languages do they serve.
- **CRM hygiene** – re-run monthly on your accounts; the 24-hour cache makes repeated runs of the same domains free.

### Input

| Field | Default | Description |
|-------|---------|-------------|
| `startUrls` | – | Websites, one per line: a domain (`powerbox.one`), a homepage or any page URL. One output row per domain; `www.` and duplicates are merged. |
| `maxItems` | 1000 | Stop after this many charged domain rows. |
| `maxPagesPerDomain` | 6 | Homepage + most relevant subpages. More pages do not cost more (price is per domain), they only take longer. |
| `maxDepth` | 1 | 1 = homepage and pages linked from it. 2 = also follow relevant links on those pages. |
| `sameDomainOnly` | true | Off = also subdomains of the same domain (`shop.firma.cz` → `firma.cz/kontakt`). |
| `pageKeywords` | built-in | Replace the multilingual keyword list (contact, kontakt, impressum, imprint, legal, mentions-legales, aviso-legal, contatti, contacto, about, o-nas, über-uns, qui-sommes-nous, team, privacy, datenschutz …). |
| `fields` | all | Output only these groups: `emails`, `phones`, `socials`, `addresses`, `identifiers`, `openingHours`, `companyName`, `logo`, `languages`, `platform`, `geo`. |
| `onlyWithEmail` / `onlyWithPhone` | false | Skip domains without an e-mail / phone – **not output and not charged**. |
| `includeRegex` / `excludeRegex` | – | Regular expressions on the domain, applied before any request (e.g. `\.(cz|sk)$`). |
| `excludeDomains` | – | Domains to skip, subdomains included (e.g. `facebook.com`, domains already in your CRM). |
| `verifyEmails` | false | Add-on: syntax + DNS MX lookup (or implicit A-record MX) + disposable-domain list, up to 25 e-mails per domain. No SMTP probing. |
| `enrichCompany` | false | Add-on: look the identifier up in free registries (see below) and attach `company`. |
| `outputPerPage` | false | Also output one row per crawled page (`type: "page"`). |
| `useBrowser` | false | Re-open pages whose HTML has almost no text (JavaScript-only apps) in headless Chromium. Give the run ≥ 2048 MB. |
| `cacheHours` | 24 | Per-user cache in your named key-value store `website-contact-extractor-cache`. A domain you already got within this window is returned again **for free**. 0 = always fresh. |
| `useSharedCache` | true | Reuse domains crawled by any user within min(`cacheHours`, 7 days) and registry lookups – faster, no load on the website. |
| `maxConcurrency` | 10 | Parallel page requests. |
| `proxyConfiguration` | Apify datacenter | Company sites rarely block datacenter IPs. Sites behind bot protection return a free `blocked: true` row. |

#### Example input

```json
{
    "startUrls": [{ "url": "https://www.powerbox.one" }, { "url": "octopus.energy" }, { "url": "https://www.bosch.de" }],
    "maxPagesPerDomain": 6,
    "onlyWithEmail": true,
    "enrichCompany": true,
    "verifyEmails": true
}
```

### Output

One row per domain (real output for powerbox.one, shortened; the MX host is illustrative):

```json
{
    "type": "domain",
    "domain": "powerbox.one",
    "url": "https://www.powerbox.one/",
    "companyName": "POWERBOX s.r.o.",
    "legalName": "POWERBOX s.r.o.",
    "emails": [
        { "email": "info@powerbox.one", "type": "generic", "sameDomain": true, "source": "mailto", "page": "https://www.powerbox.one/",
          "verification": { "status": "valid", "decisive": true, "mx": ["mx1.example.net"], "disposable": false, "checkedAt": "2026-11-12T23:30:44.120Z" } },
        { "email": "sales@powerbox.one", "type": "generic", "sameDomain": true, "source": "json-ld", "page": "https://www.powerbox.one/" }
    ],
    "phones": [
        { "e164": "+420777797009", "national": "777 797 009", "international": "+420 777 797 009", "type": "mobile", "country": "CZ", "source": "tel", "page": "https://www.powerbox.one/" }
    ],
    "socials": { "facebook": ["https://www.facebook.com/powerbox.one"] },
    "addresses": [
        { "street": "K letišti 1151/2", "city": "Praha 6", "postalCode": "161 00", "region": null, "country": "CZ", "full": "K letišti 1151/2, 161 00 Praha 6, CZ", "source": "json-ld", "page": "https://www.powerbox.one/" }
    ],
    "identifiers": { "vat": ["CZ14130076"], "czIco": ["14130076"] },
    "company": {
        "source": "ares", "country": "CZ", "id": "14130076", "legalName": "POWERBOX s.r.o.",
        "registeredAddress": "K letišti 1151/2, Ruzyně, 16100 Praha 6", "status": "active", "founded": "2022-01-06",
        "legalForm": "Společnost s ručením omezeným", "nace": ["261", "28", "43120", "7112"], "vatId": "CZ14130076",
        "employees": null, "registryUrl": "https://ares.gov.cz/ekonomicke-subjekty?ico=14130076", "extra": {}
    },
    "openingHours": [],
    "logo": "https://www.powerbox.one/assets/img/powerbox-one-logo.svg",
    "platform": null,
    "platforms": [],
    "languages": ["cs", "en", "de", "fr", "it", "pl", "es"],
    "country": "CZ",
    "geo": { "lat": 50.0966, "lng": 14.2951, "source": "json-ld" },
    "pagesCrawled": 3,
    "pagesList": ["https://www.powerbox.one/", "https://www.powerbox.one/kontakt/", "https://www.powerbox.one/zasady-ochrany-osobnich-udaju/"],
    "renderedWithBrowser": 0,
    "fromCache": false,
    "errors": [],
    "scrapedAt": "2026-11-12T23:30:45.120Z"
}
```

A site that blocks the proxy or does not load returns one **free** row:
`{ "domain": "…", "blocked": true, "error": "… Not charged. …", "pagesCrawled": 0 }`.

#### How the data is found

- **E-mails**: `mailto:` links, visible text, JSON-LD, obfuscated forms (`jan [at] firma [dot] cz`, `info(at)firma.de`,
  `obchod (zavináč) firma.cz`) and Cloudflare "email protection" (a public, documented XOR encoding – decoding it is
  not a bot bypass). Placeholders, image names and tracking addresses are dropped. `type` = generic role mailbox vs.
  personal; `sameDomain` = e-mail on the website's own domain.
- **Phones**: `tel:` links, JSON-LD and text, parsed with libphonenumber (full metadata). Country for numbers without
  `+` comes from the TLD, the JSON-LD address or `<html lang>`. Numbers in plain text are accepted only when written
  internationally or next to a phone label (tel, phone, telefon, mobil, tél, fax …), so order numbers, IDs and dates
  are not mistaken for phones. `type`: `mobile`, `fixed_line`, `fixed_line_or_mobile`, `toll_free`, `voip`, `fax` …
- **Identifiers**: label-based extraction plus checksums where they are cheap (IČO mod 11, DE ISO 7064, AT UID, PL NIP
  and REGON, FR Luhn and VAT key, GB VAT mod 97, NO mod 11, FI Y-tunnus, IT/BE VAT, LEI mod 97). VAT formats without a
  checksum are accepted only next to a VAT label (VAT, USt-IdNr, TVA, IVA, BTW, DIČ, NIP …).
- **Addresses**: schema.org JSON-LD `PostalAddress` of `Organization`/`LocalBusiness`, microdata, and a postcode
  heuristic per country (CZ, SK, DE, AT, CH, FR, IT, ES, NL, PL, NO, FI, UK).
- **Platform**: Shopify, Shoptet, WooCommerce, WordPress, Wix, Squarespace, Webflow, PrestaShop, Magento, Upgates,
  BigCommerce, Joomla, Drupal, TYPO3, Adobe Experience Manager, Sitecore, HubSpot CMS, Webnode, Next.js, Nuxt …

#### Company registry add-on (`enrichCompany`)

Only free, key-less public APIs, called with the identifier found on the site (no name guessing):

| Identifier | Registry |
|---|---|
| CZ IČO | ARES (Ministry of Finance) |
| FR SIREN / SIRET | recherche-entreprises.api.gouv.fr |
| NO org.nr | Brønnøysund Enhetsregisteret |
| FI Y-tunnus | PRH / YTJ open data |
| PL KRS | KRS (Ministry of Justice) |
| EU VAT (incl. SK) | VIES – legal name and address for most member states (DE and ES only confirm validity) |
| LEI | GLEIF |
| DE HRB / UK company number | GLEIF register-number search (larger companies), matched to the site by name |

Lookups are cached (yours and shared) so a company is never queried twice in a week.

### Server API (instant results, no run to start)

This actor is also a **Server Actor**: send one HTTP request and get the results straight back in the response – for apps, dashboards, workflow tools and AI agents (Apify MCP server). Contacts of up to 3 websites per request (max 10 pages each). Use a normal run for larger batches.

```bash
curl -H "Authorization: Bearer $APIFY_TOKEN" \
  "https://budoucnost-ai--website-contact-extractor.apify.actor/?url=https://www.example.cz"
```

Query parameters are the input fields (see the **Server** tab); `POST /` accepts the actor input as JSON. The response is `{"rows": [...]}` with rows in the same shape as the dataset. Same events and prices as runs.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `domain-scraped` | **$0.0015** | One per output domain row, however many pages were crawled (default up to 6). |
| `page-scraped` | $0.0003 | Only with `outputPerPage`, per page row. |
| `email-verified` | $0.0005 | Per e-mail with a decisive verification result (valid / no-mx / disposable / invalid). |
| `company-enriched` | $0.002 | Once per domain when a registry record was attached. |

Not charged: blocked or unreachable sites, domains removed by `onlyWithEmail`/`onlyWithPhone`/regex/`excludeDomains`,
and domains returned from **your own** cache (you already paid for them).

**Cost comparison** with a per-page contact scraper at $1.05 per 1 000 pages (vdrmota/contact-info-scraper,
gold tier):

| | Per-page pricing ($1.05 / 1 000 pages) | This actor |
|---|---|---|
| 1 domain, 6 pages | $0.0063 | **$0.0015** |
| 1 000 domains, 6 pages each | $6.30 | **$1.50** |
| 1 000 domains + e-mail check (≈ 3 e-mails each) | $6.30 + verification add-on | $1.50 + $1.50 = **$3.00** |
| Re-run of the same 1 000 domains within 24 h | $6.30 again | **$0** (your cache) |

### Why this instead of vdrmota/contact-info-scraper

| | Contact Details Scraper | Website Contact Extractor |
|---|---|---|
| Price unit | per page crawled ($1.05–2.00 / 1 000 pages) + extras for browser/residential | **per domain** ($1.50 / 1 000), browser fallback not charged extra |
| Which pages | generic crawl up to N pages/depth | homepage + **ranked contact / Impressum / legal / about pages** in 20+ languages |
| Phones | raw strings | **E.164**, national + international format, **mobile / landline / toll-free / fax** |
| E-mails | list | generic vs. personal, same-domain flag, obfuscated + Cloudflare-protected addresses, optional MX check |
| Company identity | – | **VAT, IČO, SIREN/SIRET, HRB, FN, KvK, UK company no., NIP/KRS/REGON, LEI** with checksums |
| Registry data | – | add-on from free official registries (ARES, INSEE/data.gouv, Brønnøysund, PRH, KRS, VIES, GLEIF) |
| Address, opening hours, geo, logo, languages, CMS/e-shop | partial / no | yes |
| Pay only for useful rows | no | `onlyWithEmail` / `onlyWithPhone` / regex / excludeDomains filters before charging |
| Cache | – | 24 h per-user cache (repeat runs free) + shared cache across users |
| Blocked sites | charged pages | one free `blocked: true` row |

### Limitations

- Sites protected by an anti-bot challenge (Cloudflare "Just a moment", Akamai, DataDome) are not bypassed: you get a
  free `blocked: true` row. Some of them load with the RESIDENTIAL proxy group (your choice in `proxyConfiguration`).
- Contacts loaded only by JavaScript are missed unless `useBrowser` is on (the browser runs only for pages whose HTML
  has almost no text).
- Personal e-mails and LinkedIn personal profiles are personal data: you need a legal basis (GDPR) to process them.
- E-mail verification does not open an SMTP connection, so it cannot tell whether a single mailbox exists on a domain
  that accepts mail – it tells you whether the domain can receive mail at all and filters disposable domains.
- The Slovak RPO API was unavailable when tested (HTTP 503); Slovak companies are enriched through VIES (SK VAT ID).
  UK Companies House and Dutch KvK need API keys and are not called – their numbers are extracted, and larger
  companies are matched through GLEIF.

### Integrations and API

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('budoucnost-ai/website-contact-extractor').call({
    startUrls: [{ url: 'https://www.powerbox.one' }],
    onlyWithEmail: true,
    enrichCompany: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].emails, items[0].company);
```

Works with Make, Zapier, n8n, Google Sheets and webhooks like any Apify actor; the dataset view "Domains" exports to
CSV/Excel with one row per company.

# Actor input Schema

## `startUrls` (type: `array`):

One website per line: a domain (powerbox.one), a homepage or any page URL. Each domain becomes one output row. Duplicates (same domain, with or without www) are merged.

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

Stop after this many charged domain rows.

## `maxPagesPerDomain` (type: `integer`):

Homepage + the most relevant subpages (contact, Impressum/imprint, legal notice, mentions légales, about, team, privacy …) ranked by link text and URL in 20+ languages. The price is per domain, so more pages do not cost more – they only take longer.

## `maxDepth` (type: `integer`):

1 = homepage and pages linked from it (enough for almost every site). 2 = also follow relevant links found on those pages.

## `sameDomainOnly` (type: `boolean`):

On: only pages on the start host (www and non-www are equal). Off: also subdomains of the same domain (e.g. shop.firma.cz → firma.cz/kontakt).

## `pageKeywords` (type: `array`):

Replace the built-in multilingual keyword list used to pick subpages (e.g. \['kontakt','impressum','team']). Leave empty for the default list.

## `fields` (type: `array`):

Limit the output to these groups. Empty = all.

## `onlyWithEmail` (type: `boolean`):

Skip domains where no e-mail was found – they are not output and not charged.

## `onlyWithPhone` (type: `boolean`):

Skip domains where no phone number was found – not output, not charged.

## `includeRegex` (type: `string`):

Only process domains matching this case-insensitive regular expression, e.g. .(cz|sk)$

## `excludeRegex` (type: `string`):

Skip domains matching this regular expression (before any request, never charged).

## `excludeDomains` (type: `array`):

Domains you already have or never want (subdomains included), e.g. facebook.com, google.com.

## `verifyEmails` (type: `boolean`):

Syntax check, DNS MX lookup (or implicit A-record MX) and a disposable-domain list for each found e-mail (up to 25 per domain). No SMTP probing, so it never touches the mailbox. Charged per decisive result (valid / no-mx / disposable / invalid) as email-verified.

## `enrichCompany` (type: `boolean`):

When the site shows a company identifier, look it up in free public registries and attach legal name, registered address, status, founding date, legal form and NACE: CZ ARES (IČO), FR recherche-entreprises (SIREN), NO Brønnøysund (org.nr), FI PRH/YTJ (Y-tunnus), PL KRS, EU VIES (VAT – name and address for most states), GLEIF (LEI; DE HRB and UK company numbers of larger companies). Charged once per domain with a match as company-enriched.

## `outputPerPage` (type: `boolean`):

Adds one row per crawled page (type = page) with what was found on that page, charged as page-scraped. The per-domain row is always output.

## `useBrowser` (type: `boolean`):

Pages are fetched with plain HTTP (fast, cheap). With this on, a page whose HTML has almost no text (client-rendered apps) is re-opened in headless Chromium. Not charged extra, but give the run at least 2048 MB memory.

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

Parallel page requests (across all domains).

## `cacheHours` (type: `integer`):

Domain results are cached in a named key-value store "website-contact-extractor-cache" in your account. Re-running a domain within this window returns your earlier row for free (not charged). 0 = always crawl fresh (also skips the shared cache).

## `useSharedCache` (type: `boolean`):

Reuse a domain crawled by any user of this actor within min(cacheHours, 7 days), plus registry lookups. Faster, no load on the site. Rows from the shared cache are charged normally.

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

Apify datacenter proxy by default – company websites rarely block it. Sites behind bot protection (Cloudflare challenge, Akamai) return a free row with blocked = true; switch to the RESIDENTIAL group for those if you want.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.powerbox.one"
    },
    {
      "url": "https://octopus.energy"
    }
  ],
  "maxItems": 1000,
  "maxPagesPerDomain": 6,
  "maxDepth": 1,
  "sameDomainOnly": true,
  "onlyWithEmail": false,
  "onlyWithPhone": false,
  "verifyEmails": false,
  "enrichCompany": false,
  "outputPerPage": false,
  "useBrowser": false,
  "maxConcurrency": 10,
  "cacheHours": 24,
  "useSharedCache": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `domains` (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 = {
    "startUrls": [
        {
            "url": "https://www.powerbox.one"
        },
        {
            "url": "https://octopus.energy"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("budoucnost-ai/website-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 = {
    "startUrls": [
        { "url": "https://www.powerbox.one" },
        { "url": "https://octopus.energy" },
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("budoucnost-ai/website-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 '{
  "startUrls": [
    {
      "url": "https://www.powerbox.one"
    },
    {
      "url": "https://octopus.energy"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call budoucnost-ai/website-contact-extractor --silent --output-dataset

```

## MCP server setup

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