# Newhome.ch Scraper - Swiss Rent & Sale Listings (`bovi/newhome-scraper`) Actor

Scrape newhome.ch property listings for rent and sale across Switzerland: price, rooms, living area, GPS coordinates, canton, 24 feature flags, full description, photos and agency details. Filter by city, type, rooms and price.

- **URL**: https://apify.com/bovi/newhome-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 newhome.ch scraper - swiss rent & sale listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Newhome.ch Scraper - Swiss Rent & Sale Listings

Scrape property listings from [newhome.ch](https://www.newhome.ch), the Swiss real-estate portal of the cantonal banks.
The Actor covers **both rentals and properties for sale** across all of Switzerland and returns one clean, structured
record per listing: price, rooms, living area, address with GPS coordinates and canton, 24 property features, the full
description, photos and floor plans, and the advertising agency.

No login, no API key and no browser are needed. The Actor reads the same JSON data the newhome.ch website itself
loads, so records are complete and fast to collect.

### Use cases

- Monitor Swiss rental prices and supply in a city or region.
- Track new listings for sale every day (sort by newest and schedule the Actor).
- Build lead lists of real-estate agencies active in a canton.
- Feed price models, maps and dashboards with geo-coded Swiss listings.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `offerType` | string | `rent` | `rent`, `buy` or `both`. |
| `locations` | array | empty | Cities, regions or postal codes, e.g. `Zürich`, `Bern`, `8004`. Matched with newhome.ch's own location search. Empty = all of Switzerland. |
| `propertyTypes` | array | `apartment`, `house` | Any of `apartment`, `house`, `multi_family_house`, `commercial`, `land`, `parking`. Empty = all types. |
| `minRooms` / `maxRooms` | number | - | Room range, e.g. `2.5` to `4.5`. |
| `minPrice` / `maxPrice` | integer | - | Price range in CHF (monthly rent for rentals, total price for sales). |
| `minLivingArea` / `maxLivingArea` | integer | - | Living area range in m². |
| `sortBy` | string | `newest` | `newest`, `relevance`, `price_asc`, `availability` or `city`. |
| `immoCodes` | array | empty | Fetch specific listings by ID (the number at the end of a listing URL). Overrides all filters. |
| `language` | string | `de` | `de`, `fr`, `it` or `en`: language of URLs, canton names and location matching. |
| `maxResults` | integer | `50` | Maximum number of listings to return. The Actor stops fetching once it is reached. |
| `proxyConfiguration` | object | none | Optional proxy. |

When several offer or property types are selected, `maxResults` is split evenly between them, so a small run still
returns a mix of every requested type.

Example input:

```json
{
  "offerType": "rent",
  "locations": ["Zürich"],
  "propertyTypes": ["apartment", "house"],
  "minRooms": 2.5,
  "maxPrice": 4000,
  "sortBy": "newest",
  "maxResults": 50
}
```

### Output

Every record has the same set of fields. A field is `null` when the advertiser did not publish that value
(for example `price` when the price is on request, or `companyName` for private advertisers).

- **Identity:** `id`, `url`, `title`, `offerType`, `propertyType`, `propertySubType`, `propertySubTypeCode`, `listingNumber`
- **Price:** `price`, `priceType`, `priceNet`, `priceNetM2`, `priceAdditionalCost`, `currency`, `priceNegotiable`
- **Location:** `street`, `postalCode`, `city`, `canton`, `cantonCode`, `latitude`, `longitude`
- **Property:** `rooms`, `livingArea`, `plotArea`, `cubicArea`, `floor`, `floorsInBuilding`, `constructionYear`, `renovationYear`, `condition`, `availabilityDate`
- **Features (true/false):** `hasView`, `hasBalcony`, `hasGarage`, `hasParking`, `hasElevator`, `hasFireplace`, `hasBasement`, `hasAttic`, `hasHobbyRoom`, `hasStorageRoom`, `hasCableTV`, `hasFiber`, `hasCarCharging`, `isMinergie`, `isChildFriendly`, `isWheelchairAccessible`, `isPetsAllowed`, `isHousingAssociationAllowed`, `hasKitchenSharedUse`, `hasBuildingLandDevelopment`, `hasElectricity`, `hasGas`, `hasWater`, `hasRailConnection`
- **Content and media:** `description`, `descriptionHtml`, `images`, `floorPlanImages`, `imageCount`, `youtubeVideos`, `tours3D`, `has3DModel`
- **Advertiser:** `companyName`, `agencyWebsite`, `companyCity`, `companyPhone`, `companyLogo`, `providerId`, `projectWebsite`, `projectWebsiteName`
- **Meta:** `publishDate`, `language`, `scrapedAt`

Example record (real listing, description and image list shortened):

```json
{
  "id": "6222042",
  "url": "https://www.newhome.ch/de/mieten/immobilien/wohnung/wohnung/ort-zuerich/2.5-zimmer/detail/6222042",
  "title": "Live Above - Exklusive Mietwohnung über dem FIFA World Football Museum",
  "offerType": "rent",
  "propertyType": "apartment",
  "propertySubType": "apartment",
  "propertySubTypeCode": 201,
  "listingNumber": "17955.02.0802",
  "price": null,
  "priceType": "price_on_request",
  "priceNet": null,
  "priceNetM2": null,
  "priceAdditionalCost": null,
  "currency": "CHF",
  "priceNegotiable": false,
  "street": "Seestrasse 27",
  "postalCode": "8002",
  "city": "Zürich",
  "canton": "Zürich",
  "cantonCode": "ZH",
  "latitude": 47.363299414219,
  "longitude": 8.531542275348,
  "rooms": 2.5,
  "livingArea": 76.0,
  "plotArea": null,
  "cubicArea": null,
  "floor": 10,
  "floorsInBuilding": null,
  "constructionYear": 2015,
  "renovationYear": null,
  "condition": null,
  "availabilityDate": "2026-12-01",
  "hasView": true,
  "hasBalcony": true,
  "hasGarage": true,
  "hasParking": false,
  "hasElevator": true,
  "hasFireplace": false,
  "hasBasement": false,
  "hasAttic": false,
  "hasHobbyRoom": false,
  "hasStorageRoom": false,
  "hasCableTV": true,
  "hasFiber": false,
  "hasCarCharging": false,
  "isMinergie": false,
  "isChildFriendly": false,
  "isWheelchairAccessible": true,
  "isPetsAllowed": false,
  "isHousingAssociationAllowed": false,
  "hasKitchenSharedUse": false,
  "hasBuildingLandDevelopment": false,
  "hasElectricity": false,
  "hasGas": false,
  "hasWater": false,
  "hasRailConnection": false,
  "description": "Wir vermieten in dieser einzigartigen Liegenschaft diese exklusive 2,5-Zimmerwohnung mit Loft-Charakter.\r\n\r\nDie 76.4 m2 Wohnfläche überzeugen durch einen hohen ...",
  "descriptionHtml": "<p>Wir vermieten in dieser einzigartigen Liegenschaft diese exklusive 2,5-Zimmer...",
  "images": [
    "https://www.newhome.ch/res/6222042/ort-zuerich/seestrasse/wohnung/wohnung-149863161-o.jpg",
    "https://www.newhome.ch/res/6222042/ort-zuerich/seestrasse/wohnung/wohnung-149863162-o.jpg"
  ],
  "floorPlanImages": [],
  "imageCount": 9,
  "youtubeVideos": [],
  "tours3D": [
    "https://my.matterport.com/show/?m=Ddee4CsCuPQ&nt=1&play=0"
  ],
  "has3DModel": true,
  "companyName": "Vimova Bewirtschaftung AG",
  "agencyWebsite": null,
  "companyCity": "Wangen-Brüttisellen",
  "companyPhone": "+41 58 123 64 25",
  "companyLogo": "https://www.newhome.ch/res/anb/850815/logo.png?t=638786687382712410",
  "providerId": 850815,
  "projectWebsite": null,
  "projectWebsiteName": null,
  "publishDate": "2026-11-10T02:24:15",
  "language": "de",
  "scrapedAt": "2026-11-10T06:48:41.514940+00:00"
}
```

### Pricing

Pay per result: you are charged per listing saved to the dataset, **$0.001 per result ($1.00 per 1,000 listings)**,
plus the small Apify platform usage of the run. Runs that find nothing cost almost nothing, and `maxResults` caps the
spend of every run.

### Notes

- Data comes from the public listing pages of newhome.ch; only publicly visible listing information is collected.
- Descriptions are returned in the language the advertiser wrote them in.
- newhome.ch limits search pages to 20 listings; the Actor pages through results automatically.

# Actor input Schema

## `offerType` (type: `string`):

Rental listings, listings for sale, or both.

## `locations` (type: `array`):

Swiss cities, regions or postal codes as typed on newhome.ch, e.g. Zürich, Bern, Lausanne, 8004. Each name is matched against newhome.ch's own location search. Leave empty for all of Switzerland.

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

Which property types to search. Leave empty to search all types.

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

Only listings with at least this many rooms (e.g. 2.5).

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

Only listings with at most this many rooms.

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

Lowest price in CHF: monthly rent for rentals, total price for sales.

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

Highest price in CHF: monthly rent for rentals, total price for sales.

## `minLivingArea` (type: `integer`):

Only listings with at least this living area.

## `maxLivingArea` (type: `integer`):

Only listings with at most this living area.

## `sortBy` (type: `string`):

Order in which newhome.ch returns the listings.

## `immoCodes` (type: `array`):

Fetch specific listings by their newhome.ch ID, the number at the end of a listing URL (e.g. 5938854). When set, all search filters are ignored.

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

Language of listing URLs, canton names and location matching. Descriptions are returned as written by the advertiser.

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

Maximum number of listings to return. Nothing beyond this number is fetched.

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

Optional proxy. Without it the run connects directly.

## Actor input object example

```json
{
  "offerType": "rent",
  "locations": [
    "Zürich"
  ],
  "propertyTypes": [
    "apartment",
    "house"
  ],
  "sortBy": "newest",
  "immoCodes": [],
  "language": "de",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with one item per newhome.ch listing.

# 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 = {
    "offerType": "rent",
    "locations": [
        "Zürich"
    ],
    "propertyTypes": [
        "apartment",
        "house"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/newhome-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 = {
    "offerType": "rent",
    "locations": ["Zürich"],
    "propertyTypes": [
        "apartment",
        "house",
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/newhome-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 '{
  "offerType": "rent",
  "locations": [
    "Zürich"
  ],
  "propertyTypes": [
    "apartment",
    "house"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/newhome-scraper --silent --output-dataset

```

## MCP server setup

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