# DACH Impressum & Contact Extractor (DE/AT/CH) (`aj-con/dach-impressum-contact-extractor`) Actor

Ultra-fast, lightweight B2B lead & legal entity extractor for German, Austrian, and Swiss (.de, .at, .ch) company websites. Extracts emails, phone numbers, CEO names, VAT IDs (UID), and commercial register numbers (HRB/FN).

- **URL**: https://apify.com/aj-con/dach-impressum-contact-extractor.md
- **Developed by:** [Ali J](https://apify.com/aj-con) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 extracted b2b leads

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## DACH Impressum & Contact Extractor (DE / AT / CH)

Extract verified B2B contact details, decision-makers, and official legal registration numbers directly from German (`.de`), Austrian (`.at`), and Swiss (`.ch`) company websites at blazing speed.

### Why Use This Actor?

In the DACH region, strict legal regulations (*Impressumspflicht* — § 5 DDG in Germany, § 25 MedienG / § 5 ECG in Austria, Art. 3 UWG in Switzerland) require businesses to publish comprehensive corporate and contact disclosures on their websites.

This Actor automatically locates the `/impressum` and `/kontakt` pages and extracts structured B2B enrichment data with **zero browser overhead**:

- **Ultra-Fast & Lightweight**: Powered by async `httpx` and `BeautifulSoup4` (no slow headless browsers, minimal RAM/CPU usage).
- **Results-Only Pricing (Pay-Per-Event)**: You are only charged (`lead-extracted`) when at least a valid **Email** or **VAT ID (UID)** is extracted. Failed websites or empty pages cost nothing.

### Extracted Data Fields

| Field | Description | Example |
| :--- | :--- | :--- |
| `company_name` | Legal company name including suffix (`GmbH`, `AG`, `KG`, `OG`, `e.K.`) | `Mustermann Solutions GmbH` |
| `email` | Direct business email address (automatically de-obfuscates `[at]` / `mailto:`) | `kontakt@mustermann.de` |
| `phone` | Business telephone number | `+49 89 12345670` |
| `ceo_name` | Managing director / CEO (*Geschäftsführer*, *Vorstand*, *Inhaber*) | `Dr. Max Mustermann` |
| `vat_id` | Official EU/Swiss VAT ID (`DE...`, `ATU...`, `CHE-... MWST`) | `DE123456789` |
| `register_number` | Commercial register ID (`HRB`, `HRA`, `FN`, Swiss UID) | `HRB 123456` |
| `source_url` | Exact URL where the Impressum/contact data was found | `https://mustermann.de/impressum` |

### Input Configuration

Provide a list of target URLs or domains:

```json
{
  "urls": [
    { "url": "https://www.sipgate.de" },
    { "url": "https://www.personio.de" }
  ],
  "maxConcurrency": 10
}
```

### Output Example

```json
{
  "company_name": "sipgate GmbH",
  "email": "info@sipgate.de",
  "phone": "+49 211 63 55 55 0",
  "ceo_name": "Tim Mois",
  "vat_id": "DE219349391",
  "register_number": "HRB 39841",
  "source_url": "https://www.sipgate.de/impressum"
}
```

### Ideal Use Cases

- **B2B Lead Enrichment**: Enrich domain lists with direct executive names, emails, and phone numbers.
- **KYB & Compliance Verification**: Validate official VAT IDs (`USt-IdNr.` / `UID`) and trade register numbers (`HRB` / `FN`).
- **CRM Data Hygiene**: Keep DACH company records accurate directly from legally mandated first-party disclosures.

# Actor input Schema

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

List of company website URLs or domains to extract Impressum and contact details from.

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

Maximum number of websites processed in parallel.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.sipgate.de"
    },
    {
      "url": "https://www.personio.de"
    }
  ],
  "maxConcurrency": 10
}
```

# Actor output Schema

## `leads` (type: `string`):

Dataset containing extracted company names, emails, phones, CEO names, VAT IDs, and commercial register numbers.

# 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": [
        {
            "url": "https://www.sipgate.de"
        },
        {
            "url": "https://www.personio.de"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aj-con/dach-impressum-contact-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": [
        { "url": "https://www.sipgate.de" },
        { "url": "https://www.personio.de" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("aj-con/dach-impressum-contact-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": [
    {
      "url": "https://www.sipgate.de"
    },
    {
      "url": "https://www.personio.de"
    }
  ]
}' |
apify call aj-con/dach-impressum-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aj-con/dach-impressum-contact-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/WA672xFkF7IbZcVas/builds/H1Awxal9Ba1pb1bzP/openapi.json
