# Gelbe Seiten Business Scraper (`snappytools/gelbe-seiten-business-scraper`) Actor

Type in a trade and a German city, and you get back the matching business listings from gelbeseiten.de, Germany's main business directory. It works the way you would search the site yourself: a search term like Zahnarzt and a location like Berlin.

- **URL**: https://apify.com/snappytools/gelbe-seiten-business-scraper.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.20 / 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

## Gelbe Seiten Scraper – German business listings export

Type in a trade and a German city, and you get back the matching business listings from gelbeseiten.de, Germany's main business directory. It works the way you would search the site yourself: a search term like **Zahnarzt** and a location like **Berlin**.

You get one row per business, with the `name`, `category`, `street`, `postalCode`, `city`, `phone`, `website` and a link to the listing on Gelbe Seiten. Every row also carries a stable `id` and a `scrapedAt` timestamp, so you can join and de-duplicate runs.

You can put it on a schedule and run the same search every week to keep a local lead list fresh.

### Why this one

- **Clean, consistent fields.** Every row has the same field names, with the address also split into street, postcode and city.
- **Stable ids.** The `id` is the Gelbe Seiten listing id, so you can match the same business across runs.
- **Public data only.** It reads the public search pages that anyone can open in a browser, with no login.
- **Bounded runs.** You set **Max results**, from 1 to 500, so a run never spirals.
- **Simple input.** Two fields and a limit. Nothing else to configure.
- **Cheap.** $2.20 per 1,000 results, and runs with no results cost nothing.

### Quick start

```json
{
  "searchTerm": "Zahnarzt",
  "location": "Berlin",
  "maxItems": 5
}
```

This returns up to 5 dentist listings in Berlin with name, address and phone. In a test run on 14 Nov 2026 with this input, it returned 5 listings.

### What you can use it for

| Who | What for |
| --- | --- |
| Sales teams selling to German small businesses | Build call lists of trades in a region |
| Marketing agencies | Find local businesses to pitch to |
| Market researchers | Count providers of a service per city |
| Data teams | Enrich a CRM with public business addresses and phone numbers |

### How to use it

1. Click **Try for free**.
2. Fill in **Search term**, for example `Elektriker`.
3. Fill in **Location**, for example `Hamburg` or a postcode like `80331`.
4. Set **Max results**, for example `100`. The default is 50 and the maximum is 500.
5. Click **Start**.

To keep a list current, save the input as a task and run it from **Schedules**.

### What data you get

Each dataset row is one business listing with these fields.

| Field | What it is | Example |
| --- | --- | --- |
| `id` | Gelbe Seiten listing id | `5f06ccb6-068f-4b36-91a4-63113f066676` |
| `url` | Listing page on gelbeseiten.de | `https://www.gelbeseiten.de/gsbiz/5f06ccb6-068f-4b36-91a4-63113f066676` |
| `name` | Business name | `Zahnarztpraxis Petra Hartmann` |
| `category` | Trade or category shown | `Zahnärzte` |
| `address` | Full address as shown, with distance | `Friedelstr. 14, 12047 Berlin (Neukölln) 4,5 km` |
| `street` | Street and number | `Friedelstr. 14` |
| `postalCode` | German postcode | `12047` |
| `city` | City or district | `Berlin (Neukölln)` |
| `phone` | Public phone number | `030 6 24 31 33` |
| `website` | Business website, empty if not listed | `null` |
| `searchTerm` | Your search term | `Zahnarzt` |
| `searchLocation` | Your location | `Berlin` |
| `scrapedAt` | When the row was collected (ISO) | `2026-11-14T15:14:57.623Z` |

### Pricing

| Event | Price |
| --- | --- |
| Result (each result written to the dataset) | $0.0022 |

There is no start fee. Runs with no results cost nothing.

| Run | Cost |
| --- | --- |
| 100 results | $0.22 |
| 1,000 results | $2.20 |
| 10,000 results | $22.00 |

### Good to know

- **Limits:** at most 500 results per run.
- **Where the data comes from:** public search result pages on gelbeseiten.de.
- **What is not included:** emails, opening hours, reviews and anything behind a login. Fields a listing does not show, such as `website`, come back empty.
- **Freshness:** the data is as current as Gelbe Seiten at the moment you run it.
- **Page changes:** if the site changes its layout, some fields may come back empty until I update the tool.
- **Not affiliated:** this tool isn't affiliated with or endorsed by Gelbe Seiten or its owners.

### FAQ

**Can I search by postcode?** Yes. Put the postcode into **Location**.

**Why are some websites empty?** Not every business lists a website on Gelbe Seiten.

**Can I get more than 500 results?** Split the search by city or postcode and run it several times.

### Getting the data out

Download the results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is available through the Apify API, and you can run it on a timetable from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [Bulk Email Syntax and MX Validator](https://apify.com/snappytools/email-syntax-mx-validator): check email addresses in bulk
- [TED Europa Tender Scraper](https://apify.com/snappytools/ted-europa-tender-scraper): export European public tenders
- [Companies House Company Scraper](https://apify.com/snappytools/companies-house-uk-scraper): export UK company records

# Actor input Schema

## `searchTerm` (type: `string`):

Trade, category or business name to search for on Gelbe Seiten, for example Zahnarzt or Elektriker.

## `location` (type: `string`):

German city, district or postcode to search in, for example Berlin or 80331.

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

Maximum number of business listings to save in this run (1 to 500).

## Actor input object example

```json
{
  "searchTerm": "Zahnarzt",
  "location": "Berlin",
  "maxItems": 20
}
```

# 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 = {
    "searchTerm": "Zahnarzt",
    "location": "Berlin",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/gelbe-seiten-business-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 = {
    "searchTerm": "Zahnarzt",
    "location": "Berlin",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("snappytools/gelbe-seiten-business-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 '{
  "searchTerm": "Zahnarzt",
  "location": "Berlin",
  "maxItems": 20
}' |
apify call snappytools/gelbe-seiten-business-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snappytools/gelbe-seiten-business-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/3QTMkjjMcmPoIFq0L/builds/VboZH5YKHBvbUFI3O/openapi.json
