# germany-b2b-lead-impressum-scraper (`dach_leads/germany-b2b-lead-impressum-scraper`) Actor

Extract verified German B2B leads by City & Industry. Enriches companies with Managing Director (Geschäftsführer) names, direct emails, phone, and addresses from official Impressum pages.

- **URL**: https://apify.com/dach_leads/germany-b2b-lead-impressum-scraper.md
- **Developed by:** [Samarth Bhalerao](https://apify.com/dach_leads) (community)
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$1.50 / 1,000 results

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

## 🇩🇪 Germany B2B Lead & Legal Impressum Extractor

Extract verified German B2B company decision-makers enriched with **Managing Director (*Geschäftsführer / Inhaber*)** names, direct emails, phone numbers, VAT tax IDs, and commercial court register details (*Handelsregister*) directly from official German legal disclosure pages (**§ 5 DDG**).

```json
{
  "company_name": "Health365 AC GmbH",
  "industry_category": "IT-Beratung",
  "managing_director": "Dr. Jens Mark",
  "verified_email": "kontakt@h365.de",
  "direct_phone": "+49 30 8093 3285",
  "address": "Kurfürstendamm 114, 10711 Berlin",
  "city": "Berlin",
  "website": "https://www.h365.de",
  "impressum_url": "https://www.h365.de/impressum",
  "vat_id": "DE301948271",
  "commercial_register": "HRB 173920 B",
  "data_source": "gelbeseiten.de"
}
```

***

### ⚖️ Why German B2B Leads Require Impressum Extraction (§ 5 DDG)

In Germany, Austria, and Switzerland, strict federal law (**§ 5 Digitale-Dienste-Gesetz - DDG**, formerly § 5 TMG) legally mandates that **every commercial website MUST publish an official legal disclosure page called the "Impressum"**.

Under federal legislation, German business owners must publicly disclose:

- 👔 **The Managing Director / CEO / Owner’s Full Legal Name** (*Geschäftsführer*, *Inhaber*, or *Vorstand*)
- 📧 **Direct Legal Corporate Email Address**
- 📞 **Direct Voice Telephone Line**
- 📍 **Official Registered Business Address & Postal Code (PLZ)**
- 🏛️ **Commercial Court Register Number** (*Handelsregister* HRB / HRA / PR)
- 💳 **DACH Corporate VAT Tax ID** (*USt-IdNr.*)

Generic web scrapers fail in Germany because they only grab generic `info@` addresses. **This Actor inspects company websites, discovers the `/impressum` legal page, de-obfuscates anti-spam email formats, and extracts the verified decision-maker.**

***

### ⚡ Key Features & Engineering Highlights

- **🎯 Verified Decision-Maker Extraction:** Captures German titles (*Dr., Prof., Dipl.-Ing., Dipl.-Kfm.*), multi-part hyphenated surnames (*Meyer-Eckhardt*), and aristocratic prefixes (*von, zu*).
- **🛡️ Email De-obfuscation Engine:** Automatically parses anti-spam tricks like `info [at] domain [dot] de`, `kontakt(ät)company.com`, and encoded HTML entities.
- **📞 Voice Phone vs. Fax Separation:** Specifically isolates voice lines and automatically filters out German fax numbers (`Telefax`).
- **🏛️ Handelsregister & Tax ID:** Extracts German VAT IDs (`DE...`), Austrian VAT (`ATU...`), Swiss UID (`CHE...`), and HRB court numbers.
- **⚡ High-Speed HTTP Architecture:** Consumes only 512 MB RAM with direct connection pooling — runs 10x faster than headless browser scrapers at near-zero Apify compute cost.
- **🤖 Autonomous Agent & n8n Ready:** Pure Pay-Per-Event (PPE) schema allows n8n, Make, LangChain, Claude, and Zapier to enrich German leads on demand.

***

### 🔄 1-Click n8n Automation Template (Recurring CRM Sync)

Automate your lead generation by syncing fresh German B2B leads directly into **Google Sheets, Airtable, HubSpot, or Instantly** every week!

```mermaid
flowchart LR
    A["⏰ Trigger<br/>(On Demand / Weekly)"] --> B["🇩🇪 Step 1: Directory Discovery<br/>(Gelbe Seiten / Das Örtliche)"]
    B --> C{"Filter<br/>Has Website?"}
    C -->|Yes| D["👔 Step 2: Impressum Extractor<br/>(Extracts CEO & Email)"]
    D --> E["📊 Final Output<br/>(Google Sheets / CRM)"]
```

> 📥 **Ready-to-Use n8n Template:** Download our ready-to-import n8n workflow JSON:\
> [**german_b2b_lead_machine_n8n_template.json**](https://github.com/dach-leads/n8n-german-b2b-lead-pipeline) — Copy and paste directly onto your n8n canvas!

***

### 💡 The 2-Step B2B Power Funnel

This Actor works as the **Downstream Enrichment Engine** for your German sales pipeline:

1. **Step 1 (Discovery):** Run our directory scrapers to pull 500–2,000 targeted German businesses:
   - 👉 [**Germany Gelbe Seiten Scraper**](https://apify.com/dach_leads/germany-gelbe-seiten-scraper-fast-b2b-lead-extractor) (Yellow Pages)
   - 👉 [**Germany Das Örtliche Scraper**](https://apify.com/dach_leads/germany-dasoertliche-scraper) (Telecommunications Directory)
2. **Step 2 (Enrichment):** Feed the extracted website URLs into this Actor to automatically unlock the **CEO / Managing Director names** and verified emails.

***

### 📥 Input Parameters

| Field | Type | Required | Default | Description | Example |
| :--- | :--- | :---: | :--- | :--- | :--- |
| **`city`** | String | No | `Berlin` | Target German city or postal district | `München`, `Hamburg`, `Frankfurt am Main`, `Köln` |
| **`industry`** | String | No | `IT-Beratung` | Business category or profession | `Steuerberater`, `Maschinenbau`, `Zahnarzt`, `Immobilien` |
| **`max_leads`** | Integer | No | `50` | Maximum number of leads to extract (1 to 5,000) | `100`, `500`, `2000` |
| **`website_urls`** | Array | No | `[]` | Direct list of company website URLs to enrich | `["https://siemens.com", "https://zalando.de"]` |

***

### 🎯 Top High-Value German Niches to Scrape

| Industry Keyword | Target Region | Decision-Maker Title | Average Deal Value |
| :--- | :--- | :--- | :--- |
| `Steuerberater` | `München` | *Kanzleiinhaber / Partner* | High-ticket retainer (€5,000+/mo) |
| `Finanzberatung` | `Frankfurt am Main` | *Geschäftsführer / Vorstand* | Wealth & capital consulting |
| `Maschinenbau` | `Stuttgart` | *Geschäftsführender Gesellschafter* | Industrial engineering & robotics |
| `Softwareentwicklung` | `Berlin` | *Gründer / Geschäftsführer* | SaaS startups & tech scaleups |
| `Rechtsanwälte` | `Hamburg` | *Partner / Kanzleileitung* | Corporate, M\&A, patent law |
| `Immobilienmakler` | `Düsseldorf` | *Inhaber / Geschäftsführer* | Commercial property brokerages |
| `Zahnarzt` | `Köln` | *Praxisinhaber* | High-income private dental clinics |

***

### 📊 Output Dataset Specification

Data is exported in **Excel (.xlsx), CSV, JSON, or XML**:

| Column Name | Type | Description | Sample Value |
| :--- | :--- | :--- | :--- |
| **`company_name`** | String | Official registered business name | `Health365 AC GmbH` |
| **`industry_category`** | String | Targeted trade or sector | `IT-Beratung` |
| **`managing_director`** | String | Verified Geschäftsführer / Inhaber from Impressum | `Dr. Jens Mark` |
| **`verified_email`** | String | De-obfuscated legal contact email | `kontakt@h365.de` |
| **`direct_phone`** | String | Verified direct voice telephone line | `+49 30 8093 3285` |
| **`address`** | String | Full physical street address and PLZ | `Kurfürstendamm 114, 10711 Berlin` |
| **`city`** | String | German city name | `Berlin` |
| **`website`** | String | Official company website domain | `https://www.h365.de` |
| **`impressum_url`** | String | Exact legal page crawled | `https://www.h365.de/impressum` |
| **`vat_id`** | String | Corporate VAT Tax ID (USt-IdNr) | `DE301948271` |
| **`commercial_register`**| String | Commercial court record (Handelsregister) | `HRB 173920 B` |

***

### 💻 Programmatic Usage & API Integration

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
    "city": "München",
    "industry": "Steuerberater",
    "max_leads": 100
}

run = client.actor("dach_leads/germany-b2b-lead-impressum-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item['company_name']} | CEO: {item['managing_director']} | Email: {item['verified_email']}")
```

#### Node.js (`apify-client`)

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

const client = new ApifyClient({ token: 'YOUR_APIFY_API_TOKEN' });

const input = {
    city: 'Berlin',
    industry: 'Softwareentwicklung',
    max_leads: 100,
};

const run = await client.actor('dach_leads/germany-b2b-lead-impressum-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Extracted ${items.length} German decision-makers.`);
```

#### cURL (Direct HTTP API)

```bash
curl "https://api.apify.com/v2/acts/dach_leads~germany-b2b-lead-impressum-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"city": "Frankfurt am Main", "industry": "Finanzberatung", "max_leads": 50}'
```

***

### 💰 Pure Pay-Per-Event (PPE) Pricing

- **Only $1.50 per 1,000 verified leads** ($0.0015 per record) — **60% cheaper** than enterprise sales intelligence databases.
- **$0.00 Actor Start Fee** — Zero upfront charges.
- **$0.00 for Dead / Unreachable URLs** — You only pay when a valid lead record is produced.
- **Zero Platform Surcharges** — Lightweight HTTP architecture eliminates heavy compute usage fees.

***

### ❓ Frequently Asked Questions (FAQ)

##### Q: Is Impressum scraping GDPR (DSGVO) compliant?

**A:** Yes. Under German federal law (§ 5 DDG), commercial entities are legally required to maintain a publicly accessible Impressum specifically to disclose corporate representation. Processing publicly mandated business contact information for legitimate B2B purposes complies with Art. 6(1)(f) GDPR.

##### Q: How does the scraper find the Impressum page if it is not linked in the footer?

**A:** The Actor first inspects the website DOM for standard anchor tags (`Impressum`, `Imprint`, `Legal Notice`, `Rechtliche Hinweise`). If not found, it executes multi-path fallback probing across common routes (`/impressum`, `/imprint`, `/de/impressum`, `/rechtliches/impressum`, `/kontakt/impressum`).

##### Q: Can I upload my own list of German domains?

**A:** Yes! Pass an array of URLs to the `website_urls` parameter, and the Actor will enrich your custom domain list with CEO names, emails, and phone numbers.

# Actor input Schema

## `website_urls` (type: `array`):

Optional list of German company websites to directly scrape and extract Impressum data from (e.g. \['https://example.de'])

## `city` (type: `string`):

Enter the German target city (e.g. Berlin, München, Hamburg, Frankfurt, Köln, Stuttgart)

## `industry` (type: `string`):

Industry keyword (e.g. IT-Beratung, Zahnarzt, Immobilienmakler, Rechtsanwalt, Handwerker)

## `max_leads` (type: `integer`):

Number of verified business leads to extract (1 to 5,000)

## `extract_impressum` (type: `boolean`):

Visits website and extracts legally verified Geschäftsführer (Managing Director) and direct email

## Actor input object example

```json
{
  "website_urls": [],
  "city": "Berlin",
  "industry": "IT-Beratung",
  "max_leads": 10,
  "extract_impressum": true
}
```

# Actor output Schema

## `resultsDatasetUrl` (type: `string`):

Dataset containing verified German company leads, decision makers, phones, emails, and addresses.

# 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 = {
    "city": "Berlin",
    "industry": "IT-Beratung",
    "max_leads": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("dach_leads/germany-b2b-lead-impressum-scraper").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 = {
    "city": "Berlin",
    "industry": "IT-Beratung",
    "max_leads": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("dach_leads/germany-b2b-lead-impressum-scraper").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 '{
  "city": "Berlin",
  "industry": "IT-Beratung",
  "max_leads": 10
}' |
apify call dach_leads/germany-b2b-lead-impressum-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dach_leads/germany-b2b-lead-impressum-scraper"
        }
    }
}
```

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/7KRiayNu6lebRjZ5W/builds/4F7AuXwv1b6pUTUOM/openapi.json
