# Impressum Extractor for DE, AT and CH Websites (`bite-sized-insights/impressum`) Actor

Paste German, Austrian or Swiss website URLs and get structured company data from each site's Impressum page: name, legal form, address, representatives, registry number, VAT ID and contact details. No need to find the legal notice page yourself.

- **URL**: https://apify.com/bite-sized-insights/impressum.md
- **Developed by:** [bite-sized-insights](https://apify.com/bite-sized-insights) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 row returneds

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

Extract structured company data - registered name, legal form, address, registry number, VAT ID, and more - from any German, Austrian, or Swiss website's legal notice page (Impressum / Offenlegung). Give it a list of URLs; it finds each site's legal notice page itself and returns the data in a country-specific schema.

### What this actor does

- **Finds the legal notice page for you.** No need to know the URL - the actor checks the site's sitemap for likely candidates (Impressum, Kontakt, Legal Notice, ...) and falls back to scanning the homepage footer if nothing matches.
- **Extracts structured data**, not raw text: company name, legal form, address, registered representatives, contact details, registry court/number, VAT ID, and country-specific fields (see below).
- **Auto-detects the legal jurisdiction** from the domain (`.de` → Germany, `.at` → Austria, `.ch` → Switzerland), or you can force one schema for the whole run.
- **Handles anti-bot-protected sites** with an automatic headless-browser fallback when a direct fetch looks blocked.
- **Runs URLs concurrently** and streams results to the dataset as each one finishes, instead of processing one at a time.

### Quick start

```json
{
    "urls": ["https://www.kronenhalle.com", "https://ethz.ch"]
}
```

Click **Start**. Results appear in the dataset as each URL finishes - no need to wait for the whole run.

### Legal schemas by country

| Country | Legal basis | Notable fields |
|---|---|---|
| **Germany (DE)** | §5 TMG, §55 RStV, §18 MStV | Registry court/number, tax ID, VAT ID, regulatory authority, EU dispute-resolution link |
| **Austria (AT)** | §5 ECG, §14 UGB, §63 GewO | Firmenbuch court/number, UID, applicable trade regulations, plus §25 MedienG media-ownership disclosure on journalistic/opinion-forming sites |
| **Switzerland (CH)** | Art. 3 UWG, cantonal Handelsregister | Canton, UID number, MWST (VAT) number |

Country is inferred from the URL's TLD by default; anything not ending in `.de`/`.at`/`.ch` defaults to the German schema. Use the **Country Override** input to force one schema across the whole run instead.

### Input parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `urls` | Array\[String] | Yes | Websites to extract legal/company data from. Accepts a bare domain or a full URL. |
| `country` | String | No | Force `DE`, `AT`, or `CH` for every URL in the run. Leave unset to auto-detect per URL (default). |
| `includeRawText` | Boolean | No | Also return the cleaned page text the data was extracted from, for auditing. Off by default - roughly doubles dataset size per successful result. |

Up to 200 URLs per run. Only public http(s) URLs are accepted (up to 2048 characters including the `https://` added to bare domains); entries pointing at private or local addresses, containing credentials, or otherwise malformed are rejected as invalid input before any request is made.

### Output

One row per URL. Country-schema fields (company name, address, VAT ID, ...) are flattened to the top level alongside run metadata - no need to unwrap a nested object.

#### Successful extraction (Germany)

(Shown with `includeRawText` enabled; `raw_text` is omitted from the row otherwise.)

```json
{
    "url": "https://www.zalando.de/",
    "country": "DE",
    "status": "success",
    "source_url": "https://www.zalando.de/zalando-impressum/",
    "stealth_used": false,
    "company_name": "Zalando SE",
    "legal_form": "Societas Europaea (SE)",
    "address": {
        "street": "Valeska-Gert-Straße 5",
        "postal_code": "10243",
        "city": "Berlin",
        "country": "Germany"
    },
    "representatives": ["Robert Gentz", "David Schneider"],
    "contact": {
        "email": "presse@zalando.de",
        "phone": null,
        "fax": null
    },
    "registry": {
        "court": "Amtsgericht Charlottenburg",
        "register_number": "HRB 158855 B"
    },
    "vat_id": "DE260543043",
    "tax_id": null,
    "regulatory_authority": null,
    "professional_title": null,
    "chamber": null,
    "responsible_for_content": null,
    "eu_dispute_resolution_url": "https://ec.europa.eu/consumers/odr/",
    "applicable_regulations": null,
    "media_disclosure": null,
    "uid_number": null,
    "stats": {
        "candidates_tried": 1,
        "stealth_attempts": 0,
        "llm_calls": 2,
        "duration_seconds": 6.2
    },
    "error": null,
    "raw_text": "Impressum Zalando SE Valeska-Gert-Straße 5 10243 Berlin ..."
}
```

#### Extraction service unreachable

```json
{
    "url": "https://example.ch/",
    "country": "CH",
    "status": "failed",
    "source_url": null,
    "stealth_used": null,
    "company_name": null,
    "legal_form": null,
    "address": null,
    "representatives": null,
    "contact": null,
    "registry": null,
    "vat_id": null,
    "tax_id": null,
    "regulatory_authority": null,
    "professional_title": null,
    "chamber": null,
    "responsible_for_content": null,
    "eu_dispute_resolution_url": null,
    "applicable_regulations": null,
    "media_disclosure": null,
    "uid_number": null,
    "stats": null,
    "error": "Could not reach the extraction service.",
    "raw_text": null
}
```

(Rows with an `error` carry every dataset field as `null`, since no country-specific result exists; `country` is only set here if the Country Override input was used. `raw_text` is only present when `includeRawText` is enabled.)

A `failed` or `partial` result from the extraction service carries the country's own schema fields (empty, except for `only_partial_data`) plus the run metadata, `stats` and a machine-readable `error` code; fields belonging only to other countries' schemas are not included.

`status` is one of:

- `success` - a matching legal notice page was found and data extracted
- `partial` - a page was checked but the result is not a confident legal notice (`only_partial_data`: only company name/country, or a privacy page) or the time budget ran out (`budget_exhausted`)
- `failed` - no candidate page produced usable data (fields are all `null`); `error` says why

`error` is set on every `partial` and `failed` row. From the extraction service it is one of: `homepage_unreachable`, `no_legal_page_found`, `candidate_unreachable`, `no_impressum_found`, `only_partial_data`, `budget_exhausted`, `request_timeout`, or `llm_unavailable: <reason>`. Generated by the actor itself: "Could not reach the extraction service." (network failure, timeout, or a server-side error) and "Extraction service rejected the request (HTTP 400): <detail>" (or a rate-limit message for HTTP 429). A URL that could not be started within the run's time limit gets `status: "failed"` with an `error` starting with `time_limit` ("not started, not enough time left in this run"); it is not charged and can be run again. Rows where the actor could not get any result carry no country fields. Only `success` rows are charged. An authentication problem with the extraction service doesn't produce a row - it fails the whole run with an error message instead.

### Pricing: pay per successful extraction

Only successful extractions are billed - `partial` and `failed` results (including ones where no legal notice page exists) are free. A flat per-run start fee and Apify's platform dataset-item fee (per row written, including `partial` and `failed` rows) also apply. Current prices per tier are shown on the Actor's Store page.

| Event | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|
| Legal notice extracted | $0.0145 ($14.50 per 1,000) | $0.0138 ($13.80 per 1,000) | $0.0123 ($12.30 per 1,000) | $0.0095 ($9.50 per 1,000) |

Gold, Platinum and Diamond share one price. The price depends on your Apify subscription plan and applies automatically.

#### Free test runs

New users on Apify's free plan get up to 5 free runs of this actor (lifetime total), each capped to 3 URLs. Runs started via the Apify Console's "Test" button are capped to 3 URLs too, regardless of plan, and don't count against the 5 free runs.

### How long does a run take?

Each URL is checked independently against the extraction service (sitemap lookup, page fetch, and one or more AI extraction calls), with up to 4 URLs processed at once:

| Case | Typical duration per URL |
|---|---|
| Legal notice found via sitemap, no anti-bot block | ~3-10 seconds |
| Site needed the headless-browser fallback | ~5-30 seconds |
| Nothing found after trying every candidate page | up to ~90-150 seconds |

A batch of 20 mixed URLs typically finishes in a few minutes, not 20x the slowest single URL - since up to 4 run at once and results stream in as they complete rather than waiting for the whole batch.

### FAQ

#### Why did a `failed` result have no usable legal notice?

Check `error`: `no_legal_page_found` / `no_impressum_found` mean the site's likely legal-notice pages and homepage were checked and none contained data matching the target schema (sites without a proper Impressum, or in an unrecognized format); `homepage_unreachable` / `candidate_unreachable` mean the pages could not be fetched, e.g. because the site blocks automated access.

#### Can I get results for a different country's legal disclosure requirements?

Not currently - only Germany, Austria, and Switzerland are supported. Auto-detection is TLD-based (`.de`/`.at`/`.ch`); anything else defaults to the German schema, which is usually not what you want for, say, a `.com` site with no German-market presence. Set the `country` override, or exclude non-DE/AT/CH URLs from your input.

#### Why does the actor process one URL per request instead of batching several into one call?

The extraction service does real work per URL - checking a sitemap, fetching pages, and running AI extraction - so batching several URLs into one request would either serialize that work behind a single slot (slower overall) or require the backend to manage its own internal concurrency for no benefit over what this actor already does by running multiple individual requests in parallel. One request per URL keeps failures isolated too: a single slow or blocked site never holds up unrelated URLs in the same run.

#### Does this actor use a proxy?

No - it calls a dedicated extraction service directly, not the target websites themselves, so there's nothing for a proxy to help with here.

### Related Actors

- [verify email addresses](https://apify.com/bite-sized-insights/validator-email) - Clean lists before you send.
- [Bulk Phone Number Validator](https://apify.com/bite-sized-insights/validator-phone) - Clean contact lists.
- [global sanctions search](https://apify.com/bite-sized-insights/global-sanctions-search) - OFAC, EU and UK lists in one query.

### Disclaimer

This actor extracts publicly available legal-disclosure information that German, Austrian, and Swiss law generally requires commercial websites to publish. Accuracy depends on the source page's own content and formatting; always verify time-sensitive or compliance-critical data (registry numbers, VAT IDs) against the source before relying on it. The actor does not store data beyond the run's own dataset.

***

**Need help?** Open an issue on the actor's repository or contact support through Apify Console.

# Actor input Schema

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

One or more websites to extract legal/company data from. Accepts a domain (<code>example.de</code>) or full URL (<code>https://example.de</code>). Only public http(s) URLs are accepted, up to 2048 characters including the <code>https://</code> prefix added to bare domains.

## `country` (type: `string`):

Force every URL in this run onto one country's legal schema (Germany, Austria, or Switzerland) instead of auto-detecting it per site from the domain's TLD (<code>.de</code> → DE, <code>.at</code> → AT, <code>.ch</code> → CH, anything else → DE). Leave on auto-detect unless every URL in this run genuinely needs the same schema.

## `includeRawText` (type: `boolean`):

Also return the raw cleaned page text the legal-notice data was extracted from, for auditing a result against its source page. Roughly doubles dataset size per successful result - leave off unless you specifically need it.

## Actor input object example

```json
{
  "urls": [
    "https://www.kronenhalle.com",
    "https://ethz.ch"
  ],
  "country": "",
  "includeRawText": false
}
```

# Actor output Schema

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

One row per input URL with company name, address, registry info, VAT ID, and other legal-notice fields

# 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.kronenhalle.com",
        "https://ethz.ch"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bite-sized-insights/impressum").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.kronenhalle.com",
        "https://ethz.ch",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bite-sized-insights/impressum").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.kronenhalle.com",
    "https://ethz.ch"
  ]
}' |
apify call bite-sized-insights/impressum --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bite-sized-insights/impressum"
        }
    }
}
```

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/Z1k2tSH2ltzwIrrdI/builds/SMofee7QlihKbGmuS/openapi.json
