# Homegate Schweiz Scraper (for Wohnung Mieten)

Scrape search results, center, room, area, etc from Homegate by listing page URLs.

- Template page: [https://www.octoparse.com/template/homegate-schweiz-scraper-for-wohnung-mieten](https://www.octoparse.com/template/homegate-schweiz-scraper-for-wohnung-mieten)
- Categories: Real Estate
- Status: `PUBLISHED`
- Run mode: `LOCAL`

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

## Output

The current workflow extracts 8 fields, including `Eingabe`, `Suchergebnisse`, `Miete`, `Fläche`, `Zimmer`, `Label`, `Adresse`, `Wohnung_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 Listing page URLs (up to 10000) and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Listing page URLs (up to 10000)

Required. https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste https://www.homegate.ch/mieten/immobilien/ort-luzern/trefferliste https://www.homegate.ch/mieten/immobilien/ort-bern/trefferliste Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=10000.

## How to Use

# Homegate Schweiz Scraper (for Wohnung Mieten) – Usage Guide

Collects search results, center, room, area, etc. from Homegate by listing page URLs. Data source: [Homegate](https://www.homegate.ch/).

## Pricing
This template currently has no per-line charge.

## Output Fields
Returns: `Eingabe`, `Suchergebnisse`, `Miete`, `Fläche`, `Zimmer`, `Label`, `Adresse`, `Wohnung_url`.

## Input
- **Listing page URLs (up to 10000)** *(required)*: enter one or more values, one per line.

## 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 in the Octoparse desktop app.
4. Review the output rows and export or process the structured data.

## Scheduling and API
- Schedule recurring local runs and export collected data to CSV, Excel, JSON, databases, or cloud storage.
- Send data to reporting or AI workflows via 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 and Tips
- Runs locally, so keep your computer and Octoparse open while the task is running.
- Fields such as `Label`, `Adresse`, and `Wohnung_url` can be empty when the source record does not provide them.
- Start with one or a few inputs to review returned rows before scaling.
- Use the most specific valid listing page URLs to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the output fields 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

- [Amazon Product Scraper (for US)](https://www.octoparse.com/template/amazon-product-details-scraper)
- [Google Scholar Article Scraper (for Japan)](https://www.octoparse.com/template/google-scholar-jp-article-scraper)
- [Booking.com Listing Scraper (for Spain)](https://www.octoparse.com/template/booking-hotel-listados-scraper)
- [TripAdvisor Reviews Scraper (for Australia)](https://www.octoparse.com/template/tripadvisor-reviews-scraper-for-australia)
- [Local.ch Lead Scraper (for Switzerland)](https://www.octoparse.com/template/local-lead-scraper)

## Input Schema

```json
{
  "title": "Homegate Schweiz Scraper (for Wohnung Mieten) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "listing_page_URLs": {
      "title": "Listing page URLs (up to 10000) ",
      "description": "https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste\nhttps://www.homegate.ch/mieten/immobilien/ort-luzern/trefferliste\nhttps://www.homegate.ch/mieten/immobilien/ort-bern/trefferliste",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "listing_page_URLs"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Eingabe": {
      "type": "string",
      "description": ""
    },
    "Suchergebnisse": {
      "type": "string",
      "description": ""
    },
    "Miete": {
      "type": "string",
      "description": ""
    },
    "Fläche": {
      "type": "string",
      "description": ""
    },
    "Zimmer": {
      "type": "string",
      "description": ""
    },
    "Label": {
      "type": "string",
      "description": ""
    },
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Wohnung_url": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Homegate Schweiz Scraper (for Wohnung Mieten) 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 `homegate-schweiz-scraper-for-wohnung-mieten`, 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/homegate-schweiz-scraper-for-wohnung-mieten.json)
- [Manifest](https://www.octoparse.com/templates/homegate-schweiz-scraper-for-wohnung-mieten-manifest.json)
