# GelbeSeiten.de Scraper | Fast & Reliable | $4 / 1k (`fatihtahta/gelbeseiten-de-scraper`) Actor

Extract clean, structured Germany business data right from GelbeSeiten.de. It grabs every visible listing to deliver names, phone numbers, websites, ratings, addresses, hours  and more. Ideal for sales, market mapping or local competitor research.

- **URL**: https://apify.com/fatihtahta/gelbeseiten-de-scraper.md
- **Developed by:** [Fatih Tahta](https://apify.com/fatihtahta) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Security:** Full permissions
- **Stats:** 8 total users, 1 monthly users, 0.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## GelbeSeiten.de Scraper | German Business Leads on Demand

**Slug:** `gelbeseiten-de-scraper`\
**Price:** See Apify Store listing for current pricing.

Turn any **GelbeSeiten.de** results page into a ready-to-use dataset of German businesses. Feed the actor a search URL—such as “Ärzte in Berlin” or “Autowerkstatt Hamburg”—and receive clean profiles with contacts, locations, and ratings that plug straight into your CRM, research stack, or analytics workflow.

***

### 💡 Why Scrape GelbeSeiten.de?

Germany’s flagship directory is packed with verified local listings. Scraping it unlocks:

- **Sales & Outreach** – Build laser-focused lead lists, complete with phone numbers, websites, and inquiry links.
- **Territory Planning** – Map coverage by city, district, or postal code to spot gaps and opportunities.
- **Competitive Benchmarking** – Track who dominates key categories, their ratings, and promotional badges.
- **Store & Partner Discovery** – Aggregate branch info or find service partners aligned with your brand.

***

### 🚀 Highlights

- **Rich business cards** – Names, categories, badges, descriptions, and profile URLs for every result.
- **Contact-ready details** – Phone numbers, call links, websites, and email inquiry pages when shown.
- **Location clarity** – Structured street addresses, postal codes, districts, map links, and distance hints.
- **Open-status snapshots** – Quick “open now” cues and schedule snippets directly from the listing card.
- **Review signals** – Average rating, total review count, and labels to prioritize prospects with social proof.
- **Full pagination** – Automatically follows the “Load more” flow until your `maxResults` limit is reached.

***

### 📊 Data You Receive

Each saved item can contain:

#### Identity & Source

- `name`
- `detailUrl`
- `sourceUrl`
- `participantId`, `listingId`, `realId`, `classes[]`

#### Categories & Messaging

- `primaryCategory`
- `categories[]`
- `badges[]`
- `description`

#### Location & Directions

- `address.streetAddress`
- `address.postalCode`
- `address.city`
- `address.district`
- `address.locality`
- `address.distance`
- `address.mapUrl`

#### Availability & Reputation

- `openingHours.status`
- `openingHours.details`
- `ratings.average`
- `ratings.total`
- `ratings.label`
- `ratings.totalLabel`

#### Contact Touchpoints

- `contacts.phones[]`
- `contacts.phoneUrls[]`
- `contacts.phoneDetailPages[]`
- `contacts.emailUrl`
- `contacts.website`

#### Media Preview

- `media.image`
- `media.srcset[]`
- `media.alt`

Export your dataset in JSON, CSV, Excel, or connect it directly to your workflows via the Apify API.

***

### 🧪 Example Input

```json
{
  "targetUrl": "https://www.gelbeseiten.de/s/steuerberater/muenchen",
  "maxResults": 250
}
```

***

### 📦 Example Output Item

```json
{
  "name": "Muster & Partner Steuerberatung",
  "primaryCategory": "Steuerberater",
  "detailUrl": "https://www.gelbeseiten.de/gsbiz/1234567890",
  "address": {
    "streetAddress": "Maximilianstraße 12",
    "postalCode": "80539",
    "city": "München",
    "distance": {
      "text": "0,5 km"
    },
    "mapUrl": "https://www.gelbeseiten.de/route/muster-partner"
  },
  "contacts": {
    "phones": ["089 123456"],
    "website": "https://www.muster-steuerberater.de"
  },
  "ratings": {
    "average": 4.7,
    "total": 23
  },
  "openingHours": {
    "status": "Jetzt geöffnet"
  },
  "sourceUrl": "https://www.gelbeseiten.de/s/steuerberater/muenchen"
}
```

***

### 📥 Input Fields

- `targetUrl` *(string, required)* – Any GelbeSeiten search or category URL (e.g., `https://www.gelbeseiten.de/s/friseur/berlin`).
- `maxResults` *(number, optional; default `50000`)* – Maximum listings to capture (1–1,000,000).

> Tip: Start with a smaller `maxResults` to validate your filter before scaling up.

***

### 🛠️ How to Run

1. Open **GelbeSeiten.de Scraper** in Apify and click **Try actor**.
2. Paste your target URL and adjust `maxResults` if needed.
3. Hit **Start** and let the run finish.
4. Download the dataset from **Storage → Dataset** or pull it through the Apify API.

***

### 💼 Ideal For

- Sales teams enriching outbound call lists.
- Agencies mapping service providers in German cities.
- Market analysts comparing local ratings and presence.
- Operations teams consolidating branch directories.

***

### ⚖️ Responsible Use

The actor collects publicly accessible business information from GelbeSeiten.de. Ensure your use complies with applicable laws (GDPR/CCPA, etc.), GelbeSeiten terms, and best practices for respectful outreach.

***

### ❓ Need Help?

Questions or custom data needs? Reach out through the actor’s **Issues** tab in Apify—support typically replies within one business day.

Viel Erfolg!

# Actor input Schema

## `targetUrl` (type: `string`):

enter the url of the GelbeSeiten.de list that you want to scrape.

## `maxResults` (type: `integer`):

The maximum number of contacts to scrape.

## Actor input object example

```json
{
  "maxResults": 50000
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fatihtahta/gelbeseiten-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("fatihtahta/gelbeseiten-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 '{}' |
apify call fatihtahta/gelbeseiten-de-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fatihtahta/gelbeseiten-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/ZJxa7whEFNMlQs7WC/builds/SbuEQcDYVZ3eBoM6X/openapi.json
