# ImmoScout24 Listings Scraper · Photo URLs, no login · $0.3/1K (`mlg14/immoscout24-scraper`) Actor

Collect Swiss ImmoScout24 rent and buy listings for market inventory tracking, listing monitoring and photo URL collection. Returns listing links, city, postal code, update date and image galleries by city. No login. $0.3/1K results.

- **URL**: https://apify.com/mlg14/immoscout24-scraper.md
- **Developed by:** [MLG Data](https://apify.com/mlg14) (community)
- **Categories:** Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.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.

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

## ImmoScout24 Listings Scraper

Collect public Swiss property listing links from ImmoScout24 listings and export a reliable index of rental and sale listings to JSON or CSV. This ImmoScout24 data export includes listing identifiers, cities, postal codes, sitemap update dates, and published image URLs. It is useful for discovering listings and tracking changes in the public index.

The current source is the site's public listing sitemap. Search pages and listing detail pages returned access blocks during development, so this actor does **not** return asking prices, rooms, living area, descriptions, addresses, or advertiser contacts. A search URL selects the rent or buy inventory and, when it has a `city-...` segment, a city. The actor does not apply other search-page filters. This scope matters when comparing results with a search displayed in a browser.

### What data can you extract from ImmoScout24?

Each dataset row represents one listing URL in the public sitemap. The columns are flat and stable for spreadsheet exports. A location comes from an image location tag in the sitemap, so a listing without that tag can have empty location fields. The sitemap date reports when the sitemap says the listing changed; it is not necessarily the publication date or the date of a price change.

| Field | Description | Example |
|---|---|---|
| `listingId` | Numeric identifier in the listing URL | `4002467169` |
| `url` | Direct public listing link | `https://www.immoscout24.ch/rent/4002467169` |
| `listingType` | Transaction group selected from the URL | `rent` |
| `postalCode` | Postal code in the sitemap image location | `8002` |
| `city` | City in the sitemap image location | `Zürich` |
| `canton` | Canton code when the location includes one | `ZH` |
| `country` | Country code in the sitemap image location | `CH` |
| `lastModified` | Sitemap modification date | `2026-09-26` |
| `primaryImageUrl` | First image listed for the property | image link |
| `imageUrls` | All image links in sitemap order | array of image links |
| `imageCount` | Count of listed image links | `18` |
| `sourceSearchUrl` | Input URL that selected the record | city search URL |

`canton` is sometimes empty even when the city and postal code are present. The source occasionally writes locations such as `8002, Zürich, CH`, which has no canton component. The actor preserves that absence. `imageCount` counts links in the sitemap rather than promising that every image is still reachable when downloaded later. An image can be changed or removed after a sitemap update.

The output intentionally excludes detail fields that the source cannot verify. A listing URL can be opened manually to inspect its price or features, subject to the site's availability and access rules. The dataset remains a useful starting point for cataloging property pages, detecting recently modified links, and gathering public gallery references.

### How to scrape ImmoScout24

1. Choose a Swiss rent or buy URL. A supported example is `https://www.immoscout24.ch/en/real-estate/rent/city-zurich`. A root rent or buy URL collects listings across the country. A direct listing URL selects one listing if that ID is present in the sitemap.
2. Paste one or more URLs into `startUrls`. City URLs match the city text in the sitemap after accent normalization, so `city-zurich` matches `Zürich`. The actor does not infer surrounding districts, travel-time areas, or radius searches.
3. Set `maxItems` to limit the total number of records. The default is 100. Set it to 0 to traverse all matching sitemap files, which may take substantially longer and produce a larger dataset.
4. Optionally set `modifiedSince` to a date such as `2026-09-26`. Listings with an older sitemap modification date are skipped. This is a date filter, not a guarantee that a listing is newly published.
5. Run the actor and download the dataset in the format required by your analysis. Each listing ID appears at most once within a run, including when several input URLs overlap.

Use a city URL for a focused listing index. For the broadest view, use a root rent or buy URL and a suitable result limit. If you need listings for both transaction types, provide one rent URL and one buy URL. If a particular property is important, use its direct listing URL; the actor returns that listing's sitemap record when available.

### Input

| Name | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array of strings | required | Swiss rent, buy, city, or direct listing URLs. Each URL determines the transaction type. |
| `maxItems` | integer | `100` | Maximum records across all URLs. `0` means no item limit. |
| `modifiedSince` | date string | empty | Include records with a sitemap modification date on or after this `YYYY-MM-DD` date. |
| `proxyConfiguration` | object | platform proxy | Connection configuration for retrieving the public XML sitemaps. |

A practical input for a city rental inventory is:

```json
{
  "startUrls": [
    "https://www.immoscout24.ch/en/real-estate/rent/city-zurich"
  ],
  "maxItems": 40,
  "modifiedSince": ""
}
```

This input produced 40 records in the hosted golden run on 27 September 2026. All 40 had a listing ID, URL, transaction type, city, postal code, modification date, and first image URL. It demonstrates extraction health for that date and city, not a guarantee that the same listings or count will be available later.

Input URLs with query parameters are rejected because the public sitemap has no reliable price, room, area, property-type, or sort metadata to honor those filters. Non-city search paths are also rejected. This prevents a filtered-looking URL from silently returning a broader dataset. Start URLs must use the Swiss domain; links to similarly named portals in other countries are not accepted.

### Output example

The following record is from the successful hosted golden run. The image array is shortened here for readability; the dataset row contained 18 image URLs.

```json
{
  "listingId": "4002467169",
  "url": "https://www.immoscout24.ch/rent/4002467169",
  "listingType": "rent",
  "postalCode": "8002",
  "city": "Zürich",
  "canton": null,
  "country": "CH",
  "lastModified": "2026-09-26",
  "primaryImageUrl": "https://cdn.immoscout24.ch/listings/v2/h304169/4002467169/image/52757d9490a2a7aba1499813d856917b.jpg",
  "imageUrls": [
    "https://cdn.immoscout24.ch/listings/v2/h304169/4002467169/image/52757d9490a2a7aba1499813d856917b.jpg",
    "https://cdn.immoscout24.ch/listings/v2/h304169/4002467169/image/311587811ace4f065becd430912ec49d.jpg"
  ],
  "imageCount": 18,
  "sourceSearchUrl": "https://www.immoscout24.ch/en/real-estate/rent/city-zurich"
}
```

The full `imageUrls` array is preserved in the dataset. `primaryImageUrl` repeats its first entry so a table or card can display a representative image without processing an array. Image links are references to publicly listed media; this actor does not download or store image files.

### Use cases

- **Market inventory tracking:** Record which public property pages appear for a Swiss city. Compare listing IDs across scheduled runs to identify additions and removals from the sitemap.
- **Gallery discovery:** Collect the publicly advertised photo URLs attached to listing pages. This supports image audits and catalog organization without opening every detail page.
- **Geographic coverage:** Count indexed rent or buy listings by city or postal code. Empty location values should be reported separately rather than forced into a known city.
- **Page monitoring:** Use `lastModified` to select sitemap records changed since a chosen date. Treat the field as a sitemap signal, not a description of what changed on a property.
- **Link preparation:** Export stable listing IDs and URLs for a review queue, a browser-based workflow, or another system that already has authorized access to listing details.
- **Catalog reconciliation:** Compare an existing set of property IDs with the current public sitemap to find links that no longer appear in the index. A missing index entry alone does not prove the property was sold or rented.

These cases rely on fields actually present in the sitemap. This dataset cannot support rent-per-square-metre calculations, affordability screening, contact enrichment, or property-feature filtering because those values are not in the current source.

### How much does it cost to scrape ImmoScout24?

The configured result price is **$0.3/1K, or $0.30 per 1,000 dataset records**, or $0.0003 per record. A run that writes 40 records has $0.012 in result charges. A 5,000-record export has $1.50 in result charges, and 25,000 records have $7.50 in result charges. These examples assume every requested record is delivered and use the configured per-result rate. Account and platform terms determine any other applicable usage charges.

`maxItems` is the clearest way to bound result charges. A city search can yield fewer records than its limit because the sitemap contains fewer matching listings. A root search can traverse more sitemap files before reaching the same limit. The actor stops writing when the platform's run budget is reached; records already written remain in the dataset. If a run is repeated later, the same listing can be charged again because each run produces a new dataset.

The golden run used 40 records and completed successfully. Its recorded platform usage was approximately $0.0014; this operational usage figure is separate from the arithmetic above and can vary with runtime and account settings. Always check the run's final charge for the actual total.

### Tips for best results

Start with one city and a modest `maxItems`, then inspect the resulting city and postal-code values. If the location has several spellings or includes neighboring municipalities, use separate city URLs only where the public URL structure supports them. The actor compares the city component of the sitemap location, not a map boundary. `city-zurich` matches a location written as `Zürich`, but it does not automatically include nearby municipalities such as Dübendorf.

Use one rent URL and one buy URL to cover both transaction types. The actor reads the sitemap index to locate the relevant listing files. It processes files in numeric order and stops when `maxItems` is met. This order is a sitemap organization detail and should not be interpreted as newest first, cheapest first, or the site's search ranking. For change-oriented work, set `modifiedSince`, then compare IDs and dates across runs.

A direct listing URL is useful when you want the sitemap entry for a known property. It can return zero records if the ID is absent from the current index, even if the page existed previously. Search URLs with page numbers, price brackets, room filters, or other query strings are not supported. Remove those filters, collect the public index, and apply any available output-field filters to the exported dataset. Price and room filters cannot be reconstructed from this output.

For large exports, use `maxItems` deliberately. The sitemap can contain many files and image URLs, and a full-country export consumes more time and output storage than a city sample. A low item limit may stop before later sitemap files, so it should not be used as evidence that no other listings exist. Run without an item limit only when a complete current index is required and the expected dataset size is acceptable.

### Limits

The site blocked search pages, listing pages, and the attempted public API routes in hosted probes, including browser and residential-proxy attempts. The public sitemaps were accessible. As a result, the actor's supported data is limited to URLs, identifiers, image references, locations, and sitemap dates. It does not perform page-level pagination or return the site's ranked search results. It does not extract title, property type, price, currency, living area, room count, address, description, seller contact, floor plans, fees, or energy information.

Sitemap entries may be delayed, updated, or removed independently of a live search page. `lastModified` is supplied by the sitemap publisher; it is not independently verified. Location is taken from the first available image location tag. Some entries have no image, and some location strings omit a canton. A city filter excludes entries without a recognizable city because the actor cannot determine whether they belong there.

The actor accepts English Swiss rent and buy URL shapes and uses English listing sitemaps. It does not translate title or description text because neither is present in the source. It deduplicates by listing ID during a run. For multiple overlapping input URLs, `sourceSearchUrl` is the first URL that caused a listing to be emitted. It does not provide a history of every matching input.

The site can change its sitemap paths or block sitemap access. A future block would stop extraction until an accessible public source is available. The current golden test verifies one date and city; it does not prove universal coverage across all property categories or future uptime.

### Automated workflows

A scheduled run can store daily snapshots of listing IDs, modification dates, cities, and image counts. A comparison process can then identify IDs first seen today, IDs no longer indexed, or entries whose sitemap date changed. Use those categories as review signals. They are not definitive statements that a property was newly advertised, sold, rented, or repriced.

A second workflow can export rental and sale inventories for the same city. Keep `listingType` in the downstream table so rent and buy records are not mixed. Use `listingId` as a stable join key within this portal. If a data pipeline needs a URL for a property card, use `url`; if it needs a thumbnail, use `primaryImageUrl`. Preserve `lastModified` to help decide which records should be reviewed again.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/immoscout24-scraper`

The actor returns one dataset item per ImmoScout24 listing: link, listing ID, type, city, postal code, update date and photo URLs. Set `maxItems` to keep results bounded, and treat an empty dataset as "no matching listing in the sitemap".

**Prompt 1:** "List 20 rental listings in Zurich from ImmoScout24."

```json
{
  "startUrls": ["https://www.immoscout24.ch/en/real-estate/rent/city-zurich"],
  "maxItems": 20
}
```

**Prompt 2:** "Get 30 ImmoScout24 listings for sale in Geneva modified since 1 September 2026."

```json
{
  "startUrls": ["https://www.immoscout24.ch/en/real-estate/buy/city-geneva"],
  "maxItems": 30,
  "modifiedSince": "2026-09-01"
}
```

**Prompt 3:** "Collect 25 Swiss rental listings in Basel with photo URLs."

```json
{
  "startUrls": ["https://www.immoscout24.ch/en/real-estate/rent/city-basel"],
  "maxItems": 25
}
```

### FAQ

#### Can I use a browser search URL with filters?

City-only rent and buy URLs are supported. URLs with query strings or unsupported search paths are rejected because the sitemap has no equivalent price, room, area, sort, or radius data. This explicit validation avoids presenting a partial result as a filtered browser search.

#### Are prices and contact details included?

No. The accessible public sitemap contains neither. The output schema lists every field the actor currently emits, and none of its price or contact values are guessed. For those fields, consult the listing page through an authorized access path.

#### How fresh are the results?

The actor reads the sitemap during each run. The publisher controls when the sitemap changes. `lastModified` is a date attached to an indexed URL, so it should be used as an update hint rather than a precise event timestamp.

#### Do I need to configure a proxy?

The default connection setup is sufficient for the public sitemaps in the hosted golden run. You can provide a proxy configuration if your account requires a different network setup. This does not imply that blocked detail pages become accessible.

#### Can I schedule regular runs?

Yes. Use a schedule and retain dataset snapshots when comparing periods. `modifiedSince` can reduce the records emitted from a later run, but it does not maintain state between runs or guarantee that a changed listing is new.

#### Can I export to spreadsheets?

Yes. The dataset is flat except for `imageUrls`, which is an array. JSON preserves the complete array. In a tabular export, use `primaryImageUrl` for a single image column and retain the array separately when every gallery link matters.

#### Is collecting these records permitted?

The actor reads publicly listed sitemap data. Review the site's terms and applicable Swiss privacy requirements for your use, especially when combining these links with other information. Avoid using property records to infer or expose private personal details.

#### Why did a direct listing URL return nothing?

The listing ID may be absent from the current sitemap, may belong to a different transaction group, or may have been removed. A zero-record result means no matching sitemap entry was found; it does not establish the property's market status.

### Integrations

Dataset records can be consumed through the platform's dataset endpoint, exported as JSON or CSV, sent to a webhook, or loaded into a scheduled data pipeline. Use `listingId` for deduplication, `sourceSearchUrl` to trace each row to an input, and `lastModified` to decide which public links merit another review. Keep the stated source limits in any downstream report so readers do not mistake this listing index for a full property-detail feed.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request. Include a public example URL, the input used, and the affected output field so the behavior can be reproduced.

# Actor input Schema

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

Swiss ImmoScout24 rent or buy URLs; each URL sets the transaction type, and a city- segment filters by city. e.g. https://www.immoscout24.ch/en/real-estate/rent/city-zurich. Price, room and other page filters are not supported. Use one rent and one buy URL for both types.

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

Maximum listings returned across all start URLs, integer 0 or more. e.g. 50. Use a small number for quick samples and cost control; set 0 for every matching sitemap listing (slower, larger dataset).

## `modifiedSince` (type: `string`):

Only return listings whose sitemap modification date is on or after this date, format YYYY-MM-DD, e.g. 2026-09-01. Use it for monitoring runs that need recent changes. Leave empty for all listings.

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

Connection settings for fetching public XML sitemaps. The default uses the platform proxy.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.immoscout24.ch/en/real-estate/rent/city-zurich"
  ],
  "maxItems": 100,
  "modifiedSince": "",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Public listing index records in the default dataset.

# 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": [
        "https://www.immoscout24.ch/en/real-estate/rent/city-zurich"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/immoscout24-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": ["https://www.immoscout24.ch/en/real-estate/rent/city-zurich"] }

# Run the Actor and wait for it to finish
run = client.actor("mlg14/immoscout24-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": [
    "https://www.immoscout24.ch/en/real-estate/rent/city-zurich"
  ]
}' |
apify call mlg14/immoscout24-scraper --silent --output-dataset

```

## MCP server setup

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