# Local.ch Lead Scraper (for Switzerland)

Scrape title, category, telephone numbers, reviews etc. from local.ch by keywords.

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

## Output

The current workflow extracts 13 fields, including `Schlüsselwort`, `Titel`, `Standort`, `Kategorie`, `Öffnungszeit`, `Kundenbewertung`, `Anzahl_der_Bewertungen`, `Telefon`, `Mobiltelefon`, `Email`, `Website`, `Beschreibung`, `Sprachen`.

## 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 Keywords (up to 100), Pagination, IP Pool and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords (up to 100)

Required. Please enter up to 100 keywords. Constraints: minItems=1; maxItems=100; items.minLength=1; items.maxLength=100000.

### Pagination

Optional. Pagination times Constraints: minimum=1, maximum=1000.

### IP Pool

Optional. Please select DE as the performed IP pool if you want to scrape data from the cloud.

## How to Use

# Local.ch Lead Scraper (for Switzerland)

Collects title, category, telephone numbers, reviews, and related public listing data from [Local](https://www.local.ch/) by keyword search.

**Pricing:** This template currently has no per-line charge.

## Input Parameters

- **Keywords (up to 100)** (required): enter one or more keywords, one per line.
- **Pagination** (optional): enter a number from 1 to 1000.
- **IP Pool** (optional): enter the IP Pool requested by the template.

## Output

Returns structured rows for each source record. Field identifiers:

`Schlüsselwort`, `Titel`, `Standort`, `Kategorie`, `Öffnungszeit`, `Kundenbewertung`, `Anzahl_der_Bewertungen`, `Telefon`, `Mobiltelefon`, `Email`, `Website`, `Beschreibung`, `Sprachen`

## 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 and export or process the structured data.

## Scheduling and Export

You can schedule recurring runs, export 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.

## Limitations

- This template runs locally; keep your computer and Octoparse open while the task is running.
- Fields such as `Website`, `Beschreibung`, and `Sprachen` can 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 Keywords (up to 100) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the output fields 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

- [Local.ch Lead Scraper (via URL)](https://www.octoparse.com/template/local-lead-scraper-via-url)
- [Local.ch lead Scraper](https://www.octoparse.com/template/local-ch-lead-scraper)
- [Das Örtliche Lead Scraper](https://www.octoparse.com/template/das-oetliche-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)

## Input Schema

```json
{
  "title": "Local.ch Lead Scraper (for Switzerland) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords (up to 100)",
      "description": "Please enter up to 100 keywords.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100000
      },
      "minItems": 1,
      "maxItems": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "pagination": {
      "title": "Pagination",
      "description": "Pagination times",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "iP_Pool": {
      "title": "IP Pool",
      "description": "Please select DE as the performed IP pool if you want to scrape data from the cloud.",
      "type": "string",
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Schlüsselwort": {
      "type": "string",
      "description": ""
    },
    "Titel": {
      "type": "string",
      "description": ""
    },
    "Standort": {
      "type": "string",
      "description": ""
    },
    "Kategorie": {
      "type": "string",
      "description": ""
    },
    "Öffnungszeit": {
      "type": "string",
      "description": ""
    },
    "Kundenbewertung": {
      "type": "string",
      "description": ""
    },
    "Anzahl_der_Bewertungen": {
      "type": "string",
      "description": ""
    },
    "Telefon": {
      "type": "string",
      "description": ""
    },
    "Mobiltelefon": {
      "type": "string",
      "description": ""
    },
    "Email": {
      "type": "string",
      "description": ""
    },
    "Website": {
      "type": "string",
      "description": ""
    },
    "Beschreibung": {
      "type": "string",
      "description": ""
    },
    "Sprachen": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Local.ch Lead Scraper (for Switzerland) 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

No verified real input/output examples are currently available.

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

No verified real input/output examples are currently available.

## MCP Setup

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