# ImmobilleScout24 Swiss (`lukass/immobillescout24-ch`) Actor

▎ Scrape real-estate ads from ImmobiliareScout24. Search by city, region or paste listing URLs to collect price, address, rooms, floor area, floor number, property type, energy class, features, images and contact info — exported as JSON, CSV or Excel.

- **URL**: https://apify.com/lukass/immobillescout24-ch.md
- **Developed by:** [Lukáš Širhal](https://apify.com/lukass) (community)
- **Categories:** E-commerce, Real estate
- **Stats:** 23 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 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?

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

## ImmoScout24.ch Scraper

Scrape property listings from [immoscout24.ch](https://www.immoscout24.ch) — Switzerland's largest real estate portal — for sale and rent, in all four site languages.

### The easiest way: paste a URL

**Search on immoscout24.ch the way you normally would, copy the URL out of your browser, paste it into `startUrl`. Done.**

```
https://www.immoscout24.ch/en/real-estate/rent/city-bern
```

| URL you paste                       | What you get                       |
| ----------------------------------- | ---------------------------------- |
| `.../en/real-estate/rent/city-bern` | The search results for that place  |
| `.../de/immobilien/kaufen/ort-bern` | Same, German site (fr/it work too) |
| `.../rent/4001413696`               | One single listing                 |

Sale/rent is read from the URL, so the `Operation` field is ignored when you paste one. Paste as many URLs as you like — they are scraped in one run.

### Or build the search in the input form

No URL? Fill in a **Location** (`Bern`, `Zürich`, `Lausanne`, a commune or a region), pick sale/rent and a property type, and optionally a price range.

### Input

| Field                               | Type    | Description                                                                          |
| ----------------------------------- | ------- | ------------------------------------------------------------------------------------ |
| `startUrl`                          | Array   | **Recommended.** Search or listing URLs copied from the website                      |
| `district`                          | String  | Location(s), e.g. `Bern` or `Bern, Zürich, Lausanne`. Used only when no URL is given |
| `operation`                         | String  | `sale` or `rent`                                                                     |
| `propertyType`                      | String  | `APARTMENT`, `HOUSE_OR_CHALET_OR_RUSTICO`, `OFFICE`, … (see the input form)          |
| `propertyTypes`                     | Array   | Several types in one run. Overrides `propertyType`                                   |
| `minPrice` / `maxPrice`             | Integer | Purchase price, or gross monthly rent for rentals                                    |
| `minRooms` / `maxRooms`             | Number  | Room count range, halves included, e.g. `2.5`–`4.5`. Applied by the search API       |
| `minLivingSpace` / `maxLivingSpace` | Integer | Living space range in m². Applied by the search API                                  |
| `radius`                            | Integer | Also search this far around the location, in metres (`5000` = 5 km)                  |
| `publishedSince`                    | String  | Keep listings published since a date (`2026-09-01`) or an age (`7 days`)             |
| `maxItems`                          | Integer | Stop after this many listings (caps the whole run, not each URL)                     |
| `maxItemsPerUrl`                    | Integer | Stop after this many listings from each URL / location                               |
| `endPage`                           | Integer | Stop after this many result pages (100 listings per page, default 50)                |
| `startPage`                         | Integer | First result page, 1-based. Resume a big search where it stopped                     |
| `proxy`                             | Object  | **Required.** Apify Proxy, `RESIDENTIAL`, country `CH` — see below                   |
| `debugLog`                          | Boolean | Log every request                                                                    |

### Proxy — required setup

**Apify Proxy, Residential group, country Switzerland.** That is the prefilled default; leave it alone unless you know why you are changing it.

In the console: **Proxy configuration** → Apify Proxy → **Residential** → Country **Switzerland**.

Through the API or the CLI, send it as:

```json
{
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CH"
    }
}
```

The search and listing endpoints sit behind DataDome bot protection, which answers `403` to datacenter IPs. On Datacenter proxies, on a non-Swiss country, or with no proxy at all, the run **finishes green with zero results** — the Actor warns about each of those in the log rather than letting it look like the site had nothing.

Residential proxy usage is billed by Apify on top of this Actor. A run started through the API **without** a `proxy` field gets no proxy at all, so always send the block above.

### Output

```json
{
    "url": "https://www.immoscout24.ch/rent/4002086534",
    "id": "4002086534",
    "operation": "rent",
    "offerType": "RENT",
    "referenceId": "7884x.wxim5",
    "listingType": "PREMIUM",
    "title": "Furnished studio",
    "description": "Beschreibung …",
    "language": "en",
    "availableLanguages": ["de", "en"],
    "isMachineTranslated": true,
    "price": 2950,
    "currency": "CHF",
    "priceInterval": "MONTH",
    "baseRent": 2750,
    "extraCosts": 200,
    "totalRent": 2950,
    "pricePerSqm": 128.26,
    "typology": "APARTMENT-FLAT",
    "categories": ["APARTMENT", "FLAT"],
    "size": 23,
    "rooms": 1.5,
    "bathrooms": 1,
    "yearLastRenovated": 2022,
    "elevator": true,
    "parking": true,
    "garage": true,
    "fittedKitchen": true,
    "wheelchairAccessible": true,
    "quiet": true,
    "characteristics": {
        "isGroundFloorRaised": true,
        "numberOfRooms": 1.5,
        "hasParking": true,
        "hasDishwasher": true,
        "hasElevator": true,
        "numberOfBathrooms": 1,
        "yearLastRenovated": 2022,
        "isWheelchairAccessible": true,
        "isQuiet": true,
        "hasGarage": true,
        "livingSpace": 23
    },
    "address": "Belpstrasse 23, 3007 Bern",
    "street": "Belpstrasse 23",
    "postalCode": "3007",
    "locality": "Bern",
    "district": "monbijou",
    "canton": "bern",
    "region": "BE",
    "country": "CH",
    "latitude": 46.944621091648,
    "longitude": 7.433233501213,
    "coordinatesAccuracy": "HIGH",
    "geoTags": [
        "geo-cityregion-mattenhof-weissenbuhl",
        "geo-region-bern-mittelland",
        "geo-canton-bern",
        "geo-citydistrict-monbijou",
        "geo-country-switzerland",
        "geo-city-bern",
        "geo-zipcode-3007"
    ],
    "publishedAt": "2025-04-07T15:59:03.293Z",
    "updatedAt": "2026-08-24T16:52:46.083Z",
    "contacts": {
        "commercialName": "City Pop AG",
        "phones": ["+41315301242"],
        "website": "https://citypop.com/",
        "logo": "https://media2.homegate.ch/t_customer_logo/logos/l_e335city_v2.png",
        "listerId": "e335city",
        "subscriptionType": "Gold"
    },
    "photos": ["https://cdn.immoscout24.ch/listings/v2/e335city/4002086534/image/a.jpg"],
    "photosCount": 1,
    "documents": ["https://cdn.immoscout24.ch/listings/v2/e335city/4002086534/document/b.pdf"]
}
```

90 fields per listing. Prices are broken down the way the portal quotes them — `baseRent` + `extraCosts` = `totalRent` for rentals, `purchasePrice` for sales — and `characteristics` is passed through raw on top of the flattened columns, so rarer flags (distance to school/shop/transport, view, modernised, …) are never lost.

Every row also carries `bfs` (the Swiss federal municipality number, the join key to Federal Statistical Office data), `sourceUrl` (which start URL or location produced it) and `scrapedAt`, so datasets from scheduled runs can be diffed against each other.

Texts come back in English when the listing has an English version, otherwise in its primary language; `language` says which was used and `availableLanguages` lists the rest.

### Notes

- **Swiss RESIDENTIAL proxies are required** — see the proxy section above. The Actor rotates its session (and proxy IP) whenever it sees a block.
- Photos and PDFs arrive in the same attachment list; they are split into `photos` and `documents`.
- Price, rooms and living space are all filtered by the search API itself, for both sale and rent, so a filtered run costs no wasted requests.
- `district` is looked up in the portal's own place autocomplete and the first match is used, so a keyword like `Bern` resolves to the city. Paste a URL when you need an exact region or canton.
- Each property type is a separate search, so picking several in `propertyTypes` multiplies the search requests (not the listing requests).
- `publishedSince` is the one filter applied to the scraped listing rather than to the search — the API has no verified "newest first" sort, so older listings still cost a request.

# Actor input Schema

## `startUrl` (type: `array`):

Search on immoscout24.ch in your browser, then paste the resulting URL(s) here. Works with search result pages (/en/real-estate/rent/city-bern and the de/fr/it equivalents) and single listing pages (/rent/4001413696). Leave empty to build a search with the fields below.

## `district` (type: `string`):

Swiss city, commune or region to search, e.g. Bern. Several locations can be given as a comma-separated list: Bern, Zürich, Lausanne. Ignored when a URL is provided above.

## `operation` (type: `string`):

Scrape properties for sale or for rent

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

Type of property to scrape. Used when no types are picked below.

## `propertyTypes` (type: `array`):

Pick one or more types to scrape in a single run, e.g. apartment and house. Overrides the single Property type above. Each type is searched separately, so more types means more requests.

## `minPrice` (type: `integer`):

Purchase price for sale listings, monthly rent for rentals

## `maxPrice` (type: `integer`):

Purchase price for sale listings, monthly rent for rentals

## `minRooms` (type: `number`):

Fewest rooms a listing may have, e.g. 2.5

## `maxRooms` (type: `number`):

Most rooms a listing may have, e.g. 4.5

## `minLivingSpace` (type: `integer`):

Smallest living space a listing may have, e.g. 60

## `maxLivingSpace` (type: `integer`):

Largest living space a listing may have, e.g. 140

## `radius` (type: `integer`):

Also return listings this far around the location, in metres, e.g. 5000 for 5 km. Applied to the searched place, not to pasted listing URLs.

## `publishedSince` (type: `string`):

Keep only listings published on or after this date. Accepts a date (2026-09-01) or an age (7 days, 2 weeks, 3 months). Filtered on the listing, so older listings still cost a request.

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

Stop after this many listings. Leave empty to scrape everything the search returns.

## `maxItemsPerUrl` (type: `integer`):

Stop after this many listings from each start URL or location. The overall limit above still applies.

## `endPage` (type: `integer`):

Stop after this many result pages (100 listings per page)

## `startPage` (type: `integer`):

First result page to scrape, 1-based. Use it together with the page limit to resume a large search.

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

Keep this as it is: Apify Proxy, <b>Residential</b> group, country <b>Switzerland</b>. The search and listing endpoints are behind DataDome bot protection and answer 403 to datacenter IPs, so a run on Datacenter proxies — or with no proxy at all — finishes green with zero results. If you change the group or the country, the run is expected to return nothing.

## `debugLog` (type: `boolean`):

Log every request the Actor makes — useful when a search returns nothing

## Actor input object example

```json
{
  "startUrl": [
    {
      "url": "https://www.immoscout24.ch/en/real-estate/rent/city-bern"
    }
  ],
  "district": "Bern",
  "operation": "sale",
  "propertyType": "APARTMENT",
  "propertyTypes": [],
  "maxItems": 10,
  "endPage": 50,
  "startPage": 1,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CH"
  },
  "debugLog": false
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrl": [
        {
            "url": "https://www.immoscout24.ch/en/real-estate/rent/city-bern"
        }
    ],
    "district": "Bern",
    "maxItems": 10,
    "endPage": 50,
    "startPage": 1,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CH"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lukass/immobillescout24-ch").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 = {
    "startUrl": [{ "url": "https://www.immoscout24.ch/en/real-estate/rent/city-bern" }],
    "district": "Bern",
    "maxItems": 10,
    "endPage": 50,
    "startPage": 1,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CH",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("lukass/immobillescout24-ch").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 '{
  "startUrl": [
    {
      "url": "https://www.immoscout24.ch/en/real-estate/rent/city-bern"
    }
  ],
  "district": "Bern",
  "maxItems": 10,
  "endPage": 50,
  "startPage": 1,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CH"
  }
}' |
apify call lukass/immobillescout24-ch --silent --output-dataset

```

## MCP server setup

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

```

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/x42KfBtooF4YbOPev/builds/SkqMXGWt7WEPTHDuN/openapi.json
