# Impressum Scraper — EU Legal Notice, VAT ID & Company Data (`muhammadafzal/impressum-eu-legal-notice-extractor`) Actor

Extract Impressum data from company websites: legal name, VAT ID, register number, address, directors, phone and email. USD 3.00 per 1,000 sites.

- **URL**: https://apify.com/muhammadafzal/impressum-eu-legal-notice-extractor.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (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 $2.40 / 1,000 company legal records

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 Scraper — EU Legal Notice, VAT ID & Company Data

Impressum Scraper visits company websites, finds their Impressum or legal-notice page, and returns the registered company name, legal form, VAT ID, commercial register number, register court, address, managing directors, phone and email as one JSON record per site. It is built for B2B lead generation, supplier onboarding, KYB research and sales teams working with German, Austrian, Swiss and other European companies, and it costs about USD 3.00 per 1,000 websites on the FREE tier (USD 0.003001 per company record, USD 2.40 per 1,000 on GOLD).

You give it a list of website URLs. The Actor opens each homepage, follows up to four legal-notice links on the same host, merges what it finds, and writes the result to an Apify dataset you can export as JSON, CSV or Excel or read through the API.

### What is an Impressum and what does it contain?

An Impressum is the legal notice that German, Austrian and Swiss law requires on commercial websites, and many other European sites publish an equivalent page (mentions légales, aviso legal, note legali, colofon or "legal notice"). It usually names the legal entity, its address, its representatives, its VAT ID (USt-IdNr.) and its commercial register entry (Handelsregisternummer), which makes it the most reliable public source of company identity data on a website.

### What company data does it extract?

Each dataset item is one website. Fields the site does not publish are `null` or empty; nothing is guessed.

| Field | What it contains |
|---|---|
| `companyName`, `legalForm` | Registered name and legal form, for example `Zalando SE` / `SE`, `GmbH & Co. KG` |
| `vatId` | VAT ID normalized to its country prefix, for example `DE260543043` (DE, AT, CH, FR, NL, BE, IT, ES, PL, PT, SE, DK, LU, IE, FI, CZ, GB formats) |
| `taxId` | National tax number when labeled (Steuernummer, numéro fiscal) |
| `commercialRegister`, `registerCourt` | Register entry such as `HRB 158855 B` and court such as `Amtsgericht Charlottenburg` |
| `address`, `street`, `postalCode`, `city`, `country` | Postal address and two-letter country code |
| `managingDirectors` | Names after labels such as Geschäftsführer, Vorstand, Directeur général or Management Board |
| `phone`, `email`, `website` | Published contact details and the page they came from |
| `legalNoticeUrls` | Every legal-notice link found on the same host |
| `sourceLanguage` | The page's declared language, for example `de` |
| `extractionMethod` | `json-ld` and/or `labeled-text` |
| `warnings` | Notes such as "No likely Impressum/legal-notice link was discovered" |
| `sourceUrl`, `scrapedAt` | The URL you supplied and the UTC time of extraction |

The run also writes `OUTPUT` and `SUMMARY` records with records extracted, sites processed, sites failed, charged events and every warning.

### How do I scrape Impressum data from a list of websites?

Paste the homepages into `startUrls`. The default reads Zalando's corporate site.

| Input | Default | Notes |
|---|---|---|
| `startUrls` | `https://corporate.zalando.com` | Public `http(s)` website URLs; duplicates are removed |
| `maxLegalPages` | `4` | Legal-notice pages fetched per site, 0–10; `0` reads only the URL you gave |
| `requestTimeoutSecs` | `20` | Timeout for each page, 5–60 seconds |

Three German companies:

```json
{
  "startUrls": [
    { "url": "https://corporate.zalando.com" },
    { "url": "https://www.heise.de" },
    { "url": "https://www.sap.com/germany" }
  ],
  "maxLegalPages": 4
}
```

If you already know the Impressum URL, pass it directly; the Actor reads that page as well as any legal links on it.

### How do I find a company's VAT number from its website?

Run its homepage through the Actor and read `vatId`. The extractor looks for labeled VAT numbers first (USt-IdNr., Umsatzsteuer-ID, VAT, UID, BTW, TVA, IVA, NIF, CIF) and then for number patterns in the formats listed above, and it returns the ID without spaces or dots. It does not check the number against an official VAT register, so validate IDs separately before invoicing.

