# Homegate.ch Scraper \[$1.40/1K💰] | Swiss Real Estate (`ahmed_jasarevic/homegate-ch-scraper`) Actor

Scrape Homegate.ch rental and sale listings across Switzerland: prices, rooms, living space, address, coordinates, images, amenities and agency data. Export clean JSON or CSV. No browser required.

- **URL**: https://apify.com/ahmed_jasarevic/homegate-ch-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.30 / 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

## Homegate.ch Scraper

Scrape **Homegate.ch** rental and sale listings across Switzerland with prices, rooms, living space, address, coordinates, images, amenities, publication dates and agency branding. The Actor collects publicly available listings and normalizes them into one schema - no login or API key required.

### Build A Swiss Real Estate Dataset

- Search Homegate rent or buy listing pages for any city, canton, ZIP code or filter combination
- Collect normalized prices, currency, rent/buy flags, rooms, living area, year built and renovation year
- Extract address components, latitude/longitude, property type and Homegate categories
- Add image galleries, amenities, agency logo, Gold partner status and subscription tier
- Track publication date, listing age in days and the portals where each listing appears
- Export clean JSON, CSV or Excel for market research, investment analysis or lead generation

### How It Works

![How the Homegate.ch Scraper turns public property listings into a clean dataset.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-homegate-scraper.webp)

The Actor collects publicly available Homegate.ch rental and sale listings and normalizes them into one consistent schema. You provide search or listing URLs; the Actor follows the result pages, extracts the published property details, removes duplicates and writes one row per listing to the dataset.

Rentals and sales share the same fields, so you can compare asking prices, rooms, living space and location directly. Empty fields are returned as `null` or `[]` rather than being invented.

#### Reliability and proxy settings

Homegate may rate-limit repeated requests. If a run is blocked, enable **Apify Residential proxy** with country **CH**, increase `requestDelaySecs` and lower `maxConcurrency`. For scheduled runs, a Swiss residential proxy is the most reliable option. The Actor does not require a Homegate account or login.

### Scrape Rent And Sale Listings Across Switzerland

`startUrls` accepts Homegate search URLs or listing detail URLs. Supported searches include:

- apartments and houses for rent
- apartments and houses for sale
- city, canton, ZIP code and neighbourhood searches
- property-type, price, room and living-space filters applied in the Homegate URL
- new-build and premium listings

A rent search and a buy search can be mixed in one run:

```json
{
  "startUrls": [
    { "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list" },
    { "url": "https://www.homegate.ch/buy/real-estate/city-bern/matching-list" }
  ],
  "language": "de",
  "maxListings": 100
}
```

### Extract Prices, Rooms, Location And Agency Data

Each listing is normalized into one schema regardless of whether it is a rental or a sale:

- `price`, `currency`, `rent` and `buy` for consistent price comparisons
- `rooms`, `livingSpaceM2`, `yearBuilt` and `yearLastRenovated`
- `address`, `zip`, `city`, `region`, `lat` and `lng`
- `propertyType`, `categories`, `images` and `amenities`
- `agency` with name, logo, Gold partner flag and subscription type
- `publishedAt`, `listingAgeDays`, `platforms` and `floorPlans`

Search cards do not contain every detail. Agency names and floor plans are often missing, and empty values are returned as `null` or `[]` instead of being invented.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `startUrls` | array | Zurich rent search | Homegate search URLs or listing detail URLs. Result pages are handled automatically. |
| `language` | string | `de` | Content language: `de`, `en`, `fr` or `it`. Falls back to the listing's primary language. |
| `maxListings` | integer | `0` | Stop after this many listings. `0` means unlimited for paid users. Free users are capped at 10. |
| `maxRequestsPerCrawl` | integer | `100` | Safety limit for the number of page requests. |
| `requestDelaySecs` | number | `1.5` | Pause between requests. Increase it if Homegate rate-limits your run. |
| `maxConcurrency` | integer | `5` | Number of pages processed in parallel, 1-20. |
| `proxy` | object | Residential CH | Standard Apify proxy input. A Swiss residential proxy is recommended for reliable runs. |

A small test run:

