# Legal Notice / Impressum / Imprint Extractor: Company Data (`pennydata/legal-notice-extractor`) Actor

Paste website URLs, get each site's legal notice (impressum, imprint, mentions légales): company name, legal form, address, VAT ID, HRB/Firmenbuch/RCS number, phone, role mailbox. $0.005 per site with a result, failures free. Built with AI assistance.

- **URL**: https://apify.com/pennydata/legal-notice-extractor.md
- **Developed by:** [Penny Data](https://apify.com/pennydata) (community)
- **Categories:** Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 site with extracted company details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Legal Notice / Impressum / Imprint Extractor

Paste website URLs, get the company data from each site's legal notice (impressum, imprint, mentions légales): legal name, legal form, address, VAT ID, commercial register number, phone and role mailbox. $0.005 per site with a result, sites with no result are free.

Click Start: the prefilled input (hetzner.com, zalando.de, a1.net) runs as is, takes under a minute and costs at most $0.015.

**Real output (local run of this build, 2026-10-25, 22 German, Austrian and French sites, 14 with name and address):**

| input | legalName | address | vatId | registerNumber |
|---|---|---|---|---|
| hetzner.com | Hetzner Online GmbH | Industriestr. 25, 91710 Gunzenhausen | DE812871812 | HRB 6089 |
| zalando.de | Zalando SE | Valeska-Gert-Straße 5, 10243 Berlin | DE260543043 | HRB 158855 B (Amtsgericht Charlottenburg Berlin) |
| a1.net | A1 Telekom Austria AG | Lassallestraße 9, A-1020 Wien | ATU62895905 | FN 280571f |
| backmarket.fr | Jung SAS | 199 Rue Championnet, 75018 Paris | FR67804049476 | |

### What it does

1. Opens each site and looks for the imprint link (link text or URL containing impressum, imprint, legal notice, mentions légales, Anbieterkennzeichnung, aviso legal).
2. If none is found, tries common paths such as `/impressum`, `/imprint`, `/legal-notice`, `/mentions-legales`.
3. Reads the page and extracts the fields below. You can also pass the imprint page URL directly.

### Output fields

`legalName`, `legalForm` (GmbH, AG, UG, GmbH & Co. KG, Ges.m.b.H., SE, SAS, SARL ...), `address`, `vatId` (DE, ATU, FR, CHE ...), `registerNumber` (HRB/HRA with court, Firmenbuch FN, RCS, SIREN), `phone`, `genericEmail`, `imprintUrl`, `error`.

### Privacy by design

Only company-level data is returned. Natural-person names (managing directors, owners) and personal e-mail addresses are never output. `genericEmail` is returned only for role mailboxes such as info@, kontakt@, office@, service@, contact@. Sole traders without a company form get no `legalName`.

### Pricing

Pay per event: $0.005 per website where company details were extracted. Sites that cannot be reached, have no imprint page or yield no company data are not charged.

### Limits

Reads the public HTML of each site; pages rendered only by JavaScript (some large shops) or blocking automated requests return an error and are not charged. Extraction is rule-based: always verify legally relevant data against the original page (`imprintUrl` is included).

### Example input

```json
{ "urls": ["hetzner.com", { "url": "https://www.zalando.de" }], "tryCommonPaths": true }
```

### AI disclosure

Built with AI assistance (Claude); maintained by the publisher.

# Actor input Schema

## `urls` (type: `array`):

Company websites or domains. Each item is a string like "example.de" or an object like {"url": "https://example.de"}. You can also pass the imprint page URL directly.

## `tryCommonPaths` (type: `boolean`):

If no imprint link is found on the page, also try /impressum, /imprint, /legal-notice, /mentions-legales and similar paths.

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

How many websites are processed at the same time.

## Actor input object example

```json
{
  "urls": [
    "https://www.hetzner.com",
    "https://www.zalando.de",
    "https://www.a1.net"
  ],
  "tryCommonPaths": true,
  "maxConcurrency": 5
}
```

# 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 = {
    "urls": [
        "https://www.hetzner.com",
        "https://www.zalando.de",
        "https://www.a1.net"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pennydata/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 = { "urls": [
        "https://www.hetzner.com",
        "https://www.zalando.de",
        "https://www.a1.net",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pennydata/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 '{
  "urls": [
    "https://www.hetzner.com",
    "https://www.zalando.de",
    "https://www.a1.net"
  ]
}' |
apify call pennydata/legal-notice-extractor --silent --output-dataset

```

## MCP server setup

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