# Marktplazt Mittelstand Leads Scraper

Scrape leads data like address, telephone numbers, email, website, etc. from Marktplazt Mittelstand by keyword pairs.

- Template page: [https://www.octoparse.com/template/marktplazt-mittelstand-leads-scraper](https://www.octoparse.com/template/marktplazt-mittelstand-leads-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 search-results pages, detail pages.

## Output

The current workflow extracts 9 fields, including `Adresse`, `Detail_URL`, `Email`, `Faxnummer`, `Mobilnummer`, `Telefonnummer`, `Titel`, `Webseite`, `Ö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 100) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keyword Pairs (up to 100)

Required. keyword pairs (up to 100) Constraints: minItems=1; maxItems=100; items.minLength=1; items.maxLength=10000.

## How to Use

# Marktplazt Mittelstand Leads Scraper

Collect business leads (address, phone, email, website, etc.) from [Marktplatz Mittelstand](https://www.marktplatz-mittelstand.de/) by keyword pairs.

## Input

- **Keyword Pairs (up to 100)** (required) – Enter one keyword pair per line.

## Output

Each record returns these fields:

- `Titel`  
- `Adresse`  
- `Telefonnummer`  
- `Faxnummer`  
- `Mobilnummer`  
- `Webseite`  
- `Email`  
- `Öffnungszeiten`  
- `Detail_URL`

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Fill in the **Keyword Pairs** input.
3. Choose a local or cloud run.
4. Review the output rows. Export or process the data as needed.

## Limitations

- Only fields that Marktplatz Mittelstand displays are collected.
- Fields such as `Email`, `Öffnungszeiten`, and `Detail_URL` may be empty if the source does not provide them.

## Tips

- Start with one or a few inputs, then scale up.
- Use the most specific valid keyword pairs to reduce unrelated or duplicate records.
- Use a stable identifier (e.g., `Titel`, `Adresse`, `Telefonnummer`) as a 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

- [Google Maps Leads Scraper](https://www.octoparse.com/template/google-maps-scraper-store-details-by-keyword)
- [Kompass Leads Scraper (for Germany)](https://www.octoparse.com/template/kompass-leads-scraper)
- [Kununu.com Leads Scraper](https://www.octoparse.com/template/kununucom-leads-scraper)
- [Golocal Leads Scraper](https://www.octoparse.com/template/golocal-leads-scraper)
- [GoYellow.de Leads Scraper](https://www.octoparse.com/template/goyellow-de-leads-scraper)

## Input Schema

```json
{
  "title": "Marktplazt Mittelstand Leads Scraper 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 100)",
      "description": "keyword pairs (up to 100)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keyword_Pairs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keyword_Pairs": [
    "Telefonanlagen;Berlin",
    "Telefonanlagen;Hamburg",
    "Telefonanlagen;Muenchen",
    "Telefonanlagen für Unternehmen;Berlin",
    "Telefonanlagen für Unternehmen;Hamburg"
  ]
}
```

Example 2

```json
{
  "keyword_Pairs": [
    "Telefonanlagen;Berlin",
    "Telefonanlagen;Hamburg",
    "Telefonanlagen;Muenchen",
    "Telefonanlagen für Unternehmen;Berlin",
    "Telefonanlagen für Unternehmen;Hamburg"
  ]
}
```

Example 3

```json
{
  "keyword_Pairs": [
    "Telefonanlagen;Berlin",
    "Telefonanlagen;Hamburg",
    "Telefonanlagen;Muenchen",
    "Telefonanlagen für Unternehmen;Berlin",
    "Telefonanlagen für Unternehmen;Hamburg"
  ]
}
```

Example 4

```json
{
  "keyword_Pairs": [
    "Telefonanlagen;Berlin",
    "Telefonanlagen;Hamburg",
    "Telefonanlagen;Muenchen",
    "Telefonanlagen für Unternehmen;Berlin",
    "Telefonanlagen für Unternehmen;Hamburg"
  ]
}
```

Example 5

```json
{
  "keyword_Pairs": [
    "arbeiter;bayern"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Detail_URL": {
      "type": "string",
      "description": ""
    },
    "Email": {
      "type": "string",
      "description": ""
    },
    "Faxnummer": {
      "type": "string",
      "description": ""
    },
    "Mobilnummer": {
      "type": "string",
      "description": ""
    },
    "Telefonnummer": {
      "type": "string",
      "description": ""
    },
    "Titel": {
      "type": "string",
      "description": ""
    },
    "Webseite": {
      "type": "string",
      "description": ""
    },
    "Öffnungszeiten": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Marktplazt Mittelstand Leads 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": "Welfenstraße 22,  81541 München",
  "Detail_URL": "https://www.marktplatz-mittelstand.de/muenchen/aplus-steuerberater-aWPAy2.html",
  "Email": "",
  "Faxnummer": "+498961387599 (Fax)",
  "Mobilnummer": "",
  "Telefonnummer": "+49896138750",
  "Titel": "Aplus Steuerberater",
  "Webseite": "https://www.aplus-steuerberater.de",
  "Öffnungszeiten": ""
}
```

Example 2

```json
{
  "Adresse": "Welfenstraße 22,  81541 München",
  "Detail_URL": "https://www.marktplatz-mittelstand.de/muenchen/aplus-steuerberater-aWPAy2.html",
  "Email": "",
  "Faxnummer": "+498961387599 (Fax)",
  "Mobilnummer": "",
  "Telefonnummer": "+49896138750",
  "Titel": "Aplus Steuerberater",
  "Webseite": "https://www.aplus-steuerberater.de",
  "Öffnungszeiten": "Jetzt geöffnet, bis 17:00"
}
```

Example 3

```json
{
  "Adresse": "Welfenstraße 22,  81541 München",
  "Detail_URL": "https://www.marktplatz-mittelstand.de/muenchen/aplus-steuerberater-aWPAy2.html",
  "Email": "",
  "Faxnummer": "+498961387599 (Fax)",
  "Mobilnummer": "",
  "Telefonnummer": "+49896138750",
  "Titel": "Aplus Steuerberater",
  "Webseite": "https://www.aplus-steuerberater.de",
  "Öffnungszeiten": "Jetzt geöffnet, bis 14:00"
}
```

Example 4

```json
{
  "Adresse": "Greifswalder Str. 226,  10405 Berlin",
  "Detail_URL": "https://www.marktplatz-mittelstand.de/berlin/studibucht-aWQ0aF.html",
  "Email": "",
  "Faxnummer": "",
  "Mobilnummer": "+4917683915001 (Mobil)",
  "Telefonnummer": "+493025559885",
  "Titel": "Studibucht",
  "Webseite": "https://studibucht.de/",
  "Öffnungszeiten": ""
}
```

Example 5

```json
{
  "Adresse": "Tulpenweg 8,  86316 Friedberg",
  "Detail_URL": "https://www.marktplatz-mittelstand.de/friedberg/networx-aWPKrY.html",
  "Email": "",
  "Faxnummer": "+498212799889 (Fax)",
  "Mobilnummer": "+491729296640 (Mobil)",
  "Telefonnummer": "+498212799855",
  "Titel": "NetworX",
  "Webseite": "https://www.thc-networx.com",
  "Öffnungszeiten": "Jetzt geöffnet, bis 24: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": "marktplazt-mittelstand-leads-scraper",
  "taskName": "Marktplazt Mittelstand Leads Scraper",
  "parameters": "{\"keyword_Pairs\":[\"Telefonanlagen;Berlin\",\"Telefonanlagen;Hamburg\",\"Telefonanlagen;Muenchen\",\"Telefonanlagen für Unternehmen;Berlin\",\"Telefonanlagen für Unternehmen;Hamburg\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"keyword_Pairs\":[\"Telefonanlagen;Berlin\",\"Telefonanlagen;Hamburg\",\"Telefonanlagen;Muenchen\",\"Telefonanlagen für Unternehmen;Berlin\",\"Telefonanlagen für Unternehmen;Hamburg\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "marktplazt-mittelstand-leads-scraper",
        "taskName": "Marktplazt Mittelstand Leads 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": "marktplazt-mittelstand-leads-scraper",
  "taskName": "Marktplazt Mittelstand Leads Scraper",
  "parameters": "{\"keyword_Pairs\":[\"Telefonanlagen;Berlin\",\"Telefonanlagen;Hamburg\",\"Telefonanlagen;Muenchen\",\"Telefonanlagen für Unternehmen;Berlin\",\"Telefonanlagen für Unternehmen;Hamburg\"]}"
}
JSON
```

## MCP Setup

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