```json
{
  "startUrls": [{ "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list" }],
  "language": "de",
  "maxListings": 20,
  "requestDelaySecs": 1.5,
  "maxConcurrency": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CH"
  }
}
```

A bilingual run with a request cap:

```json
{
  "startUrls": [
    { "url": "https://www.homegate.ch/rent/real-estate/city-geneva/matching-list" },
    { "url": "https://www.homegate.ch/buy/real-estate/city-lausanne/matching-list" }
  ],
  "language": "fr",
  "maxListings": 0,
  "maxRequestsPerCrawl": 250,
  "requestDelaySecs": 2,
  "maxConcurrency": 3
}
```

### Output

Each listing is pushed to the default dataset. The run summary is stored in the key-value store under `RUN_SUMMARY`.

```json
{
  "id": "4002086198",
  "title": "City Pop - Cosy Studio Apartments next to HB Zürich",
  "description": "Centrally located apartments at Militärstrasse 106, 8004 Zürich...",
  "url": "https://www.homegate.ch/rent/4002086198",
  "offerType": "RENT",
  "listingType": "PREMIUM",
  "premium": true,
  "price": 2257,
  "currency": "CHF",
  "rent": 2257,
  "buy": null,
  "rooms": 1.5,
  "livingSpaceM2": 24,
  "yearBuilt": 2025,
  "yearLastRenovated": null,
  "address": "Militärstrasse 106",
  "zip": "8004",
  "city": "Zürich",
  "region": "ZH",
  "lat": 47.375901043289,
  "lng": 8.518082430655,
  "propertyType": "APARTMENT",
  "categories": ["APARTMENT", "FLAT"],
  "images": ["https://media2.homegate.ch/listings/v2/e335city/4002086198/image/92c334cb2a581eeda57f107e6b2d3fd3.jpg"],
  "amenities": {
    "balcony": false,
    "lift": true,
    "parking": true,
    "garage": true,
    "dishwasher": true,
    "cableTv": true,
    "quiet": true,
    "niceView": true
  },
  "agency": {
    "name": null,
    "logo": "https://media2.homegate.ch/t_customer_logo/logos/l_e335city_v2.png",
    "goldPartner": true,
    "subscriptionType": "Gold"
  },
  "publishedAt": "2025-04-07T14:53:38.768Z",
  "listingAgeDays": 568,
  "platforms": ["homegate", "immoscout24", "tutti"],
  "floorPlans": [],
  "source": "homegate.ch",
  "scrapedAt": "2026-10-27T09:47:24.000Z"
}
```

| Field group | Fields |
| --- | --- |
| Identity | `id`, `title`, `description`, `url`, `source` |
| Offer | `offerType`, `listingType`, `premium`, `price`, `currency`, `rent`, `buy` |
| Property | `rooms`, `livingSpaceM2`, `yearBuilt`, `yearLastRenovated`, `propertyType`, `categories` |
| Location | `address`, `zip`, `city`, `region`, `lat`, `lng` |
| Media | `images`, `floorPlans` |
| Features | `amenities` |
| Agency | `agency` |
| Time | `publishedAt`, `listingAgeDays`, `scrapedAt` |
| Distribution | `platforms` |

### Pricing

Each listing written to the default dataset is billed at **$0.0014**, or **$1.40 per 1,000 listings**. A standard Actor Start event costs **$0.00005** per run.

Pricing tiers for listings: **$0.0014** on FREE and BRONZE, **$0.00135** on SILVER, **$0.0013** on GOLD, PLATINUM and DIAMOND.

Free users get a **10-listing preview**. A paid run with 100 listings costs about **$0.14** in event charges, plus the start event, residential proxy traffic and Apify platform usage. Residential proxy traffic is billed separately and is usually the larger cost for Swiss runs.

### Schedule Homegate Data Collection

- **Rent monitoring** - run a city or canton search daily and compare new listings, asking rents and listing age.
- **Investment screening** - collect sale listings weekly and calculate price per square metre by neighbourhood.
- **Agency lead generation** - monitor new listings from target agencies and property managers.
- **Market research** - build a longitudinal dataset of asking prices, room counts and living space across Swiss regions.
- **Relocation feed** - track new rentals in a target city and push them to email, Slack or a CRM.
- **Deduplication** - `id` is the stable key when search pages overlap or when rent and buy searches are mixed.

