# KennstDuEinen.de Scraper (`rainminer/kennstdueinen-de-scraper`) Actor

Extract public KennstDuEinen.de local-business profiles — contact details, ratings, and optional native reviews.

- **URL**: https://apify.com/rainminer/kennstdueinen-de-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Lead generation, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 businesses

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

![KennstDuEinen.de](https://www.kennstdueinen.de/favicon.ico)

### What does KennstDuEinen.de Scraper do?

**KennstDuEinen.de Scraper** exports local-business profiles from [KennstDuEinen.de](https://www.kennstdueinen.de/), a German recommendation directory covering dentists, tradespeople, financial advisers, hairdressers, care services, and hundreds of other categories.

Paste a search or category URL and receive structured business records: name, address, phone, website, logo, aggregate score, and review counts. Customer reviews are an **optional add-on** exported to a separate dataset.

Everything comes from public pages — no login, no credentials, no manual copying.

### What can you use it for?

- Build **local B2B lead lists** by trade and city (Handwerker, advisers, clinics)
- Populate a **directory or comparison site** with verified business data
- Enrich CRM records with **phone numbers, websites, and postal addresses**
- Run **competitor reputation checks** for a service category in your region
- Track **your own listing** and catch new reviews as they appear
- Source **franchise or partner candidates** filtered by rating
- Feed **market sizing** analyses for German local services
- Generate **cold-outreach segments** of businesses with weak online reputation
- Monitor **category growth** across German cities over time
- Supply **map or app products** that need a local-business catalogue

### How to scrape KennstDuEinen.de

1. Run a search on KennstDuEinen and copy the results URL, or open a `branche-…` / `stadt-…` category page
2. Paste it into **Start URLs**
3. Set **Maximum items** for how many business profiles you want
4. Optionally raise **Maximum reviews per business** above `0` to export reviews too
5. Start the run and export JSON, CSV, or Excel

### Input

| Field | Description |
| --- | --- |
| `startUrls` | Search URLs, `branche-…`/`stadt-…` category pages, or single profile URLs |
| `maxItems` | Maximum business profiles per start URL |
| `maxReviewsPerBusiness` | `0` skips reviews (default); higher values export reviews per business |
| `proxyConfiguration` | Optional — the site works without a proxy |

```json
{
  "startUrls": [
    {
      "url": "https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt&Search%5Bcity_input%5D=Berlin"
    }
  ],
  "maxItems": 10,
  "maxReviewsPerBusiness": 5,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

### Output

Businesses land in the **default dataset**:

```json
{
  "businessName": "Zahnarztpraxis Rohloff",
  "streetAddress": "Hubertusallee 13",
  "postalCode": "14193",
  "city": "Berlin",
  "countryCode": "DE",
  "phone": "030 - 8929017",
  "businessWebsiteUrl": "https://www.zahnarzt-rohloff.de",
  "imageUrl": "https://www.kennstdueinen.de/content/serviceproviders/2036348/secondLogo_w300.jpg",
  "aggregateRating": 4.94,
  "aggregateReviewCount": 70,
  "publishedReviewCount": 12,
  "profileUrl": "https://www.kennstdueinen.de/zahnarzt-berlin-zahnarztpraxis-rohloff-d2036348.html"
}
```

Reviews land in the separate **`reviews` dataset** with rating, title, body, author label, and publication date.

### Native reviews vs aggregate score

KennstDuEinen blends its own reviews with counts imported from other platforms. `aggregateReviewCount` is the blended total shown on the profile, while `publishedReviewCount` is the number of individual reviews actually rendered on the page — and that is the maximum the Actor can export. For the example above the profile advertises 70 reviews but publishes 12 individually.

### FAQ

**Do I need a login?** No. Only public pages are read.

**Why do I get fewer reviews than the advertised count?** See the section above — imported reviews have no readable text on KennstDuEinen.

**Can I scrape one business?** Yes, paste the profile URL directly.

**How do I keep costs down?** Leave `maxReviewsPerBusiness` at `0`; reviews live on the same page, but you are only charged for what you export.

### Image Credit

Image credit: [kennstdueinen.de](https://www.kennstdueinen.de/)

# Actor input Schema

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

KennstDuEinen.de search URLs (https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt), category/city pages (branche-…/stadt-… .html), or single business profile URLs.

## `maxItems` (type: `integer`):

Maximum business profiles per start URL.

## `maxReviewsPerBusiness` (type: `integer`):

Set to 0 to skip review export (default). When greater than 0, export up to this many published native reviews per business to the reviews dataset.

## `proxyConfiguration` (type: `object`):

Optional proxy settings; no proxy is normally required.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt&Search%5Bcity_input%5D=Berlin"
    }
  ],
  "maxItems": 10,
  "maxReviewsPerBusiness": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `businesses` (type: `string`):

No description

## `reviews` (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 = {
    "startUrls": [
        {
            "url": "https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt&Search%5Bcity_input%5D=Berlin"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/kennstdueinen-de-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 = {
    "startUrls": [{ "url": "https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt&Search%5Bcity_input%5D=Berlin" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/kennstdueinen-de-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 '{
  "startUrls": [
    {
      "url": "https://www.kennstdueinen.de/search/serviceprovider?Search%5Bquery%5D=Zahnarzt&Search%5Bcity_input%5D=Berlin"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/kennstdueinen-de-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/kennstdueinen-de-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/78afjeoLFyx2haPRn/builds/g7wudL1MwnW8apgyV/openapi.json
