# German Imprint Scraper (Contact+Social Links) (`codescraper/german-impressum-scraper-fast`) Actor

Very fast actor, Get Impressum data for just $1.5/1000 Results. This powerful scraper finds any German impressum page and extracts key company data: companyName, address, registerNumber, taxId, emails, phones, socialLinks, and page metadata. Get clean, reliable B2B data in seconds.

- **URL**: https://apify.com/codescraper/german-impressum-scraper-fast.md
- **Developed by:** [CodeScraper](https://apify.com/codescraper) (community)
- **Categories:** Lead generation, Automation
- **Stats:** 68 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$1.50/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🇩🇪 German Impressum Scraper – Extract Legal Website Information

This **Apify actor** automatically discovers and scrapes **Impressum (Legal Notice)** data from **German websites**.
It intelligently locates the *Impressum* page, extracts business details, and returns structured JSON output ready for analysis.

***

### 🚀 What It Does

The actor processes each website URL and returns detailed Impressum information, including:

- 🏢 **Company Details:** Name, Address, Register Numbers, Tax IDs
- 📧 **Contacts:** Email Addresses and Phone Numbers
- 🌐 **Links:** Detected Social Media Profiles (Facebook, Instagram, etc.)
- 🧠 **Metadata:** Page Title and H1 Header Text
- 🔗 **Impressum URL:** Automatically detected Impressum or Legal Notice page

### 💡 It handles:

- ✅ Automatic Impressum link discovery
- 🔍 Smart pattern recognition for addresses, emails, and tax IDs
- ⚙️ Parallel scraping with adjustable concurrency
- 🧩 Works for any German (.de) or localized domain

***

### ⚙️ Input Configuration

| Field            | Type   | Description                                                                                   | Default Example                                     |
| ---------------- | ------ | --------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| `startUrls`      | Array  | List of website URLs to scrape. The scraper finds and extracts Impressum data from each site. | `["https://www.decathlon.de", "https://kooduu.de"]` |
| `maxConcurrency` | Number | How many pages to process at the same time. Default is `10`.                                  | `10`                                                |

***

### 🧩 Example Input

```json
{
  "startUrls": ["https://www.dr-johanna-budwig.de/", "https://kooduu.de"],
  "maxConcurrency": 10
}
```

***

### 📊 Example Output

```json
{
  "originalUrl": "https://www.dr-johanna-budwig.de/",
  "impressumUrl": "https://www.dr-johanna-budwig.de/service/impressum/",
  "companyName": "Dr. Johanna Budwig GmbH",
  "address": "An den Kolonaten 2-4, 26160 Bad Zwischenahn, Deutschland",
  "emails": ["kontakt@dr-johanna-budwig.de"],
  "phones": ["+494413906300"],
  "registerNumber": "HRB 209987",
  "taxId": "DE300469959",
  "socialLinks": {
    "instagram": "https://www.instagram.com/p/CztvWVtt8qM/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA==",
    "facebook": "https://www.facebook.com/Dr.Johanna.Budwig",
    "youtube": "https://www.youtube.com/user/DrJohannaBudwig"
  },
  "metadata": {
    "title": "Dr. Johanna Budwig | Öle, Rezepte & mehr",
    "description": "Dein Shop für eine gesunde Ernährung ➜ Entdecke Öle, Rezepte, Ernährungstipps & mehr ➜ Wissen, was stärkt!",
    "keywords": "Home Start"
  }
}
```

***

### 🧠 Features

- 🔍 Automatically finds the **Impressum** page on each domain
- 🧾 Extracts **company names, addresses, register numbers, and tax IDs**
- 📧 Detects all **emails and phone numbers** on the Impressum page
- 🌍 Finds **social media links** (Facebook, Instagram, X, LinkedIn)
- ⚙️ Adjustable concurrency for faster scraping
- 🧱 Structured JSON output – ready for automation or database import

***

### 💡 Use Cases

- 🏢 **Business Data Collection:** Enrich datasets with verified German company contact data
- ⚖️ **Compliance Checks:** Validate if a website meets German Impressum law requirements
- 📊 **Market Research:** Gather contact and legal details from target company sites
- 🔍 **Lead Generation:** Identify verified company emails and tax IDs

***

### 🧑‍💻 Developer Info

**Author:** [codescraper](mailto:codescraper011@gmail.com)
**Platform:** [Apify](https://apify.com)
**Language:** TypeScript (Cheerio Crawler)

***

### 🏷️ Tags

`German Impressum Detector` . `impressum` · `germany` · `legal-scraper` · `company-data` · `contact-scraper` · `cheerio` · `apify` · `automation`

# Actor input Schema

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

Enter the list of website URLs (e.g., https://www.domain.com) to scrape. The scraper will try to find the impressum page for each.

## `maxConcurrency` (type: `number`):

How many pages to process at the same time. Default is 10.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.marley.de",
    "https://www.dr-johanna-budwig.de/"
  ],
  "maxConcurrency": 10
}
```

# 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": [
        "https://www.marley.de",
        "https://www.dr-johanna-budwig.de/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codescraper/german-impressum-scraper-fast").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": [
        "https://www.marley.de",
        "https://www.dr-johanna-budwig.de/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("codescraper/german-impressum-scraper-fast").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "https://www.marley.de",
    "https://www.dr-johanna-budwig.de/"
  ]
}' |
apify call codescraper/german-impressum-scraper-fast --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=codescraper/german-impressum-scraper-fast",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/3hMKKq9OycbeUJ79G/builds/zKHw2uOScHRoYcNTi/openapi.json