### Related Actors

- [Apify Store real estate Actors](https://apify.com/store?search=real%20estate) - compare property and listing scrapers.

### FAQ

#### Does the Actor require a Homegate account?

No. It collects publicly available listing data and does not need a Homegate login or API key.

#### Why do I get blocked?

Homegate may rate-limit or block your run. Enable Apify Residential proxy with country `CH`, increase `requestDelaySecs` and lower `maxConcurrency`. If every request is blocked, the run fails with a clear error instead of returning an empty dataset.

#### Can I scrape both rent and buy listings?

Yes. Use a `/rent/real-estate/.../matching-list` or `/buy/real-estate/.../matching-list` start URL, or mix both in one run. The `offerType` field distinguishes the rows.

#### Why are some fields empty?

Search result cards do not include every detail. Agency names and floor plans are often missing, and some listings omit coordinates or renovation year. Empty fields are returned as `null` or `[]`.

#### How many listings are on a search page?

Homegate returns up to **20 listings per search page**. The Actor follows pagination automatically until `maxListings`, the last page or `maxRequestsPerCrawl`.

#### Can I use datacenter proxies?

A Swiss residential proxy is recommended, especially for repeated or scheduled runs. Datacenter proxies are more likely to be blocked.

### For AI Agents & LLM Apps

Use this Actor as a structured Swiss property-data tool. An agent can pass a Homegate search URL, receive JSON rows with price, rooms, living space, address and coordinates, and ground answers about rental or sale markets. Keep `maxListings` small for interactive calls, cache `id` values to avoid duplicate requests, and use the `RUN_SUMMARY` record to check progress and whether the run was blocked.

### Legal & Compliance Disclaimer

This Actor collects publicly available data from Homegate.ch. It is not affiliated with, endorsed by or sponsored by Homegate. You are responsible for complying with Homegate's terms of service, robots guidance, copyright rules and applicable privacy law. Listing text and images may be protected by third-party rights. Do not use the data to harass individuals or to make high-impact decisions without human review.

### SEO Keywords

homegate scraper, homegate.ch scraper, swiss real estate scraper, switzerland property scraper, homegate listings, homegate data, zurich real estate data, swiss rental listings, swiss property prices, homegate api, scrape homegate, homegate csv, swiss housing market data, real estate listing scraper, property listing data, homegate rent scraper, homegate buy scraper, swiss real estate api, homegate property data, swiss real estate dataset

# Actor input Schema

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

Homegate search URLs or listing detail URLs. Search URLs are paginated automatically, e.g. https://www.homegate.ch/rent/real-estate/city-zurich/matching-list. The Actor reads the server-rendered search pages, so no browser or DataDome client ID is needed. Detail pages are best-effort and may be blocked.

## `language` (type: `string`):

Language used for listing titles and descriptions. Falls back to the listing's primary language when the requested translation is not available.

## `maxListings` (type: `integer`):

Stop after this many listings. Set to 0 for unlimited (free users are capped at 10).

## `maxRequestsPerCrawl` (type: `integer`):

Safety limit for the number of HTTP requests made by the crawler.

## `requestDelaySecs` (type: `number`):

Base pause between requests to the same domain. It is divided across concurrent workers. Increase it if Homegate starts returning 403 responses.

## `maxConcurrency` (type: `integer`):

Maximum number of search pages fetched in parallel. Higher values are faster but may trigger rate limits.

## `proxy` (type: `object`):

Homegate/DataDome blocks many datacenter IPs. Use Apify Residential proxy with country CH for reliable runs on the Apify platform.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list"
    }
  ],
  "language": "de",
  "maxListings": 0,
  "maxRequestsPerCrawl": 100,
  "requestDelaySecs": 1.5,
  "maxConcurrency": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CH"
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "startUrls": [
        {
            "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list"
        }
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CH"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/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 = {
    "startUrls": [{ "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list" }],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CH",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/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 '{
  "startUrls": [
    {
      "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list"
    }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CH"
  }
}' |
apify call ahmed_jasarevic/homegate-ch-scraper --silent --output-dataset

```

## MCP server setup

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