# ImmoStreet Swiss Property Scraper (`rainminer/immostreet-ch-scraper`) Actor

Extract Swiss rental and sale listings from immostreet.ch. Collect titles, CHF prices, addresses, rooms, floor areas, agency names, photos and coordinates. Export JSON or CSV for market research and lead generation.

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

## Pricing

from $1.49 / 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/platform/actors/running/actors-in-store#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

### What does ImmoStreet Swiss Property Scraper do?

**ImmoStreet Swiss Property Scraper** extracts **Swiss real estate listings** from [immostreet.ch](https://www.immostreet.ch/) — Switzerland's property search portal aggregating listings from Homegate and ImmoScout24. Provide a search URL and collect structured rental and sale data without any coding.

### Why scrape immostreet.ch?

- **Swiss market research** — Track CHF rental and purchase prices across cantons and cities.
- **Lead generation** — Collect listings with address, price, size, rooms, and agency details.
- **Portfolio monitoring** — Detect new apartments and houses matching your criteria.
- **Location analysis** — Export coordinates, neighbourhoods, and postal codes for mapping.
- **Apify platform** — Schedule runs, export JSON/CSV/Excel, and integrate via API.

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

| Field | Description |
| --- | --- |
| listingId | SMG listing ID |
| title | Property headline |
| url | External listing URL (Homegate/ImmoScout24) |
| description | Listing description snippet |
| streetAddress | Street address |
| postalCode | Swiss postal code |
| addressLocality | City or municipality |
| latitude | GPS latitude |
| longitude | GPS longitude |
| floorSizeSqm | Living area in m² |
| numberOfRooms | Room count |
| price | Numeric monthly rent or price |
| priceText | Formatted price string (CHF) |
| currency | Currency (CHF) |
| objectType | Property type |
| agencyName | Listing agency name |
| images | Array of image URLs |
| thumbnailUrl | Main image URL |
| searchUrl | Source search URL |

### How to scrape immostreet.ch

1. Open **ImmoStreet Swiss Property Scraper** in Apify Console.
2. Add a search URL such as `https://www.immostreet.ch/de/mieten/wohnung`.
3. Set **Maximum items** per start URL.
4. Click **Start** and download results from the Dataset tab.

Pagination via `?pageNum=2` is handled automatically.

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

This scraper only collects publicly visible listing data without login. Ensure your use complies with applicable laws and immostreet.ch's Terms of Service.

### Image Credit

Image credit: [immostreet.ch](https://www.immostreet.ch/)

# Actor input Schema

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

immostreet.ch search URLs (e.g. https://www.immostreet.ch/de/mieten/wohnung) or listing URLs.

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

Maximum number of listings to return per start URL.

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

Proxy settings. Default is no proxy — immostreet.ch works without one.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.immostreet.ch/de/mieten/wohnung"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "startUrls": [
        {
            "url": "https://www.immostreet.ch/de/mieten/wohnung"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/immostreet-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.immostreet.ch/de/mieten/wohnung" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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.immostreet.ch/de/mieten/wohnung"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/immostreet-ch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rainminer/immostreet-ch-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/w7qkWXuO99xRtWDgw/builds/9rm1UjXZwm5V1c27D/openapi.json
