# 11880.com - Impressum lead scraper (`lovarusha/11880-actor`) Actor

Scrapes German company listings from 11880.com and enriches each firm by extracting email and responsible person from the website Impressum page. / Extrahiert Firmeneinträge von 11880.com und ergänzt E-Mail sowie Verantwortlichen aus der Impressum-Seite der Unternehmenswebsite.

- **URL**: https://apify.com/lovarusha/11880-actor.md
- **Developed by:** [Danil Musikhin](https://apify.com/lovarusha) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## 11880.com + Impressum lead scraper / 11880.com + Impressum Lead-Scraper

English first, then German.

### What it does / Was macht dieser Actor?

Scrapes company listings from [11880.com](https://www.11880.com) (German business directory), opens each company's website, finds the **Impressum** (legal notice) page, and extracts:

- company name, address, phone
- email from the directory card (when present)
- email and responsible person from the Impressum page

Extrahiert Firmeneinträge von [11880.com](https://www.11880.com), öffnet die Unternehmenswebsite, findet die **Impressum**-Seite und liefert:

- Firmenname, Adresse, Telefon
- E-Mail aus dem Katalogeintrag (falls vorhanden)
- E-Mail und Verantwortlichen aus dem Impressum

### Input / Eingabe

| Field | Description (EN) | Beschreibung (DE) |
|---|---|---|
| `query` | Search term, e.g. `handwerker` | Suchbegriff, z. B. `handwerker` |
| `city` | City slug in the URL, e.g. `berlin` | Stadt im URL, z. B. `berlin` |
| `maxFirms` | Max companies to process (across list pages) | Max. Anzahl Firmen (über Suchseiten hinweg) |
| `sleepSeconds` | Delay between HTTP requests | Pause zwischen Requests |

Example input:

```json
{
  "query": "handwerker",
  "city": "berlin",
  "maxFirms": 5,
  "sleepSeconds": 1
}
```

### Output / Ausgabe

Each dataset item is one company, for example:

| Field | Meaning |
|---|---|
| `name_list` / `name` | Company name |
| `detail_url` | 11880 profile URL |
| `email_catalog` | Email from directory structured data |
| `email_impressum` | Email from Impressum |
| `director` | Person detected on Impressum (when possible) |
| `website` / `impressum_url` | Company site and legal-notice URL |
| `phone`, `street`, `city`, `zip` | Contact / address fields |

Jedes Dataset-Item ist eine Firma mit den Feldern oben.

### How it works / Ablauf

1. Open 11880 search: `/suche/{query}/{city}` and follow `?page=2…` until `maxFirms` is reached
2. Open each company profile and read JSON-LD + website link
3. Find Impressum (footer link or common paths)
4. Extract email + responsible person
5. Push one row per company to the dataset

### Notes / Hinweise

- Public Impressum data is used for lead enrichment; respect site ToS, robots.txt, and applicable privacy rules (GDPR).
- Not every website exposes a clear personal name; then `director` may be empty.
- Local tip (developer): if a system SOCKS proxy breaks `httpx2`, run with `env -u ALL_PROXY -u all_proxy apify run`.

Öffentliche Impressum-Daten dienen der Lead-Anreicherung; bitte ToS, robots.txt und Datenschutz (DSGVO) beachten.

# Actor input Schema

## `query` (type: `string`):

Search term on 11880.com (e.g. handwerker). / Suchbegriff (z. B. handwerker).

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

City slug in the 11880 URL (e.g. berlin). / Stadt im URL (z. B. berlin).

## `maxFirms` (type: `integer`):

How many companies to process from the first results page. / Max. Anzahl Firmen von der ersten Trefferseite.

## `sleepSeconds` (type: `number`):

Pause between HTTP requests to reduce blocking risk. / Pause zwischen Requests.

## Actor input object example

```json
{
  "query": "handwerker",
  "city": "berlin",
  "maxFirms": 5,
  "sleepSeconds": 1
}
```

# 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 = {
    "query": "handwerker",
    "city": "berlin",
    "maxFirms": 5,
    "sleepSeconds": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("lovarusha/11880-actor").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 = {
    "query": "handwerker",
    "city": "berlin",
    "maxFirms": 5,
    "sleepSeconds": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("lovarusha/11880-actor").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 '{
  "query": "handwerker",
  "city": "berlin",
  "maxFirms": 5,
  "sleepSeconds": 1
}' |
apify call lovarusha/11880-actor --silent --output-dataset

```

## MCP server setup

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

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/EZw2HfaB8bWtE1R3o/builds/ejIH5BU3aAPFcUhlR/openapi.json
