# Das Örtliche Lead Scraper

Scrape name, address, industry, phone numbers etc. from Das Örtliche by keywords.

- Template page: [https://www.octoparse.com/template/das-oetliche-lead-scraper](https://www.octoparse.com/template/das-oetliche-lead-scraper)
- Categories: Directories, Lead Generation
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## 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, detail pages.

## Output

The current workflow extracts 8 fields, including `Adresse`, `Branchen`, `Name`, `Schlüsselwort`, `Seite`, `Standort`, `Telefon`, `Url`.

## 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 Search Word, Locations (up to 10,000), Number of pages (up to 100) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Search Word

Required. Enter a name or a search word Constraints: minLength=1; maxLength=100000.

### Locations (up to 10,000)

Required. Enter a list of locations to find the results from certain places. Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=100000.

### Number of pages (up to 100)

Optional. Enter the page range you want to capture. Constraints: minimum=1, maximum=100.

## How to Use

# Das Örtliche Lead Scraper Usage Guide

## Overview

This template collects business listing data such as name, address, industry, and phone numbers from [Dasoertliche](https://www.dasoertliche.de/) by keyword.

Current pricing: no per-line charge. Octoparse plan or resource limits may still apply.

## Input Parameters

- **Search Word** (required): enter the search keyword requested by the template.
- **Locations (up to 10,000)** (required): enter one or more locations, one per line.
- **Number of pages (up to 100)** (optional): enter a number from 1 to 100.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Run the task locally.
4. Review the output rows, then export or process the structured data.

## Output Notes

Each returned row corresponds to a source record and includes the template's output fields. Fields such as `Branchen`, `Adresse`, and `Telefon` can be empty when the source record does not provide them.

## Limitations

- Runs locally, so keep your computer and Octoparse open while the task is running.
- For scheduled local runs, keep your computer and Octoparse open during the scheduled execution.

## Scheduling and API Use

You can schedule recurring runs, export collected data, and reuse it through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates). Scheduling and API access may require a paid Octoparse plan.

## Notes

Das erste Schlüsselwort ist Name oder Suchwort, während das zweite Schlüsselwort Standort ist. Beachten Sie, dass das erste Wort nur 1 eingegeben wird. Aber gleichzeitig können Sie mehrere Wörter von den Standorte in den Kasten eingeben.

## 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

- [Das Telefonbuch Lead Scraper](https://www.octoparse.com/template/das-telefonbuch-lead-scraper)
- [Search.ch Lead Scraper](https://www.octoparse.com/template/search-ch-lead-scraper)
- [wlw.de Lead Scraper](https://www.octoparse.com/template/wlw-de-lead-scraper)
- [Local.ch Lead Scraper (for Switzerland)](https://www.octoparse.com/template/local-lead-scraper)
- [Search.ch Lead Scraper (via URL)](https://www.octoparse.com/template/search-lead-scraper-via-url)

## Input Schema

```json
{
  "title": "Das Örtliche Lead Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "search_Word": {
      "title": "Search Word",
      "description": "Enter a name or a search word",
      "type": "string",
      "minLength": 1,
      "maxLength": 100000,
      "x-octoparse": {
        "apiEnabled": false
      }
    },
    "locations": {
      "title": "Locations (up to 10,000)",
      "description": "Enter a list of locations to find the results from certain places.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "number_of_pages": {
      "title": "Number of pages (up to 100)",
      "description": "Enter the page range you want to capture.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "search_Word",
    "locations"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "locations": [
    "lübben",
    "spreewald"
  ],
  "search_Word": "restaurant ; email"
}
```

Example 2

```json
{
  "locations": [
    "berlin"
  ],
  "number_of_pages": 2,
  "search_Word": "restaurant"
}
```

Example 3

```json
{
  "locations": [
    "lübben",
    "spreewald"
  ],
  "search_Word": "restaurant ; email"
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Branchen": {
      "type": "string",
      "description": ""
    },
    "Name": {
      "type": "string",
      "description": ""
    },
    "Schlüsselwort": {
      "type": "string",
      "description": ""
    },
    "Seite": {
      "type": "string",
      "description": ""
    },
    "Standort": {
      "type": "string",
      "description": ""
    },
    "Telefon": {
      "type": "string",
      "description": ""
    },
    "Url": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Das Örtliche Lead Scraper 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": "\n                         \n\t\t\t\t\t\t\tPoststr. 2\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t \n                        \t15907 Lübben (Spreewald)\n\t\t\t\t\t\t\n                      ",
  "Branchen": "Gaststätten und Restaurants",
  "Name": "\n\n                \t\tCafé am Markt\n                \t",
  "Schlüsselwort": "restaurant",
  "Seite": "1",
  "Standort": "lübben",
  "Telefon": "Tel/Fax 03546 2 25 29 01",
  "Url": "https://www.dasoertliche.de/?form_name=detail&id=2297109877710658867566&recuid=4H65XBLEU67IBGYIGNDFCUQQUMMAGGDCF5XPYL3OLQIGU7IG2UBA&niceid=Caf%C3%A9-am-Markt-L%C3%BCbben-Spreewald-Poststr&buc=2297&showbuc=0&verlNr=219&kw=restaurant&ci=lübben&recFrom=1&pagePos=1&lastFormName=search_nat&zvo_ok=0&hitno=0"
}
```

Example 2

```json
{
  "Adresse": "\n                         \n\t\t\t\t\t\t\tWundtstrasse 72\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t \n                        \t14057 Berlin, Charlottenburg\n\t\t\t\t\t\t\n                      ",
  "Branchen": "Gaststätten: Café-Restaurants",
  "Name": "\n\n                \t\tFirst Indian Restaurant\n                \t",
  "Schlüsselwort": "restaurant",
  "Seite": "1",
  "Standort": "berlin",
  "Telefon": "0159 01 06 83 13",
  "Url": "https://www.dasoertliche.de/?form_name=detail&id=2239200001178658350038&recuid=FDX6GHUJY6UUDHK3OXIQ57L2NF3MASV4M2T65MQC6AD4OYGLZABA&niceid=First-Indian-Restaurant-Berlin-Charlottenburg-Wundtstrasse&buc=2239&showbuc=0&verlNr=1126&kw=restaurant&ci=berlin&recFrom=1&pagePos=1&lastFormName=search_nat&zvo_ok=0&hitno=0"
}
```

Example 3

```json
{
  "Adresse": "\n                         \n\t\t\t\t\t\t\tPoststr. 2\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t \n                        \t15907 Lübben (Spreewald)\n\t\t\t\t\t\t\n                      ",
  "Branchen": "Gaststätten und Restaurants",
  "Name": "\n\n                \t\tCafé am Markt\n                \t",
  "Schlüsselwort": "restaurant",
  "Seite": "1",
  "Standort": "lübben",
  "Telefon": "Tel/Fax 03546 2 25 29 01",
  "Url": "https://www.dasoertliche.de/?form_name=detail&id=2297109877710656113559&recuid=4H65XBLEU67IBGYIGNDFCUQQUMMAGGDCF5XPYL3OLQIGU7IG2UBA&niceid=Caf%C3%A9-am-Markt-L%C3%BCbben-Spreewald-Poststr&buc=2297&showbuc=0&verlNr=219&kw=restaurant&ci=lübben&recFrom=1&pagePos=1&lastFormName=search_nat&zvo_ok=0&hitno=0"
}
```

## 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": "das-oetliche-lead-scraper",
  "taskName": "Das Örtliche Lead Scraper",
  "parameters": "{\"locations\":[\"lübben\",\"spreewald\"],\"search_Word\":\"restaurant ; email\"}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"locations\":[\"lübben\",\"spreewald\"],\"search_Word\":\"restaurant ; email\"}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "das-oetliche-lead-scraper",
        "taskName": "Das Örtliche Lead Scraper",
        "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": "das-oetliche-lead-scraper",
  "taskName": "Das Örtliche Lead Scraper",
  "parameters": "{\"locations\":[\"lübben\",\"spreewald\"],\"search_Word\":\"restaurant ; email\"}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `das-oetliche-lead-scraper`, 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/das-oetliche-lead-scraper.json)
- [Manifest](https://www.octoparse.com/templates/das-oetliche-lead-scraper-manifest.json)
