# Homegate.ch Swiss Real Estate Scraper (`parsebird/homegate-ch-scraper`) Actor

Scrape property listings from Homegate.ch by city, canton, and listing type, or from a pasted search URL. Get price, rooms, area, GPS coordinates, features, images, and agent contact info. Export as JSON, CSV, or Excel.

- **URL**: https://apify.com/parsebird/homegate-ch-scraper.md
- **Developed by:** [ParseBird](https://apify.com/parsebird) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.99 / 1,000 listings

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Homegate.ch Swiss Real Estate Scraper

Scrape property listings from **[Homegate.ch](https://www.homegate.ch)** — one of Switzerland's leading real-estate portals — into clean, structured JSON. The Homegate.ch Swiss Real Estate Scraper pulls the price, rooms, area, floor, full address, canton, GPS coordinates, features, and every listing image for any city, canton, or pasted search URL, with no login and no Homegate API.

<table><tr>
<td style="border-left:4px solid #FF6B00;padding:12px 16px;font-weight:600">
Paste a Homegate.ch search URL, or build one from listing type, city, canton, price, and rooms, and get a structured record per property — price, rooms, area, floor, address, GPS coordinates, features, and 15–20 images per listing straight from the search results, with agent contact info available on request.
</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

```
Actor: parsebird/homegate-ch-scraper (Apify). Scrapes real-estate listings from homegate.ch (Switzerland). Call with ApifyClient.
Input JSON fields:
  searchUrls: string[] — Homegate.ch "trefferliste" search URLs; overrides the filters below
  listingType: "rent" | "buy" (default "rent")
  propertyType: "all"|"apartment"|"house"|"land"|"garage"|"commercial"|"office"|"furnished"|"multi_family" (default "all")
  city: string — Swiss city name, e.g. "Zürich" · canton: string — Swiss canton name, e.g. "Zürich" (used when city is empty)
  priceMin/priceMax: int (CHF, 0 = no bound) — applied after fetching
  roomsMin/roomsMax: number (0 = no bound) — Swiss half-room system, applied after fetching
  includeDetails: bool (default false) — fetch each listing's detail page for agent contact info and price breakdown
  maxResults: int (default 100, 0 = unlimited) — number of billed rows
  maxPagesPerTask: int (default 20) — 20 listings per page
  proxyConfiguration: { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "CH" } (required — Homegate blocks datacenter IPs)
Output: one dataset item per listing — id, title, price, price_net, price_extra, currency, price_type, rooms, area_sqm,
  floor, property_type, listing_type, address, city, postal_code, canton, latitude, longitude, description, features,
  image_url, image_urls, agent_name, agent_company, agent_phone, agent_logo_url, agent_url (with includeDetails),
  source_url, source_platform, listed_at, scraped_at.
Example: { "searchUrls": ["https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"], "maxResults": 100, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "CH" } }
API: https://api.apify.com/v2/acts/parsebird~homegate-ch-scraper  ·  Token: https://console.apify.com/account/integrations
```

### What does the Homegate.ch Swiss Real Estate Scraper do?

[Homegate.ch](https://www.homegate.ch) lists tens of thousands of Swiss apartments, houses, and commercial properties for rent and for sale. There is no public Homegate API — this Homegate scraper reads the site's own search data instead. For every property in a search it extracts:

- 💶 **Pricing** — gross price, and (with `includeDetails`) net rent and extra costs (Nebenkosten) separately.
- 📐 **Size** — living area in m², room count in the Swiss half-room system, and floor.
- 📍 **Location** — full street address, city, postal code, canton, and GPS coordinates.
- 🏷️ **Features** — balcony, parking, elevator, washing machine, pets allowed, Minergie, and more.
- 🖼️ **Media** — every listing image (typically 15–20 per property), already in the search results.
- 👤 **Advertiser** — agent or agency name, company, phone, logo, and website (with `includeDetails`).
- 📅 **Freshness** — the listing date and the direct listing URL.

Common uses: Swiss real-estate market research, rent and price benchmarking by canton or city, private-buyer or renter lead sourcing, and building a property dataset or price-tracking dashboard.

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| searchUrls | array | No | — | Homegate.ch "trefferliste" URLs copied from your browser. Takes precedence over the filters below. |
| listingType | string | No | `rent` | `rent` (mieten) or `buy` (kaufen). |
| propertyType | string | No | `all` | `apartment`, `house`, `land`, `garage`, `commercial`, `office`, `furnished`, or `multi_family`. |
| city | string | No | — | Swiss city name, e.g. `Zürich`. |
| canton | string | No | — | Swiss canton name, e.g. `Zürich`. Used only when `city` is empty. |
| priceMin / priceMax | integer | No | 0 | Price range in CHF (0 = no bound). Applied after fetching. |
| roomsMin / roomsMax | number | No | 0 | Room-count range (0 = no bound). |
| includeDetails | boolean | No | false | Fetch each listing's detail page for agent contact info and price breakdown. |
| maxResults | integer | No | 100 | Maximum listings to return (0 = unlimited). Billed rows. |
| maxPagesPerTask | integer | No | 20 | Safety limit on result pages per search URL (20 listings per page). |
| proxyConfiguration | object | **Yes** | Residential, country CH | Homegate.ch is protected by DataDome and blocks datacenter IPs — Swiss residential proxy is required. |

#### Example inputs

Paste a search URL (Option 1):

```json
{
  "searchUrls": ["https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"],
  "maxResults": 100,
  "includeDetails": false
}
```

Build a search from filters (Option 2):

```json
{
  "listingType": "buy",
  "city": "Bern",
  "priceMax": 900000,
  "roomsMin": 3,
  "maxResults": 50,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "CH" }
}
```

With full details (agent contact info + price breakdown):

```json
{
  "searchUrls": ["https://www.homegate.ch/kaufen/immobilien/kanton-zuerich/trefferliste"],
  "includeDetails": true,
  "maxResults": 30
}
```

### What data can you extract from Homegate.ch?

| Field | Description |
|-------|-------------|
| id / source\_url | Listing identifier and direct URL |
| title / description | Listing title and full text description |
| price / price\_net / price\_extra / currency / price\_type | Gross price, and (with details) net rent and extra costs |
| rooms / area\_sqm / floor | Room count (half-room system), living area, and floor |
| property\_type / listing\_type | Normalised property category and rent vs. buy |
| address / city / postal\_code / canton | Full location breakdown |
| latitude / longitude | GPS coordinates |
| features | Balcony, parking, elevator, washing machine, pets allowed, Minergie, and more |
| image\_url / image\_urls | Primary image and the full gallery (15–20 images typical) |
| agent\_name / agent\_company / agent\_phone / agent\_logo\_url / agent\_url | Advertiser contact details (with `includeDetails`) |
| listed\_at / scraped\_at | Publication date and extraction timestamp |

### Output example

```json
{
  "id": "4002927362",
  "title": "2.5-Zimmer-Wohnung mit Wintergarten",
  "price": 2225,
  "price_net": 2050,
  "price_extra": 175,
  "currency": "CHF",
  "price_type": "rent_monthly",
  "rooms": 2.5,
  "area_sqm": 60,
  "floor": 4,
  "property_type": "apartment",
  "listing_type": "rent",
  "address": "Im Isengrind, 8046 Zürich",
  "city": "Zürich",
  "postal_code": "8046",
  "canton": "ZH",
  "latitude": 47.42223,
  "longitude": 8.51208,
  "features": ["balcony", "parking", "elevator", "washing_machine", "nice_view", "quiet", "pets_allowed"],
  "image_url": "https://media2.homegate.ch/listings/v2/.../image/....jpg",
  "source_url": "https://www.homegate.ch/mieten/4002927362",
  "source_platform": "homegate.ch",
  "listed_at": "2026-02-13T12:45:58.392Z",
  "scraped_at": "2026-09-04T12:00:00.000Z"
}
```

Download the dataset as **JSON, CSV, Excel, HTML, or XML** from the Storage tab or the [Apify API](https://docs.apify.com/api/v2).

### Use cases

- **Rent and price benchmarking** — compare prices per m² across cities and cantons.
- **Private-buyer / renter lead sourcing** — collect fresh listings the moment they're posted.
- **Portfolio and portal seeding** — feed a property-comparison site with Homegate inventory.
- **Agency monitoring** — track what a specific agency lists, at what price, with `includeDetails`.
- **Market dashboards** — schedule daily runs and chart supply and pricing over time.

### How it works

1. **URL** — the scraper uses your `searchUrls`, or builds one from `listingType`, `propertyType`, `city`, or `canton`.
2. **Listing** — it reads each result page's server-rendered data (20 listings per page): price, rooms, area, address, coordinates, features, and images.
3. **Paginate** — it walks through pages until `maxResults`, `maxPagesPerTask`, or the end of the results.
4. **Filter** — price and room-count bounds run in memory over the fetched listings.
5. **Detail** — when `includeDetails` is on, each listing's page is opened for agent contact info and the net-rent / extra-costs breakdown.
6. Rows stream to the dataset.

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

This actor is **pay per result** with two events.

| Event | Price per 1,000 |
|-------|------------------|
| `listing-scraped` — every saved listing | Free **$1.39** · Bronze **$1.29** · Silver **$1.19** · Gold **$0.99** |
| `listing-detail-scraped` — additional, only with `includeDetails` | Free **$5.99** · Bronze **$5.49** · Silver **$4.99** · Gold **$4.49** |

A small platform **Actor start** fee also applies per run. Scraping 1,000 listings without details on the Free plan costs about **$1.39**; with `includeDetails` on, each listing also adds the detail-event price. `maxResults` caps the billed rows.

### How to scrape Homegate.ch

1. Click **Try for free** and sign in to Apify.
2. Open Homegate.ch in your browser, search the way you normally would, and copy the URL — or fill in **listing type**, **city** / **canton**, and price/room filters here instead.
3. Set **max results** (start low, e.g. 20).
4. Turn on **Fetch full listing details** if you need agent contact info.
5. Click **Start**, then watch rows appear in the **Output** tab.
6. Export from **Storage**, or pull results via the API.

#### Run it via API

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("parsebird/homegate-ch-scraper").call(run_input={
    "searchUrls": ["https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"],
    "maxResults": 100,
    "proxyConfiguration": {"useApifyProxy": True, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "CH"},
})
for listing in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(listing["title"], "-", listing["price"], listing["currency"])
```

JavaScript:

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('parsebird/homegate-ch-scraper').call({
    listingType: 'buy',
    city: 'Bern',
    priceMax: 900000,
    maxResults: 50,
    proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ['RESIDENTIAL'], apifyProxyCountry: 'CH' },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Schedule recurring runs, add webhooks, or push results to Google Sheets, Slack, Zapier, and Make with [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Do I need a Homegate account or API key?**
No. The scraper reads public Homegate.ch search pages only. Homegate has no public API — this actor is the alternative.

**Why does `proxyConfiguration` matter so much here?**
Homegate.ch runs DataDome bot protection and blocks datacenter IPs outright. Swiss residential proxy is set by default and is required for reliable runs.

**Do I need `includeDetails` to get images, coordinates, or features?**
No. The search results already carry full address, GPS coordinates, all images, features, and description. `includeDetails` only adds agent contact info and the net-rent / extra-costs price split.

**Where do canton values come from?**
When `includeDetails` is on, the canton comes directly from the listing's own detail page. Otherwise it's resolved live from the listing's postal code — not a hardcoded table.

**Why did my price or room filter return fewer listings than expected?**
Homegate does not expose price or room count as URL filters, so `priceMin/Max` and `roomsMin/Max` run after fetching. A listing that omits its price is dropped by a min/max bound — set bounds to 0 to see everything.

**Something's not working.**
Open an issue on the **Issues** tab with your input and the run link — we respond quickly.

### Is it legal to scrape Homegate.ch?

Homegate.ch listing pages are public information that any visitor can see without logging in. Scraping publicly available pages is legal in most jurisdictions, and this actor does not access private data or bypass any login. You are responsible for how you use the data — follow Homegate's Terms of Use and the Swiss FADP / GDPR when handling any personal data, and consult a lawyer if you are unsure. See Apify's guide on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### Related actors

- [Subito.it Scraper - Italy Real Estate](https://apify.com/parsebird/subito-it-scraper) — property listings from Italy's Subito.it.
- [Cian.ru Property Scraper](https://apify.com/parsebird/cian-ru-property-scraper) — Russian real-estate listings.
- [Trulia Property Scraper](https://apify.com/parsebird/trulia-property-scraper) — US real-estate listings from Trulia.
- [Jobbird Jobs Scraper](https://apify.com/parsebird/jobbird-jobs-scraper) — vacancies from Jobbird.com (Netherlands).

Browse all [ParseBird actors](https://apify.com/parsebird) on Apify Store.

# Actor input Schema

## `searchUrls` (type: `array`):

Homegate.ch search-result ("trefferliste") URLs copied directly from your browser, for example `https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste`. When set, these take precedence over the filter fields below.

## `listingType` (type: `string`):

Rent (mieten) or buy (kaufen). Used when building a search from filters, and to interpret `searchUrls` you paste in.

## `propertyType` (type: `string`):

Restrict to one property type. `office` and `furnished` exist for rent only; `multi_family` for buy only.

## `city` (type: `string`):

Swiss city or town name, for example `Zürich` or `Bern`. Ignored when `searchUrls` is set.

## `canton` (type: `string`):

Swiss canton name, for example `Zürich` or `Genf`. Used only when `city` is empty.

## `priceMin` (type: `integer`):

0 = no lower bound. Applied after fetching, since Homegate does not expose price as a URL filter.

## `priceMax` (type: `integer`):

0 = no upper bound.

## `roomsMin` (type: `number`):

0 = no lower bound. Swiss half-room system (a studio is 1 or 1.5).

## `roomsMax` (type: `number`):

0 = no upper bound.

## `includeDetails` (type: `boolean`):

Open each listing's detail page for agent contact info (name, company, phone) and the net-rent / extra-costs price breakdown. Search results already include title, price, rooms, area, address, coordinates, images, and features without this.

## `maxResults` (type: `integer`):

Maximum total listings to save (0 = unlimited). This is the number of billed rows.

## `maxPagesPerTask` (type: `integer`):

Safety limit on result pages to fetch per search URL (20 listings per page).

## `proxyConfiguration` (type: `object`):

Homegate.ch is protected by DataDome and blocks both datacenter and residential proxies. The Apify Unblocker is required and used by default; changing this will likely break the run.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"
  ],
  "listingType": "rent",
  "propertyType": "all",
  "city": "Zürich",
  "includeDetails": false,
  "maxResults": 20,
  "maxPagesPerTask": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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 = {
    "searchUrls": [
        "https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"
    ],
    "city": "Zürich",
    "canton": "",
    "priceMin": 0,
    "priceMax": 0,
    "roomsMin": 0,
    "roomsMax": 0,
    "maxResults": 20,
    "maxPagesPerTask": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsebird/homegate-ch-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 = {
    "searchUrls": ["https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"],
    "city": "Zürich",
    "canton": "",
    "priceMin": 0,
    "priceMax": 0,
    "roomsMin": 0,
    "roomsMax": 0,
    "maxResults": 20,
    "maxPagesPerTask": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("parsebird/homegate-ch-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 '{
  "searchUrls": [
    "https://www.homegate.ch/mieten/immobilien/ort-zuerich/trefferliste"
  ],
  "city": "Zürich",
  "canton": "",
  "priceMin": 0,
  "priceMax": 0,
  "roomsMin": 0,
  "roomsMax": 0,
  "maxResults": 20,
  "maxPagesPerTask": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call parsebird/homegate-ch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsebird/homegate-ch-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/NfBwOcLhhZgybcB0f/builds/dMprGUbiLcm2G4LQu/openapi.json
