# Gelbeseiten Discovery Scraper (`getdataforme/gelbeseiten-discovery-scraper`) Actor

The Gelbeseiten Discovery Scraper efficiently extracts business data from Germany's Gelbeseiten directory. It offers customizable searches, reliable proxy support, and automated data collection, providing detailed JSON outputs for market research, competitive analysis, and more.

- **URL**: https://apify.com/getdataforme/gelbeseiten-discovery-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, E-commerce, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Gelbeseiten Discovery Scraper

### Introduction

The Gelbeseiten Discovery Scraper is designed to efficiently extract business information from Gelbeseiten, Germany's leading directory service. This Actor enables users to gather detailed data on businesses based on specific search queries, facilitating market research, competitive analysis, and more.

### Features

- **Efficient Data Extraction**: Quickly scrape business listings from Gelbeseiten using specified search queries.
- **Customizable Search**: Tailor your search with keywords and limit the number of results.
- **Reliable Proxy Support**: Utilize Apify's residential proxy to ensure anonymity and avoid IP blocking.
- **Comprehensive Output**: Receive detailed information including business name, address, contact details, and more.
- **Automated Data Collection**: Set up automated scraping tasks for continuous data gathering.
- **High-Quality Data**: Ensure accuracy and completeness with structured JSON output.
- **User-Friendly Interface**: Easy setup and configuration through Apify's platform.

### Input Parameters

| Parameter           | Type     | Required | Description                                                  | Example               |
|---------------------|----------|----------|--------------------------------------------------------------|-----------------------|
| `searchQuery`       | String   | Yes      | Enter the Search Keywords                                    | "Physiotherapie"      |
| `maxItems`          | Integer  | No       | Maximum number of items to scrape                            | 100                   |
| `proxyConfiguration`| Object   | No       | Specifies proxy servers used by the scraper                  | `{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }` |

### Example Usage

#### Example Input JSON

```json
{
  "searchQuery": "Physiotherapie",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

#### Example Output JSON

```json
[
  {
    "id": "122100004841",
    "realId": "ac527e78-4198-4239-b94c-f404ae4ca10f",
    "name": "Therapie in Johannis",
    "category": "Physiotherapie",
    "address": "Brückenstr. 22, \n\t\t\t\t\t\t90419 Nürnberg\n\t\t\t\t\t\t(St Johannis)",
    "distance": "19,4 km",
    "phone": "0911 37 97 30",
    "status": "open",
    "openUntil": "19:00",
    "rating": null,
    "reviewCount": 0,
    "detailUrl": "https://www.gelbeseiten.dehttps//www.gelbeseiten.de/gsbiz/ac527e78-4198-4239-b94c-f404ae4ca10f",
    "source": "gelbeseiten",
    "scraped_At": "2026-04-20T12:10:57.567Z"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather data on competitors and market trends.
- **Competitive Intelligence**: Monitor business activities and strategies.
- **Price Monitoring**: Track pricing changes across various businesses.
- **Content Aggregation**: Compile business information for directories or databases.
- **Academic Research**: Analyze business demographics and regional distributions.
- **Business Automation**: Automate data collection for business intelligence systems.

### Installation and Usage

```
1. Search for "Gelbeseiten Discovery Scraper" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)
```

### Output Format

The output is a structured JSON array containing detailed business information. Key fields include `id`, `name`, `category`, `address`, `phone`, `status`, `openUntil`, `rating`, `reviewCount`, and `detailUrl`. This format ensures easy integration with other systems and applications.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: <https://getdataforme.com/contact/>

We're here to help you get the most out of this Actor!

# Actor input Schema

## `searchQuery` (type: `string`):

Enter the Search Keywords

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

Maximum number of items to scrape.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "searchQuery": "Physiotherapie",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "Physiotherapie",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/gelbeseiten-discovery-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 = {
    "searchQuery": "Physiotherapie",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/gelbeseiten-discovery-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 '{
  "searchQuery": "Physiotherapie",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/gelbeseiten-discovery-scraper --silent --output-dataset

```

## MCP server setup

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