# Impressum & Legal Notice Extractor: Company, VAT ID & Address (`data-done-right/impressum-extractor`) Actor

Impressum extractor: finds the Impressum, imprint or legal notice page of each domain and reads company legal name, legal form, VAT ID (format-checked), register number, address, phone and general email. Static HTML, no VIES lookup. Pay only when a company is found.

- **URL**: https://apify.com/data-done-right/impressum-extractor.md
- **Developed by:** [Data Done Right](https://apify.com/data-done-right) (community)
- **Categories:** Lead generation, 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 $2.00 / 1,000 company founds

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

## Impressum & Legal Notice Extractor: Company, VAT ID & Address

This **Impressum extractor** reads the Impressum, imprint or legal notice page of each company domain you give it and returns the **company legal name, legal form, VAT ID, commercial register number, registered address, phone and general email** as one flat row per domain. It reads plain HTML, needs no API key and no browser.

> **What it does NOT do.**
>
> - **Static HTML only.** It never runs JavaScript. A legal notice that a script draws after load, or that is an image or PDF, is not read (you get a free row that says so).
> - **No VIES lookup.** The VAT ID is only checked for the correct *format* of its country. A well-formed number can still be unregistered or belong to someone else. Never treat `vatIdFormatValid: true` as proof.
> - **No bot-protection bypass, no proxies.** A site that answers 403 or shows a bot check gets a free `blocked` row. `robots.txt` is obeyed; a legal page it disallows is not fetched.
> - **No company database and no search.** It reads the one site you give it, nothing else. It is not Europages, not a business register and not Handelsregister data.
> - **Personal data is off by default.** Names of directors are returned only when you set `includePersonNames`, and a page without any legal form, register or VAT ID (possibly a private person) gets no address or phone. Personal email addresses are never returned. See the FAQ.
> - **Coverage is partial.** In a local test of 48 well-known, mostly large company domains, roughly a third to 40% returned data; about one in four answered 403 to automated requests, and the rest had no static legal page, no robots-permitted page, or timed out. Rates on your list will differ. Small business sites with a classic Impressum page work best.

**What you get**

- Per domain: `legalName`, `legalForm`, `vatId` (+ country and format check), `registerType` / `registerNumber` / `registerCourt`, `street`, `postalCode`, `city`, `country`, `address`, `phone`, `email`, plus the `impressumUrl` it came from and a `confidence`.
- Reads German, Austrian, Swiss, French, Spanish, Italian, Dutch, Polish and UK style notices. Tested on real sites in DE, AT, CH, FR and NL; ES, IT and UK are covered by test fixtures only.
- You pay only when a company was found. Every input domain gets a row, with a `status` and a `note` that explain the free ones.

### How to extract company data from an Impressum

1. Paste the company domains in `domains`, one per line (`heise.de` or `https://www.heise.de` both work).
2. Run it. The Actor reads the homepage, follows the link named Impressum, Imprint, Legal notice, Mentions légales, Aviso legal or Note legali, and tries a few common paths if there is no link.
3. Open the `Companies` view or export the dataset as JSON, CSV or Excel. Rows with `status: found` carry the data and the `impressumUrl` to check it against.

### How to find a company's VAT ID and register number from its website

Read `vatId`, `vatIdCountry` and `vatIdFormatValid`, and `registerType`, `registerNumber`, `registerCourt`. VAT IDs are written with the country prefix and no spaces (`DE813501887`, `ATU62224319`); Greece is `EL`, Northern Ireland `XI`. A German Steuernummer is not a VAT ID and is never returned as one. Spanish CIF, Italian P.IVA, Polish NIP and Danish CVR numbers are returned with their country prefix added. If the number on the page does not fit its country's format it is returned with `vatIdFormatValid: false`, so you can see it and decide.

### How to check which websites have a findable legal notice

Run your list and filter on `status`. `found` = notice read. `page-found-no-data` = a notice page exists but nothing could be read from it. `not-found` = no notice page on the homepage or in the common paths. `blocked` = the site refused automated requests (or its robots.txt disallows the page). `unreachable` = the site did not answer. `invalid` = not a usable domain. The `FAILED` record lists every row that is not `found` with its reason.

### Input

```json
{
  "domains": ["heise.de", "golem.de", "willhaben.at"],
  "includePersonNames": false
}
```

| Field | Default | What it does |
|---|---|---|
| `domains` | 3 sample sites | Company domains or URLs, one per line. Required. |
| `includePersonNames` | `false` | Return director and owner names found on the page, and keep address and phone of pages with no legal form, register or VAT ID. Personal data: see FAQ. |
| `maxDomains` | 100 | Most domains in a run (max 100,000). Extra domains are skipped and free. |
| `maxRequestsPerSite` | 8 | Page fetches allowed per website, homepage included (2 to 20). |
| `concurrency` | 5 | Websites read at the same time (1 to 20). One website is read one page at a time. |
| `delaySecs` | 1 | Pause between requests to one site, in seconds. A longer `Crawl-delay` in robots.txt (up to 10 s) wins. |
| `timeoutSecs` | 10 | Seconds before one request is abandoned. |

### Output

From a real local run of the input above (the `charged` flag is true locally because local runs are not billed; on Apify it marks the charged rows):

```json
{
  "inputIndex": 0,
  "input": "heise.de",
  "domain": "heise.de",
  "status": "found",
  "confidence": "high",
  "impressumUrl": "https://www.heise.de/impressum.html",
  "homepageUrl": "https://www.heise.de/",
  "pageSource": "legal-page",
  "legalName": "Heise Medien GmbH & Co. KG",
  "legalForm": "GmbH & Co. KG",
  "vatId": "DE813501887",
  "vatIdCountry": "DE",
  "vatIdFormatValid": true,
  "registerType": "HRB",
  "registerNumber": "HRB 60405",
  "registerCourt": "Amtsgericht Hannover",
  "street": "Karl-Wiechert-Allee 10",
  "postalCode": "30625",
  "city": "Hannover",
  "country": "DE",
  "countrySource": "vat-id",
  "address": "Karl-Wiechert-Allee 10, 30625 Hannover, DE",
  "phone": "+49 [0]511 5352-0",
  "email": "webmaster@heise.de",
  "emails": ["webmaster@heise.de"],
  "managingDirectors": [],
  "personalDataWithheld": false,
  "checkedUrls": 2,
  "note": null,
  "charged": true,
  "checkedAt": "2026-11-09T14:40:21+00:00"
}
```

`confidence` is `high` when a legal name, a VAT ID or register number, and an address were all read; `medium` or `low` with fewer. `countrySource` says where the country came from: `page` (a country line or country-name text), `vat-id` (the VAT prefix) or `domain-suffix` (for example .at). The phone is exactly as written on the page, not normalised. The `SUMMARY` record counts domains by status and charged rows.

### Use with the Apify API, MCP, n8n and Make

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-done-right/impressum-extractor").call(run_input={"domains": ["heise.de", "willhaben.at"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["domain"], row["status"], row["legalName"], row["vatId"], row["registerNumber"])
```

JavaScript:

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('data-done-right/impressum-extractor').call({ domains: ['heise.de'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

In n8n or Make use the Apify node with the actor name and the same JSON. With Apify's MCP server (mcp.apify.com) an AI assistant can call it: "what is the legal entity and VAT ID behind example.de?". Only a domain is needed.

### Use cases

- Fill the legal entity, register number and address of leads in a CRM from their own website.
- Collect supplier VAT IDs and company numbers for onboarding or invoicing checks (then verify them in VIES yourself).
- Prepare KYB or compliance files: which entity runs this website, and where is the source page.
- Audit your own or a client's sites for a findable, complete Impressum.
- Enrich a list of domains with the legal form and country before a regional outreach campaign.

### How much does it cost

Pay per event: **$0.003 per company found** (`company-found`, $3 per 1,000). Only `found` rows are charged. Not-found, blocked, unreachable, invalid, duplicate and over-limit domains are free. Plan discounts apply (Silver about 10%, Gold and higher about 20%). Apify platform usage is included in this price.

- 1,000 domains: at most $3 (less when some have no readable notice; with a hit rate of 40% about $1.20).
- 10,000 domains: at most $30.
- 100,000 domains: at most $300.

`maxDomains` caps a run, and if you set a maximum spend per run the Actor stops cleanly when it is reached.

### FAQ

#### Does it call VIES or check that a VAT ID is real?

No. It only checks the number against the format of its country (for example `DE` + 9 digits, `ATU` + 8 digits, `NL` + 9 digits + `B` + 2 digits). A format match says nothing about registration. Use the EU VIES service for that.

#### Is the output personal data? What does includePersonNames do?

Company facts (name, register number, VAT ID, business address, general mailbox) are not personal data when they belong to a legal entity. Names of directors are. With `includePersonNames` off (the default) no person names are returned. When a page shows no legal form, register number or VAT ID, it may describe a sole trader or private person, so address and phone are left out and the row says `personalDataWithheld: true`. Personal mailboxes such as `firstname.lastname@` are never returned, only role mailboxes such as `info@`, `kontakt@`, `office@`. If you switch the option on you are responsible for a lawful basis (GDPR) for using those names.

#### Why do so many sites return nothing?

Large companies often block automated requests (HTTP 403), put the notice behind JavaScript, or publish it as a PDF. This Actor does not use browsers, proxies or any trick to get around that. Smaller company sites with a normal Impressum page work best.

#### How accurate is it?

It is rule-based text extraction, not a lookup. Legal name, VAT ID and register number are the most reliable fields; addresses and phone numbers depend on how the page is laid out. Agency credits, hosting providers and disclaimers below the data are cut off, but unusual layouts can still produce a wrong or missing value. Check `impressumUrl` for anything important.

#### Which countries and languages?

Page finding knows Impressum, imprint, legal notice, mentions légales, aviso legal, note legali, colofon, impresszum and nota prawna. VAT formats cover all EU countries, Northern Ireland (XI), the UK (GB) and Switzerland (CHE with MWST/TVA/IVA). Register patterns cover DE (HRB, HRA, GnR, VR), AT (FN), FR (RCS, SIREN, SIRET), NL (KvK), UK (Companies House), IT (REA), ES (Registro Mercantil), CH (UID), PL (KRS), BE, SE, FI and CZ.

#### What happens with sites that disallow it in robots.txt?

The legal page is not fetched. The row is `not-found` or `blocked` with a note naming robots.txt, and it is free.

### Related tools

- **Contact Page Finder: Find Contact Page & Contact Form URLs** to find the contact page and form of the same sites.
- **Domain List Email Extractor: Emails & Phones from Websites** to pull more emails and phones from the sites you just profiled.
- **Website Technology Checker: CMS, WordPress & Tracking Pixels** to see which platform and tracking tools those sites run.

# Actor input Schema

## `domains` (type: `array`):

Company domains or website URLs, one per line. Example: heise.de or https://www.willhaben.at. IP addresses and internal names are refused.

## `includePersonNames` (type: `boolean`):

Off by default. When on, managing directors, board members and owners named on the page are returned as text in managingDirectors, and address and phone of pages without any legal form, register or VAT ID are kept. These are personal data under GDPR; you need a lawful basis to use them. Default: off.

## `maxDomains` (type: `integer`):

Most domains processed in this run. Domains beyond this are skipped and not charged. Example: 100.

## `maxRequestsPerSite` (type: `integer`):

Page fetches allowed per website (the homepage counts; robots.txt does not). Lower it to cap time on unusual sites. Default 8.

## `concurrency` (type: `integer`):

How many different websites are read at the same time. One website is always read one page at a time. Default 5.

## `delaySecs` (type: `integer`):

Pause between two requests to the same website. A longer Crawl-delay in the site's robots.txt (up to 10 s) wins. Default 1.

## `timeoutSecs` (type: `integer`):

Give up on one request after this many seconds. Default 10.

## Actor input object example

```json
{
  "domains": [
    "heise.de",
    "golem.de",
    "willhaben.at"
  ],
  "includePersonNames": false,
  "maxDomains": 100,
  "maxRequestsPerSite": 8,
  "concurrency": 5,
  "delaySecs": 1,
  "timeoutSecs": 10
}
```

# Actor output Schema

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

One row per domain: legal name, legal form, VAT ID, register number, address, phone and general email, as JSON, CSV, Excel and more.

## `records` (type: `string`):

Key-value store records: the run summary (SUMMARY) and the domains where nothing was found, with the reason (FAILED).

# 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": [
        "heise.de",
        "golem.de",
        "willhaben.at"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-done-right/impressum-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 = { "domains": [
        "heise.de",
        "golem.de",
        "willhaben.at",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("data-done-right/impressum-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 '{
  "domains": [
    "heise.de",
    "golem.de",
    "willhaben.at"
  ]
}' |
apify call data-done-right/impressum-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-done-right/impressum-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/b8ueu3AcsFvHUJFXd/builds/f7imRXR83lZoaIoxJ/openapi.json
