# German Business Directory & Contact Data — Gelbe Seiten (`jungle_synthesizer/gelbeseiten-de-local-business-directory-scraper`) Actor

Scrape business listings from Gelbe Seiten, Germany's largest local business directory. Returns name, address, phone, email, opening hours, ratings, and category nationwide — filter by city or pull the entire German directory in one run.

- **URL**: https://apify.com/jungle\_synthesizer/gelbeseiten-de-local-business-directory-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 record scrapeds

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

## German Business Directory & Contact Data Scraper — Gelbe Seiten

Scrape business listings from [Gelbe Seiten](https://www.gelbeseiten.de), Germany's largest local business directory. Returns name, address, phone, email, opening hours, ratings, and category for businesses across every German city and trade — nationwide, not just a single search result page.

***

### Gelbe Seiten Business Directory Scraper Features

- Extracts business name, address, phone, and email for every listing — email is the field most competing scrapers skip.
- Covers all of Germany, across every city and trade category the directory publishes.
- Returns structured opening hours by weekday, star ratings, accepted payment methods, and each business's full service list.
- Includes precise latitude/longitude for every listing.
- Filter by city with a simple input, or leave it open and pull the entire national catalog.

***

### Who Uses Gelbe Seiten Business Data?

- **Outbound sales teams** — build a prospect list of German SMBs by trade and city, complete with a working email address.
- **Agencies & lead-list builders** — feed a CRM enrichment pipeline without hand-copying contact details off directory pages.
- **Market researchers** — measure business density and category distribution across German cities and regions.
- **Local SEO & marketing tools** — pull competitor listings, ratings, and opening hours for a given trade.
- **Mapping & geodata projects** — plot business locations with the included coordinates, no separate geocoding step required.

***

### How Gelbe Seiten Business Directory Scraper Works

1. Point the actor at specific cities with `orte`, or leave it empty for the full national directory.
2. It pulls the current listing for every business it finds and opens each one's detail page.
3. Each business is normalized into one flat JSON record — name, address, contact info, hours, ratings, and category all in the same schema.
4. Stop anytime with `maxItems`, or let it run to build out the complete dataset for the cities you asked for.

***

### Input

```json
{
  "maxItems": 500,
  "orte": ["Berlin", "Muenchen"]
}
```

| Field      | Type             | Default            | Description |
|------------|------------------|--------------------|-------------|
| `maxItems` | Integer          | 10                 | Maximum number of business records to return. |
| `orte`     | Array of strings | *(all of Germany)* | Optional. Limit results to these German cities or towns. Leave empty for nationwide coverage. |

***

### Gelbe Seiten Business Directory Scraper Output Fields

```json
{
  "listing_id": "1091806189",
  "gsbiz_id": "74a88c50-191f-4404-a788-0c34eb5058e8",
  "name": "VIP Fun Inh. Georg Winkel",
  "branche": "Reisebüro",
  "branche_all": ["Reisebüros"],
  "street": "Nöldnerstr. 15",
  "postal_code": "10317",
  "city": "Berlin",
  "district": "Berlin Bezirk Lichtenberg",
  "latitude": 52.502007,
  "longitude": 13.479125,
  "phone": "+493074685283",
  "mobile": "",
  "fax": "",
  "email": "kontakt@example-travel.de",
  "website": "http://example-travel.de",
  "opening_hours": {
    "Montag": "auf Anfrage",
    "Dienstag": "auf Anfrage"
  },
  "rating_avg": 5,
  "rating_count": 1,
  "payment_methods": ["Bar", "Rechnung"],
  "services": ["Reiseberatung", "Flugbuchung"],
  "description": "",
  "logo_url": "",
  "is_paid_listing": false,
  "listing_url": "https://www.gelbeseiten.de/gsbiz/74a88c50-191f-4404-a788-0c34eb5058e8",
  "source_query_branche": "Reisebüro",
  "source_query_ort": "Berlin",
  "scraped_at": "2026-09-26T14:21:34.118Z"
}
```

| Field                  | Type    | Description                                                             |
|------------------------|---------|-------------------------------------------------------------------------|
| `listing_id`           | String  | The directory's internal listing identifier.                            |
| `gsbiz_id`             | String  | Stable unique identifier for this business (also the detail-page UUID). |
| `name`                 | String  | Business name.                                                          |
| `branche`              | String  | Primary trade category.                                                 |
| `branche_all`          | Array   | Every category this business is listed under.                           |
| `street`               | String  | Street address.                                                         |
| `postal_code`          | String  | Postal code.                                                            |
| `city`                 | String  | City.                                                                   |
| `district`             | String  | Local district (Stadtteil/Bezirk), where published.                     |
| `latitude`             | Number  | Latitude.                                                               |
| `longitude`            | Number  | Longitude.                                                              |
| `phone`                | String  | Landline phone number.                                                  |
| `mobile`               | String  | Mobile phone number, where listed.                                      |
| `fax`                  | String  | Fax number, where listed.                                               |
| `email`                | String  | Contact email address, where the business publishes one.                |
| `website`              | String  | Business website URL.                                                   |
| `opening_hours`        | Object  | Hours by German weekday name, where published.                          |
| `rating_avg`           | Number  | Average star rating, where the listing has reviews.                     |
| `rating_count`         | Integer | Number of reviews behind the rating.                                    |
| `payment_methods`      | Array   | Accepted payment methods, where published.                              |
| `services`             | Array   | Services/offerings listed for this business.                            |
| `description`          | String  | Free-text business description, where published.                        |
| `logo_url`             | String  | Business logo image URL, where published.                               |
| `is_paid_listing`      | Boolean | Whether this listing is a paid/promoted entry.                          |
| `listing_url`          | String  | Direct URL to the business's directory page.                            |
| `source_query_branche` | String  | Trade category this record was collected under.                         |
| `source_query_ort`     | String  | City this record was collected under.                                   |
| `scraped_at`           | String  | Timestamp this record was collected.                                    |

***

### Resuming a large crawl

Every run emits a `resumeCursor` in its Output. If a large crawl stops before it finishes — because it hit `maxItems`, your spend cap (`maxTotalChargeUsd`), or was aborted — start a new run with **the same input** plus that `resumeCursor` to continue from where it left off. The crawl resumes from the queued work the previous run didn't reach.

- You are **not re-charged** for records the earlier run already delivered.
- Resume within your account's run-retention window — on the free tier, roughly your 10 most recent runs. Once the source run is pruned, its `resumeCursor` is no longer valid.
- `resumeCursor` is opaque — supply it unmodified.

***

### FAQ

#### What data does the Gelbe Seiten Business Directory Scraper return?

Business name, full address, coordinates, phone and email contact info, opening hours, star ratings, payment methods, and category — everything a Gelbe Seiten listing publishes, in one flat JSON record per business.

#### Does it include email addresses?

Yes, where the business publishes one. Email is the field most Gelbe Seiten scrapers on the store leave out entirely, and it's often the difference between a directory row and a usable lead.

#### Can I limit results to one city?

Yes — pass one or more city names in `orte` (e.g. `["Berlin"]`). Leave it empty and the actor pulls from the entire national directory instead of a single city.

***

### Need More Features?

Open an issue if you need a field this actor doesn't return yet.

### Why Use Gelbe Seiten Business Directory Scraper?

- **Returns email addresses** — most Gelbe Seiten scrapers on the store stop at name, address, and phone.
- **Covers the entire national directory** — every German city and trade category, not a single search page.
- **Structured opening hours, ratings, and services included** — ready to use without further parsing.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `resumeCursor` (type: `string`):

Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs).

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

Maximum number of records to scrape

## `orte` (type: `array`):

Optional. Limit the crawl to these German cities or towns (matches the site's own city-level sitemap index, e.g. Berlin, Muenchen, Koeln). Leave empty to walk the full national index.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10
}
```

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/gelbeseiten-de-local-business-directory-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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/gelbeseiten-de-local-business-directory-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 '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10
}' |
apify call jungle_synthesizer/gelbeseiten-de-local-business-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/gelbeseiten-de-local-business-directory-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/er1NmjmqNqakVXcdx/builds/ZT35oNtqte1PX1rDa/openapi.json
