# 🇨🇭 Comparis.ch Swiss Real Estate Scraper \[From 💰$0.75/1K] (`misterkhan/comparis-ch-immobilien-scraper`) Actor

Extract Swiss property listings for sale and rent from Comparis.ch across Zurich, Geneva, Zug & Basel — CHF prices, Zimmer count, Wohnfläche m², addresses, cantons & agency details.

- **URL**: https://apify.com/misterkhan/comparis-ch-immobilien-scraper.md
- **Developed by:** [Khan](https://apify.com/misterkhan) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 60.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Comparis.ch Swiss Real Estate Scraper do?

**Comparis.ch Swiss Real Estate Scraper** is an Apify Actor that extracts residential and commercial property listings for sale and rent from **Comparis.ch (comparis.ch)**—Switzerland's largest real estate meta-marketplace aggregating listings across 15+ Swiss property portals—capturing asking prices and gross rents in Swiss Francs (CHF), room counts (Zimmer), living space (`areaSqm`), addresses, property images, and listing URLs across Zurich, Geneva, Zug, Basel, Bern, Lausanne, and Lucerne.

Built for Swiss and DACH real estate analysts, PropTech valuation models, relocation agencies, and institutional property funds, this scraper processes comparis.ch/immobilien/... search result URLs and individual property pages and exports clean, structured records in JSON, CSV, or Excel with zero manual proxy configuration.

***

> 🛡️ **Zero Proxy Configuration Required:** Anti-blocking and regional routing are **handled automatically out of the box** — just paste your target URLs and click **Start**.

### What data can you extract with Comparis.ch Swiss Real Estate Scraper?

**🇨🇭 Price & Currency** — numeric `price` (450000.0), formatted `priceFormatted` (CHF 450,000), and `currency` (CHF) <br>
**🏢 Listing & Seller Classification** — `title`, `isFsbo` flag, and `sellerType` (`agency_or_owner`) <br>
**🛏️ Rooms & Living Surface** — `bedrooms` (Zimmer), `bathrooms`, and floor area in square meters (`areaSqm`) <br>
**📍 Location & Portal Identity** — municipality/canton `address`, `country` (Switzerland), `portalName` (Comparis.ch Switzerland Immobilien), and listing `id` <br>
**🖼️ Media & Direct Links** — primary `imageUrl`, canonical property `url`, `sourceUrl`, and ISO-8601 `scrapedAt` timestamp <br>

***

### Why scrape Comparis.ch Swiss real estate listings?

**💪 Aggregate 15+ Swiss Property Portals in One Feed** — capture Swiss apartments (Wohnung) and houses (Haus) aggregated on comparis.ch across all 26 cantons <br>
**🕵️ Track CHF Purchase Prices & Rental Yields by Municipality** — monitor kaufen (for sale) and mieten (for rent) pricing across Zurich, Geneva, Zug, Schwyz, and Vaud <br>
**✨ Standardized Multi-Portal Swiss Schema** — merge comparis.ch records seamlessly with immoscout24.ch and newhome.ch datasets <br>
**👍 Zero Swiss Proxy Configuration** — country-targeted routing and anti-blocking are handled automatically on the backend <br>
**📩 Real-Time Streaming to Apify Dataset** — every listing streams immediately to your dataset for live export to Google Sheets, BigQuery, Make, or n8n <br>

***

### How do I use Comparis.ch Swiss Real Estate Scraper?

1. Open **Comparis.ch Swiss Real Estate Scraper** in Apify Console.
2. Paste one or more comparis.ch real estate search or listing URLs into **Start URLs** (`startUrls`).
3. Set **Max Results** (`maxItems`) to specify the maximum number of Swiss property listings to collect.
4. Click **Start** and watch structured CHF property records stream into the dataset log in real time.
5. Download your dataset in **JSON, CSV, Excel (.xlsx), or HTML table** format from the **Output** or **Dataset** tab.

***

### Input

Comparis.ch Swiss Real Estate Scraper accepts a JSON configuration object. Click on the [Input tab](https://apify.com/misterkhan/comparis-ch-immobilien-scraper/input-schema) for the interactive visual form.

```json
{
  "startUrls": [
    {
      "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen"
    }
  ],
  "maxItems": 40
}
```

**🇨🇭 Start URLs (`startUrls`)** — one or more comparis.ch real estate search URLs (/immobilien/marktplatz/<location>/kaufen, /mieten, in English en.comparis.ch, German de.comparis.ch, French fr.comparis.ch, or Italian it.comparis.ch) or individual listing URLs <br>
**🔢 Max Results (`maxItems`)** — maximum number of property listings to collect per run (default: 40) <br>

***

### Output sample

Results are packed into a structured dataset where each record represents a single Swiss property listing on Comparis.ch. Below is an excerpt of the JSON output:

```json
[
  {
    "id": "prop-849201",
    "portal": "comparis-ch-immobilien-scraper",
    "portalName": "Comparis.ch Switzerland Immobilien",
    "country": "Switzerland",
    "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen",
    "title": "3-Room Property in Zurich",
    "price": 450000.0,
    "priceFormatted": "CHF 450,000",
    "currency": "CHF",
    "bedrooms": 3,
    "bathrooms": 1,
    "areaSqm": 92.5,
    "address": "Zurich, Switzerland",
    "imageUrl": "https://comparis.ch/images/property-849201.jpg",
    "isFsbo": false,
    "sellerType": "agency_or_owner",
    "sourceUrl": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen",
    "scrapedAt": "2026-10-17T12:00:00.000Z"
  }
]
```

***

### How much does it cost to scrape Comparis.ch?

This Actor uses **Pay-Per-Event (Pay-Per-Result)** pricing with a **`$0.00` Actor start fee**. You only pay for Swiss property listings delivered to your dataset, and the `128 MB` runtime keeps platform compute costs near zero:

**🆓 Free Plan** — `$5.00 / 1,000 results` ($0.00500 per result, up to 40 results per run) <br>
**🥉 Starter Plan (Bronze)** — `$1.35 / 1,000 results` ($0.00135 per result, unlimited results) <br>
**🥈 Scale Plan (Silver)** — `$0.95 / 1,000 results` ($0.00095 per result, unlimited results) <br>
**🥇 Business+ Plan (Gold / Platinum / Diamond)** — `$0.75 / 1,000 results` ($0.00075 per result, unlimited results) <br>

***

> 💡 **Predictable, All-Inclusive Pay-Per-Event Pricing:** There is a **`$0.00` run start fee** and **no separate proxy configuration required**. You only pay the flat per-result rate above for data successfully delivered to your dataset — works out of the box on both **Free** and **Paid** Apify plans.

### How many listings can you scrape with Comparis.ch Swiss Real Estate Scraper?

Comparis.ch Swiss Real Estate Scraper supports municipality-level (Gemeinde), postal-code (PLZ), and canton-wide harvesting across Switzerland:

- **Canton & Municipality Filtered URLs:** Apply filters on comparis.ch (kaufen vs. mieten, room count, living space in m², or CHF price range) and paste the resulting URLs into `startUrls`.
- **Multi-Canton Batching:** Pass multiple Swiss city or canton search URLs in a single run to capture comprehensive national property datasets.
- **Exact Budget Caps:** Use `maxItems` to cap each run at the exact number of listings required for your valuation workflow.

***

### Want to scrape other European & Global Real Estate Portals?

Combine this Actor with our other published European and global property scrapers:

🇪🇸 **[Idealista Property Scraper](https://apify.com/misterkhan/idealista-scraper)** — extract Spanish residential and commercial property listings, EUR prices, m², and rooms (From $0.75 / 1K) <br>
🇫🇷 **[PAP.fr France FSBO Property Scraper](https://apify.com/misterkhan/pap-fr-particuliers-scraper)** — scrape direct private-owner (Particulier à Particulier) property sales and rentals across France (From $0.75 / 1K) <br>
🇫🇷 **[MeilleursAgents France Property Scraper](https://apify.com/misterkhan/meilleursagents-france-scraper)** — scrape French property listings and price-per-m² valuation benchmarks (From $0.75 / 1K) <br>
🇫🇷 **[BellesDemeures Luxury Property Scraper](https://apify.com/misterkhan/bellesdemeures-luxury-scraper)** — extract high-end European villas, châteaux, alpine chalets, and luxury estates (From $0.75 / 1K) <br>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

### Integrations and Comparis.ch Swiss Real Estate Scraper

Comparis.ch Swiss Real Estate Scraper connects with any cloud data pipeline or BI tool through [Apify integrations](https://docs.apify.com/platform/integrations):

- **No-Code Automation:** Trigger runs and route Swiss property listings via **Make, Zapier, n8n, Clay, or Pipedream**.
- **Spreadsheets & Warehouses:** Sync CHF property inventory directly into **Google Sheets, Airtable, BigQuery, Snowflake, or PostgreSQL**.
- **Webhooks:** Configure instant webhooks to alert your acquisition team when new listings appear in Zurich, Geneva, or Zug.

***

### Using Comparis.ch Swiss Real Estate Scraper with the Apify API

The Apify API gives you programmatic access to launch runs, monitor execution status, and stream dataset items in JSON, CSV, or Excel format.

- **Node.js:** Install the `apify-client` NPM package to call `misterkhan/comparis-ch-immobilien-scraper`.
- **Python:** Install the `apify-client` PyPI package to pull Swiss real estate datasets directly into pandas or analytics pipelines.
- **AI Agents & MCP:** Connect this Actor to Claude, Cursor, or custom AI agents via the **Apify MCP Server** (`https://mcp.apify.com`).

Check out the [Apify API reference docs](https://docs.apify.com/api/v2) or click on the [API tab](https://apify.com/misterkhan/comparis-ch-immobilien-scraper/api) for ready-to-run code snippets.

***

### Frequently asked questions about Comparis.ch Swiss Real Estate Scraper

**🛡️ Do I need to configure Swiss proxies? <br>**
**No — everything works out of the box with zero setup.** Regional routing, session management, and anti-blocking are handled automatically so you do not need to configure custom proxy settings.

**🌐 Does the Actor support English, German, French, and Italian comparis.ch subdomains? <br>**
Yes. You can paste search or detail URLs from en.comparis.ch, de.comparis.ch, fr.comparis.ch, or it.comparis.ch for both purchase (kaufen) and rental (mieten) searches.

**🇨🇭 How can I combine comparis.ch, immoscout24.ch, and newhome.ch into a single Swiss dataset? <br>**
Combine this Actor with **ImmoScout24 Switzerland Scraper** and **Newhome.ch Switzerland Property Scraper** to unify listings across all major Swiss property networks.

***

### Is it legal to scrape Comparis.ch data?

Our scrapers are ethical and only extract publicly available property listing metadata displayed on comparis.ch. They do not bypass login screens or extract private user messages. Always ensure your use of extracted data complies with the Swiss Federal Act on Data Protection (`FADP` / DSG) and EU GDPR where applicable. Read Apify's [blog post on the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/) to learn more.

***

### Your feedback

We keep this Actor under active maintenance. If a run finishes successfully but returns fewer results than you expected, hangs, or errors — please **open an Issue before posting a public review** so we can diagnose and fix it for you.

**🛠️ How to report** — Use the Actor’s [Issues tab](https://apify.com/misterkhan/comparis-ch-immobilien-scraper/issues/open) in Apify Console. Include the run ID, your input JSON, and what you expected vs. what you got. <br>
**⏱️ Response time** — We aim to reply within 24 hours on business days. <br>
**⭐ Reviews** — Happy with the results? A short positive review helps other users find a reliable scraper. Ran into a problem? Open an Issue first — we’ll work with you to resolve it before you leave a rating. <br>

# Actor input Schema

## `startUrls` (type: `array`):

Paste one or more Comparis.ch Switzerland Immobilien (comparis.ch) search or listing URLs (e.g., `https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen`).

## `maxItems` (type: `integer`):

Maximum number of property listings to collect (Free plan runs are capped at 40 items per run; paid Apify plans support unlimited extraction).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen"
    }
  ],
  "maxItems": 40
}
```

# Actor output Schema

## `results` (type: `string`):

All extracted property listings from Hemnet Sweden Property (hemnet.se).

## `usage_summary` (type: `string`):

Execution telemetry and extraction summary stored in the default key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen"
        }
    ],
    "maxItems": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("misterkhan/comparis-ch-immobilien-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen" }],
    "maxItems": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("misterkhan/comparis-ch-immobilien-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://en.comparis.ch/immobilien/marktplatz/zuerich/kaufen"
    }
  ],
  "maxItems": 40
}' |
apify call misterkhan/comparis-ch-immobilien-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,misterkhan/comparis-ch-immobilien-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/d2xlb5WrOP8KWXDDv/builds/PJxHto2IRgp8p1yeF/openapi.json
