# Local.ch Lead Scraper (via URL)

Scrape title, telephone numbers, e-mail etc. from local.ch by URLs.

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

## Output

The current workflow extracts 8 fields, including `Titre`, `Rating`, `Adresse`, `Téléphone`, `Fax`, `Portable`, `Email`, `Site_web`.

## 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 URL of listing page and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URL of listing page

Required. URL of listing page Constraints: minItems=1; maxItems=10000.

## How to Use

## Local.ch Lead Scraper (via URL)

### Input

- **URL of listing page** (required): Enter one or more values, one per line.

### Output

Returns these fields: `Titre`, `Rating`, `Adresse`, `Téléphone`, `Fax`, `Portable`, `Email`, `Site_web`.

### How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

### Pricing

This template currently has no per-line charge.

### Scheduling and Export

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

### Limitations

- Collects only the fields listed in Output from listing pages; does not add data that Local does not display.
- Fields such as `Portable`, `Email`, and `Site_web` 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.
- Use the most specific valid URL of listing page to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `Titre`, `Rating`, `Adresse`, `Téléphone`, `Fax`, `Portable`, `Email`, or `Site_web` 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

- [Search.ch Lead Scraper (via URL)](https://www.octoparse.com/template/search-lead-scraper-via-url)
- [Local.ch Lead Scraper (for Switzerland)](https://www.octoparse.com/template/local-lead-scraper)
- [Vinted Data Scraper (via URL)](https://www.octoparse.com/template/vinted-data-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)

## Input Schema

```json
{
  "title": "Local.ch Lead Scraper (via URL) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRL_of_listing_page": {
      "title": "URL of listing page",
      "description": "URL of listing page",
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRL_of_listing_page"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Titre": {
      "type": "string",
      "description": ""
    },
    "Rating": {
      "type": "string",
      "description": ""
    },
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Téléphone": {
      "type": "string",
      "description": ""
    },
    "Fax": {
      "type": "string",
      "description": ""
    },
    "Portable": {
      "type": "string",
      "description": ""
    },
    "Email": {
      "type": "string",
      "description": ""
    },
    "Site_web": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Local.ch Lead Scraper (via URL) 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-via-url`, 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-via-url.json)
- [Manifest](https://www.octoparse.com/templates/local-lead-scraper-via-url-manifest.json)