### Can I call it as an API?

Yes. Call it from `apify-client`, the Apify REST API, a schedule, Make, Zapier, n8n or an AI agent, and each run returns the same fields.

JavaScript:

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('muhammadafzal/impressum-eu-legal-notice-extractor').call({
    startUrls: [{ url: 'https://corporate.zalando.com' }, { url: 'https://www.heise.de' }],
    maxLegalPages: 4,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const c of items) console.log(c.companyName, c.vatId, c.commercialRegister);
```

Python:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("muhammadafzal/impressum-eu-legal-notice-extractor").call(run_input={
    "startUrls": [{"url": "https://www.heise.de"}],
    "maxLegalPages": 4,
})
for c in client.dataset(run.default_dataset_id).iterate_items():
    print(c["companyName"], c["vatId"], c["city"])
```

### Use it from an AI assistant

Impressum Scraper works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add `https://mcp.apify.com/?tools=muhammadafzal/impressum-eu-legal-notice-extractor` to your client and ask, for example: "Read the Impressum of these 10 German supplier websites and give me a table of legal name, VAT ID, register number and managing directors." Each company record is charged at the prices below.

### What does the output look like?

Records from cloud runs on 2026-10-06 (`legalNoticeUrls` shortened):

```json
[
  {
    "sourceUrl": "https://corporate.zalando.com",
    "legalNoticeUrls": ["https://corporate.zalando.com/en/legal-notice", "https://corporate.zalando.com/de/impressum"],
    "companyName": "Zalando SE",
    "legalForm": "SE",
    "vatId": "DE260543043",
    "taxId": null,
    "commercialRegister": "HRB 158855 B",
    "registerCourt": "Amtsgericht Charlottenburg",
    "address": "Valeska-Gert-Straße 5, 10243 Berlin, DE",
    "street": "Valeska-Gert-Straße 5",
    "postalCode": "10243",
    "city": "Berlin",
    "country": "DE",
    "managingDirectors": ["Robert Gentz", "David Schröder"],
    "phone": "+49 (0)30 2759 46 93",
    "email": "legalnotice@zalando.co.uk",
    "website": "https://corporate.zalando.com/en/legal-notice",
    "sourceLanguage": "en",
    "extractionMethod": ["labeled-text"],
    "scrapedAt": "2026-10-06T10:48:56.282Z",
    "warnings": []
  },
  {
    "sourceUrl": "https://www.heise.de",
    "legalNoticeUrls": ["https://www.heise.de/impressum.html"],
    "companyName": "Heise Medien GmbH & Co. KG",
    "legalForm": "GmbH & Co. KG",
    "vatId": "DE813501887",
    "commercialRegister": "HRB 60405",
    "registerCourt": "Amtsgericht Hannover",
    "city": "Hannover",
    "country": "DE",
    "managingDirectors": ["GmbH", "Ansgar Heise", "Beate Gerold"],
    "email": "webmaster@heise.de",
    "sourceLanguage": "de"
  }
]
```

The second record shows a known limit: `managingDirectors` is split from free text and can contain stray fragments such as `GmbH`.

### How much does Impressum data cost?

The Actor uses pay-per-event pricing with platform usage included. You pay for each company record written, plus one start event per run at the default 512 MB memory.

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND |
|---|---:|---:|---:|---:|---:|---:|
| Company legal record | USD 0.003001 | USD 0.002925 | USD 0.00285 | USD 0.0024 | USD 0.0024 | USD 0.0024 |
| Actor start (per started GB of allocated memory) | USD 0.006251 | USD 0.006094 | USD 0.005938 | USD 0.005 | USD 0.005 | USD 0.005 |

Worked totals on the FREE tier:

- 25 websites: 25 × USD 0.003001 + USD 0.006251 = **USD 0.081**
- 1,000 websites: 1,000 × USD 0.003001 + USD 0.006251 = **USD 3.01**

Sites that fail to load are not charged. A site that loads but has no Impressum still produces a record (mostly `null`, with a warning) and is charged. A second site that resolves to the same VAT ID or company name is skipped and not charged.

### When should I use it, and when not?

**Use it when** you have company websites and need the legal entity behind them: enriching a CRM or lead list with VAT IDs and register numbers, onboarding suppliers, checking who operates an online shop, or building a German B2B list with managing directors.

**Use something else when:**

- You need financial statements of Polish companies: [KRS Financial Statements Scraper](https://apify.com/muhammadafzal/poland-krs-financial-statements-scraper).
- You need New York State business registrations: [NY Business Registry Scraper](https://apify.com/muhammadafzal/ny-business-registry-scraper).
- You need VAT validation, credit data or official register extracts. This Actor reads what the company publishes and does not query a government register.
- The legal notice is rendered only by JavaScript or sits behind a cookie wall. The Actor makes plain HTTP requests, so it returns a partial record with a warning.

### Limits and reliability

- **Speed:** past cloud runs with one or two sites finished in 2–5 seconds. Sites are processed one after another, each with up to five page requests, and the default run timeout is 300 seconds, so raise the timeout in the run options for lists of more than about 50 sites.
- **Scope:** the homepage plus up to `maxLegalPages` legal-notice links on the same host; no general crawling.
- **Languages:** labels in German, English, French, Spanish, Italian and Dutch are recognized, with the best results on German-language Impressum pages.
- **Failures:** HTTP errors, timeouts and blocked sites are listed in `SUMMARY` warnings, and other sites in the run continue.

### FAQ

#### Does it validate VAT IDs?

No. It extracts and normalizes the VAT ID a site publishes. Check it against the official VAT register before relying on it for invoicing.

#### Which countries work best?

Germany, Austria and Switzerland, where the Impressum is mandatory and follows a predictable layout. French, Spanish, Italian, Dutch, Belgian and UK legal notices also work when they use common labels.

#### What happens when a site has no Impressum?

You get a record built from the page you supplied, usually with most fields `null` and the warning "No likely Impressum/legal-notice link was discovered". That record is charged.

#### Is it legal to collect Impressum data?

Impressum details are published because the law requires it, but names, emails and phone numbers of people are still personal data under the GDPR. Have a lawful basis, respect opt-outs, and follow unfair-competition rules on cold outreach.

#### Can it find email addresses?

It returns the email address published on the legal notice, often a general or legal contact. It does not guess or verify personal addresses.

#### Can I export the results to CSV or Excel?

Yes. Apify exports any dataset to CSV, JSON, Excel or XML, and integrations can push it to Google Sheets or a CRM.

### Related Actors

- [KRS Financial Statements Scraper](https://apify.com/muhammadafzal/poland-krs-financial-statements-scraper): Polish company filings
- [NY Business Registry Scraper](https://apify.com/muhammadafzal/ny-business-registry-scraper): New York business entities
- [LinkedIn People & Company Lead Suite](https://apify.com/muhammadafzal/linkedin-people-company-lead-suite): company and contact leads
- [Harris County Court Records](https://apify.com/muhammadafzal/harris-county-court-records): another public-records tool from the same developer

### Legal and compliance

The Actor reads public pages with ordinary HTTP requests and does not log in, solve CAPTCHAs or bypass access controls. You are responsible for how you store and use the data, including the GDPR, national unfair-competition rules on marketing contact, and each site's terms. This tool is not affiliated with any company named above, and this is not legal advice.

Last verified: 2026-10-26

# Actor input Schema

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

Company websites to read, one per line, for example https://corporate.zalando.com or https://www.heise.de. A homepage works: the Actor finds Impressum and legal-notice links on the same host. You can also paste the Impressum URL itself. Each site returns one company record.

## `maxLegalPages` (type: `integer`):

Maximum Impressum or legal-notice pages fetched per site, 0-10 (default 4). Use 0 to read only the URL you supplied.

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

Timeout in seconds for each page fetch, from 5 to 60.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://corporate.zalando.com"
    }
  ],
  "maxLegalPages": 4,
  "requestTimeoutSecs": 20
}
```

# Actor output Schema

## `recordsExtracted` (type: `string`):

No description

## `sitesProcessed` (type: `string`):

No description

## `sitesFailed` (type: `string`):

No description

## `warnings` (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://corporate.zalando.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/impressum-eu-legal-notice-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://corporate.zalando.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/impressum-eu-legal-notice-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://corporate.zalando.com"
    }
  ]
}' |
apify call muhammadafzal/impressum-eu-legal-notice-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/impressum-eu-legal-notice-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/kmT6caTeiZY9fjb7B/builds/V9ofxZu3RFiJbtEMz/openapi.json
