# Gelbe Seiten Listing Scraper (Cloud by keyword pairs)

Scrape lead data like title, address, tel number, etc. from Gelbe Seiten by keyword pairs. This template collection is more stable and faster.

- Template page: [https://www.octoparse.com/template/gelbe-seiten-listing-scraper-cloud](https://www.octoparse.com/template/gelbe-seiten-listing-scraper-cloud)
- Categories: Directories, Lead Generation
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.3/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from listing pages.

## Output

The current workflow extracts 7 fields, including `Adresse`, `Schlüsselwort`, `Scrapen_Zeit`, `Telefonnummer`, `Titel`, `URL`, `Öffnungszeiten`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keyword pairs (up to 10,000) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keyword pairs (up to 10,000)

Required. Keyword pairs Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=10000.

## How to Use

## Gelbe Seiten Listing Scraper (Cloud by keyword pairs)

### Input

- **Keyword pairs (up to 10,000)** (required): Enter one or more values, one per line.

### Output

The template returns these fields per listing:

- `Titel`
- `Öffnungszeiten`
- `Telefonnummer`
- `Adresse`
- `URL`
- `Schlüsselwort`
- `Scrapen_Zeit`

### Pricing

**$0.3 / 1,000 lines**. Billing is based on the number of output lines produced by the task.

### How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input field: **Keyword pairs (up to 10,000)**.
3. Run the task in the cloud.
4. Review the output rows and export or process the structured data.

### Limitations

- Collects fields from search results pages as listed in Output; does not add data not displayed by [Gelbeseiten](https://www.gelbeseiten.de/).
- `URL`, `Schlüsselwort`, and `Scrapen_Zeit` may be empty when the source record does not provide them.

### Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid Keyword pairs to reduce unrelated or duplicate records.
- Use a stable identifier from `Titel`, `Öffnungszeiten`, `Telefonnummer`, `Adresse`, `URL`, `Schlüsselwort`, or `Scrapen_Zeit` as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Gelbe Seiten Details Scraper (Cloud by URLs)](https://www.octoparse.com/template/gelbe-seiten-details-scraper-cloud)
- [Gelbe Seiten Scraper (by URLs with circles)](https://www.octoparse.com/template/gelbe-seiten-scraper-nach-urls)
- [Gelbe Seiten Scraper](https://www.octoparse.com/template/gelbe-seiten-scraper)
- [eBay Listing Page Scraper (by keyword)](https://www.octoparse.com/template/ebay-product-list-scraper-by-keyword)
- [Zillow Listing Scraper (by keyword)](https://www.octoparse.com/template/zillow-scraper-by-keywords)

## Input Schema

```json
{
  "title": "Gelbe Seiten Listing Scraper (Cloud by keyword pairs) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keyword_pairs": {
      "title": "Keyword pairs (up to 10,000)",
      "description": "Keyword pairs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keyword_pairs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keyword_pairs": [
    "arzt;berlin",
    "manager;hamburg"
  ]
}
```

Example 2

```json
{
  "keyword_pairs": [
    "arzt;berlin",
    "manager;hamburg"
  ]
}
```

Example 3

```json
{
  "keyword_pairs": [
    "arzt;berlin",
    "manager;hamburg"
  ]
}
```

Example 4

```json
{
  "keyword_pairs": [
    "arzt;berlin",
    "manager;hamburg"
  ]
}
```

Example 5

```json
{
  "keyword_pairs": [
    "arzt;berlin",
    "manager;hamburg"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Schlüsselwort": {
      "type": "string",
      "description": ""
    },
    "Scrapen_Zeit": {
      "type": "string",
      "description": ""
    },
    "Telefonnummer": {
      "type": "string",
      "description": ""
    },
    "Titel": {
      "type": "string",
      "description": ""
    },
    "URL": {
      "type": "string",
      "description": ""
    },
    "Öffnungszeiten": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Gelbe Seiten Listing Scraper (Cloud by keyword pairs) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Adresse": "Seegefelder Str. 22, 13583 Berlin(Spandau)12,6 km",
  "Schlüsselwort": "arzt;berlin",
  "Scrapen_Zeit": "2026-11-18 10:23",
  "Telefonnummer": "030 3 33 65 46",
  "Titel": "Frau Dr. Claudia Christan",
  "URL": "https://www.gelbeseiten.de/gsbiz/01331c63-8012-4d48-b126-d7ad2ddd1565",
  "Öffnungszeiten": "GeschlossenÖffnet Freitag um 08:00"
}
```

Example 2

```json
{
  "Adresse": "König Heinrich Weg 270a, 22455 Hamburg10,4 km",
  "Schlüsselwort": "manager;hamburg",
  "Scrapen_Zeit": "2026-11-17 13:52",
  "Telefonnummer": "0176 24 81 82 31",
  "Titel": "Olivier Jacob | Digital Project Manager, Web Designer & SEO Freelancer Hamburg",
  "URL": "https://www.gelbeseiten.de/gsbiz/ce76c9be-5c72-49c8-83f0-eb6ec033f8f2",
  "Öffnungszeiten": "GeöffnetSchließt um 20:00"
}
```

Example 3

```json
{
  "Adresse": "Seegefelder Str. 22, 13583 Berlin12,6 km",
  "Schlüsselwort": "arzt;berlin",
  "Scrapen_Zeit": "2026-11-16 17:22",
  "Telefonnummer": "030 3 33 65 46",
  "Titel": "Frau Dr. Claudia Christan",
  "URL": "https://www.gelbeseiten.de/gsbiz/01331c63-8012-4d48-b126-d7ad2ddd1565",
  "Öffnungszeiten": "GeschlossenÖffnet Dienstag um 13:00"
}
```

Example 4

```json
{
  "Adresse": "Habelschwerdter Allee 15, 14195 Berlin(Dahlem)9,6 km",
  "Schlüsselwort": "arzt;berlin",
  "Scrapen_Zeit": "2026-11-15 20:52",
  "Telefonnummer": "030 8 31 36 38",
  "Titel": "Hausarztpraxis Christiane und Peter Bürger",
  "URL": "https://www.gelbeseiten.de/gsbiz/c7b73d33-cfb9-465d-9911-68324c6b8ebd",
  "Öffnungszeiten": "GeschlossenÖffnet Montag um 09:30"
}
```

Example 5

```json
{
  "Adresse": "Große Deichstr. 31, 25348 Glückstadt45,9 km",
  "Schlüsselwort": "manager;hamburg",
  "Scrapen_Zeit": "2026-11-15 00:28",
  "Telefonnummer": "04124 8 99 86 99",
  "Titel": "Deter Consulting GmbH",
  "URL": "https://www.gelbeseiten.de/gsbiz/9025b740-13c7-418c-a267-3e03fe662865",
  "Öffnungszeiten": "GeschlossenÖffnet Montag um 09:00"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "gelbe-seiten-listing-scraper-cloud",
  "taskName": "Gelbe Seiten Listing Scraper (Cloud by keyword pairs)",
  "parameters": "{\"keyword_pairs\":[\"arzt;berlin\",\"manager;hamburg\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keyword_pairs\":[\"arzt;berlin\",\"manager;hamburg\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "gelbe-seiten-listing-scraper-cloud",
        "taskName": "Gelbe Seiten Listing Scraper (Cloud by keyword pairs)",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "gelbe-seiten-listing-scraper-cloud",
  "taskName": "Gelbe Seiten Listing Scraper (Cloud by keyword pairs)",
  "parameters": "{\"keyword_pairs\":[\"arzt;berlin\",\"manager;hamburg\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `gelbe-seiten-listing-scraper-cloud`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/gelbe-seiten-listing-scraper-cloud.json)
- [Manifest](https://www.octoparse.com/templates/gelbe-seiten-listing-scraper-cloud-manifest.json)
