# Company Details from Websites (EU): VAT, Impressum, Email (`polderdata/website-company-details-scraper`) Actor

Turn company websites into verified company rows: legal name, legal form, register number (HRB, FN, RCS, KvK, KBO, REA), VAT ID checked live with EU VIES, address, phone, info@ e-mail. Reads the Impressum / legal notice. Pay only for companies found.

- **URL**: https://apify.com/polderdata/website-company-details-scraper.md
- **Developed by:** [Polder Data](https://apify.com/polderdata) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

## Company Details from Websites (EU): VAT, Impressum, Email

Turn a list of **company websites** into **verified company rows**: official **legal name** and **legal form**, **register number** (HRB/HRA, FN, UID, RCS/SIREN, KvK, KBO, REA …), **VAT ID checked live with the EU VIES service**, **address**, **company phone** and **company e-mail** (info@, kontakt@, contact@ …), plus LinkedIn/XING/Facebook/Instagram pages. The Actor reads each site's **legal notice**, the page European businesses must publish: *Impressum* (DE/AT/CH), *mentions légales* (FR/BE/LU), *colofon* (NL), *note legali* (IT), *aviso legal* (ES).

**You pay only for companies found.** Websites without a company identity (no legal notice, a sole trader, a site that blocks robots) cost nothing; they are listed in the `NOT_FOUND` record with the reason.

> Unofficial tool, not affiliated with any website or with the European Commission. VAT IDs are checked with the public [VIES](https://ec.europa.eu/taxation_customs/vies/) service; French companies with the open register [recherche-entreprises.api.gouv.fr](https://recherche-entreprises.api.gouv.fr). **No personal data:** managing directors, contact persons, personal e-mail addresses (first.last@…) and mobile numbers are never returned, and sole traders are skipped.

### Why this Actor

- **Verified, not just scraped.** Every VAT ID is checked with **EU VIES** (valid / invalid, and for most countries the official registered name and address). French companies are checked in the **official SIRENE register** (active/closed, NAF code, headcount band); a missing French VAT ID is derived from the SIREN and kept only when VIES confirms it.
- **Obfuscated e-mails decoded:** `info(at)firma(dot)de`, `kontakt [at] firma [punkt] de`, Cloudflare-protected addresses.
- **The operator, not the web agency.** Hosting and design credits in the legal notice (Hébergeur, Hosting, Realisierung, Webdesign …) are cut off, and third parties named in privacy policies (Google, Meta, payment and hosting providers) are ignored.
- **One row per legal entity:** the same company on several domains appears once (matched on VAT ID, register number, or name + postal code).
- **GDPR-safe by default:** company data only; see above.
- **Built for lead lists:** paste the websites from any Google Maps or lead Actor, or give its **dataset ID** and the Actor reads the `website` field itself.

### What data you get

| Field | Example | Description |
|---|---|---|
| `legalName`, `legalForm` | `Möbel Willinger GmbH`, `GmbH` | Official name with legal form, from the legal notice (or the register / VIES when the notice has none: `legalNameSource`) |
| `vatId`, `vatCheck` | `DE129494449`, `valid` | VAT ID and the VIES result: `valid`, `invalid`, `unavailable` (VIES busy), `notChecked`, `notEU` (Swiss UID) |
| `vatRegisteredName`, `vatRegisteredAddress` | `COOLBLUE B.V.`, `WEENA 00664 3012CN ROTTERDAM` | Name and address registered for the VAT ID (most countries; Germany and Spain do not share them) |
| `registerType`, `registerNumber`, `registerCourt` | `HRB`, `91554`, `München` | Company register entry as printed (DE HRB/HRA/VR, AT FN + Handelsgericht, CH UID, FR RCS/SIREN, NL KvK, BE KBO, IT REA, UK company number, PL KRS …) |
| `registerStatus`, `activityCode`, `employeeBand` | `active`, `28.22Z`, `21` | France: from the official register |
| `street`, `postalCode`, `city`, `country` | `Wörthstr. 32`, `81667`, `München`, `DE` | Registered address from the legal notice |
| `companyPhone` | `+49894599470` | Company landline, E.164 (mobiles left out) |
| `companyEmail`, `companyEmails` | `service@moebel-willinger.de` | Role addresses only, own domain first |
| `linkedinUrl`, `xingUrl`, `facebookUrl`, `instagramUrl`, `youtubeUrl`, `xUrl` | | Company social pages linked from the site |
| `website`, `domain`, `legalPageUrl`, `sourcePages`, `scrapedAt` | | Where the data comes from |

### How to use

1. Paste websites or domains into **Websites** (one per line), *or* pick the **dataset** of a previous run of a Google Maps / lead Actor.
2. Keep **Check VAT IDs with EU VIES** on (default). Set **Maximum number of companies** to cap the cost.
3. Click **Start** and download CSV, Excel or JSON. Websites without a company identity are in the run's key-value store, record `NOT_FOUND`; counts in `RUN_SUMMARY`.

```json
{
    "websites": ["moebel-willinger.de", "https://www.coolblue.nl", "billa.at", "sodimas.com"],
    "verifyVat": true,
    "maxItems": 500
}
```

From a Google Maps run (any Actor whose items have a `website` field):

```json
{ "datasetId": "<dataset ID of the Maps run>", "datasetField": "website", "maxItems": 2000 }
```

### How well it works

Tested on Apify on 2026-11-16 with a fixed set of **218 small and mid-sized business websites** taken at random from OpenStreetMap (offices, crafts and shops with a website) in Berlin, Munich, Vienna, Zurich, Paris, Lyon, Amsterdam, Brussels, Milan and Madrid:

- **87 companies** from the 183 sites that answered (**48 %**), in about 18 minutes. The rest had no legal notice on the site (35), no company identity (51, e.g. public bodies), were sole traders (10, skipped on purpose) or did not load (35).
- Of the companies found: **VAT ID 82 %**, **confirmed valid by EU VIES 67 %** (Swiss UIDs are not in VIES), **register number 69 %**, **address 85 %**, **company e-mail 80 %**, **landline 60 %**.
- Best where the law is strict: Switzerland 67 % of reachable sites, Spain 64 %, Germany 56 %, France 50 %, Austria 47 % (every VAT ID valid). Small Dutch sites rarely publish company details (15 %).
- **148 personal e-mail addresses** and all director names were left out.

### Pricing

Pay per company found: **$2.50 per 1,000 companies** ($2.25 on Silver, $2.00 on Gold and higher Apify plans). Websites that yield no company are free. A typical run reads 2–5 pages per website (robots.txt included).

### Limits

- Sites that build the legal notice with JavaScript only, or block robots (403/captcha), yield nothing; `robots.txt` is respected.
- German register numbers are shown as printed; Germany has no open register API (the Handelsregister portal forbids automated retrieval). The VIES check is the official confirmation.
- Spanish sites: phone numbers and street addresses are often missing from the output (test set: phone 0 %, address 33 % of Spanish companies found).
- VIES is sometimes busy for a country (especially the Netherlands and France). The Actor retries, and checks busy IDs again at the end of the run; a remaining `vatCheck: unavailable` means VIES did not answer.

### Legal

You are responsible for using the data in line with the websites' terms and the law, including the GDPR and national rules on direct marketing (e.g. §7 UWG in Germany for cold e-mails). The Actor collects only data that companies are legally required to publish about themselves, and leaves out data about people.

# Changelog

This Actor's version history is a separate document: https://apify.com/polderdata/website-company-details-scraper/changelog.md

# Actor input Schema

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

Company websites or domains, one per line (e.g. firma.de, https://www.example.fr). Duplicates are removed.

## `datasetId` (type: `string`):

Optional. A dataset from another Actor run, e.g. a Google Maps scraper. The Actor reads the website field of every item (see the next option).

## `datasetField` (type: `string`):

Name of the field that holds the website. If it is empty, the Actor also tries url, domain and websiteUrl.

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

The run stops after this many companies. You pay per company found, so this also caps the cost.

## `maxPagesPerWebsite` (type: `integer`):

Home page plus up to this many minus one legal, contact, terms or privacy pages.

## `verifyVat` (type: `boolean`):

Asks the official EU VIES service whether each VAT ID is valid and, where the country shares it, under which name and address it is registered.

## `checkFrenchRegister` (type: `boolean`):

For French companies (SIREN/RCS/FR VAT ID): official name, active/closed status, NAF code and headcount band from recherche-entreprises.api.gouv.fr.

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

Optional. Company websites usually work without a proxy.

## Actor input object example

```json
{
  "websites": [
    "https://www.moebel-willinger.de",
    "https://www.sodimas.com",
    "https://www.billa.at"
  ],
  "datasetField": "website",
  "maxItems": 20,
  "maxPagesPerWebsite": 4,
  "verifyVat": true,
  "checkFrenchRegister": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `runSummary` (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://www.moebel-willinger.de",
        "https://www.sodimas.com",
        "https://www.billa.at"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("polderdata/website-company-details-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 = {
    "websites": [
        "https://www.moebel-willinger.de",
        "https://www.sodimas.com",
        "https://www.billa.at",
    ],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("polderdata/website-company-details-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 '{
  "websites": [
    "https://www.moebel-willinger.de",
    "https://www.sodimas.com",
    "https://www.billa.at"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call polderdata/website-company-details-scraper --silent --output-dataset

```

## MCP server setup

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