# ImmoScout24 Scraper - Germany, Austria & Spain Property (`lentic_clockss/immobilienscout24-scraper`) Actor

Scrape ImmobilienScout24.de, ImmobilienScout24.at, Fotocasa, and Habitaclia homes for sale and to rent. Extract prices, rooms, living space, agents, and photos as an ImmoScout24 API alternative.

- **URL**: https://apify.com/lentic\_clockss/immobilienscout24-scraper.md
- **Developed by:** [kane liu](https://apify.com/lentic_clockss) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 ImmobilienScout24 Scraper do?

**Scrape ImmoScout24 Germany, Austria, and Scout24 Spain (Fotocasa + Habitaclia) property listings for sale and to rent**, then export structured data to a Dataset. This Actor is a practical **ImmobilienScout24 / ImmoScout24 API alternative** for researchers, agencies, investors, and automations that need clean DE / AT / ES housing data from:

- [ImmobilienScout24.de](https://www.immobilienscout24.de/)
- [ImmobilienScout24.at](https://www.immobilienscout24.at/)
- [Fotocasa.es](https://www.fotocasa.es/)
- [Habitaclia.com](https://www.habitaclia.com/)

Set `country` (and for Spain optionally `market`), a location alias, or paste search / detail URLs. Optionally open each listing detail page to enrich prices, rooms, living space, realtor contacts, and photos.

### What can this ImmoScout24 Scraper do?

- Scrape **Germany** (`country=DE`) via `window.IS24`
- Scrape **Austria** (`country=AT`) via `__INITIAL_STATE__` / Apollo
- Scrape **Spain Fotocasa** (`country=ES` or `market=fotocasa`) via `__initial_props__`
- Scrape **Spain Habitaclia** (`country=HABITACLIA` or `market=habitaclia`) via SSR list cards
- Scrape **for-sale** (`channel=BUY`) and **to-rent** (`channel=RENT`)
- Build searches from location aliases or start URLs
- Paginate search result pages per market
- Enrich DE / AT / Fotocasa listings from detail pages (LDP)
- Extract prices, rooms, living space, city/zip, realtor, images, and tags
- Cap runs with `maxItems` and `maxPages`
- Run on Apify with scheduling, Dataset export, webhooks, and API access
- Use Apify **RESIDENTIAL** proxy with country **DE**, **AT**, or **ES**

### What data can you extract from ImmobilienScout24?

| Property field | Example |
| --- | --- |
| Country / market | `DE`, `AT`, `ES` + `fotocasa` / `habitaclia` |
| Listing ID / URL | Portal id + detail URL |
| Title | Card / expose title |
| Price | Kaufpreis, Kaltmiete, comprar, alquiler |
| Rooms / living space | `3` / `75` m² |
| Address parts | City, zip, quarter |
| Realtor / agency | Company name, contact when present |
| Images | Gallery image URLs |
| Channel | `BUY` or `RENT` |
| Source layer | `srp`, `srp+ldp` |

### Why scrape ImmobilienScout24 / ImmoScout24?

ImmoScout24 is one of Europe’s largest property portals (Germany & Austria), and Scout24 also operates Fotocasa and Habitaclia in Spain. Scraping these listings helps with:

- Cross-border market research and price benchmarking (Berlin, Wien, Madrid, Barcelona…)
- Lead generation for agencies, mortgage brokers, and service providers
- Investment screening across sale and rental inventory
- Monitoring new listings, price changes, and agent coverage
- Feeding dashboards, CRMs, spreadsheets, or AI agent workflows

### How to scrape ImmobilienScout24 property data

1. Open this Actor and click **Try for free** (or **Start**).
2. Set `country` to `DE`, `AT`, `ES`, or `HABITACLIA` (Spain: optional `market=fotocasa|habitaclia`).
3. Set `location` (for example `berlin`, `wien`, `madrid`) **or** provide `startUrls`.
4. Choose `channel`: `BUY` for sale or `RENT` for to-rent.
5. Set `maxItems` and `maxPages` for a small test first.
6. Keep `scrapeDetails` enabled for DE / AT / Fotocasa when you need full enrichment. Habitaclia is **SRP-only** by design (Imperva on many detail pages).
7. Prefer Apify **RESIDENTIAL** proxy with country matching the market (`DE` / `AT` / `ES`).
8. Click **Start**, then download the Dataset as JSON, CSV, Excel, or JSONL.

#### Example input (Germany — Berlin for sale)

```json
{
  "country": "DE",
  "location": "berlin",
  "channel": "BUY",
  "propertyType": "wohnung",
  "maxItems": 10,
  "maxPages": 1,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "DE"
  }
}
````

#### Example input (Austria — Wien to rent)

```json
{
  "country": "AT",
  "location": "wien",
  "channel": "RENT",
  "propertyType": "wohnung",
  "maxItems": 5,
  "maxPages": 1,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "AT"
  }
}
```

#### Example input (Spain — Fotocasa Madrid for sale)

```json
{
  "country": "ES",
  "market": "fotocasa",
  "location": "madrid",
  "channel": "BUY",
  "maxItems": 5,
  "maxPages": 1,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "ES"
  }
}
```

#### Example input (Spain — Habitaclia Madrid for sale, SRP-only)

```json
{
  "country": "HABITACLIA",
  "location": "madrid",
  "channel": "BUY",
  "maxItems": 5,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "ES"
  }
}
```

### Input

Use the **Input** tab for the full form. Core fields:

| Field | Description |
| --- | --- |
| `country` | `DE`, `AT`, `ES`, or `HABITACLIA` |
| `market` | Spain only: `fotocasa` or `habitaclia` |
| `startUrls` | Optional search (SRP) or detail (LDP) URLs |
| `location` | Place alias (`berlin`, `wien`, `madrid`…) |
| `channel` | `BUY` or `RENT` |
| `propertyType` | Full category catalog: apartment, house, plot, garage, shared\_room, short\_term, foreclosure, office, retail, industrial, penthouse, duplex, studio, … (see Input tab). Mapped per market to SEO paths. |
| `maxItems` | Maximum listings to save |
| `maxPages` | Maximum search pages |
| `scrapeDetails` | Fetch LDP enrichment (forced off for Habitaclia) |
| `requestDelayMillis` | Delay before each browser navigation |
| `proxyConfiguration` | Apify Proxy (RESIDENTIAL + market country) |

### Output example

Each Dataset item is one listing. Download as **JSON, CSV, Excel, or JSONL**.

```json
{
  "id": "123456789",
  "url": "https://www.immobilienscout24.de/expose/123456789",
  "country": "DE",
  "source": "immobilienscout24",
  "channel": "BUY",
  "title": "Helle 3-Zimmer-Wohnung in Berlin",
  "priceAmount": 396000,
  "currency": "EUR",
  "rooms": 3,
  "livingSpace": 75,
  "city": "Berlin",
  "sourceLayer": "srp+ldp",
  "scrapedAt": "2026-07-18T04:00:00.000Z"
}
```

Key-value store helpers:

- `OUTPUT` / `RUN_SUMMARY` — counts, engine, market, warnings
- `ERROR_SUMMARY` — present when a run fails

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

This Actor uses **Pay per event** pricing:

| Event | Price |
| --- | --- |
| Actor start (`apify-actor-start`) | **$0.005** per start |
| Result (`apify-default-dataset-item`) | **$2.50 / 1,000** listings ($0.0025 each) |

**Platform usage costs are paid by the user** (compute, residential proxy, storage). Browser runs need more memory than pure HTTP scrapers — keep `maxItems` low while testing.

Example: 1 start + 1,000 listings ≈ **$0.005 + $2.50** in event charges, plus platform usage.

### Tips for better ImmoScout24 scraping results

- Start with `maxPages: 1` and `maxItems: 3–10` to validate market + proxy.
- Match proxy country to the portal: DE→DE, AT→AT, Fotocasa/Habitaclia→ES.
- Keep `requestDelayMillis` around 1500–3000 ms to reduce WAF / Imperva friction.
- Habitaclia: rely on SRP fields (price, rooms, size, agency, images); detail pages are often blocked.
- Split large cities into smaller locations if you need broader coverage.

### FAQ

#### Is there an official ImmobilienScout24 API?

ImmoScout24 does not offer a simple public listings API for arbitrary third-party extraction. This Actor provides an **ImmoScout24 scraper / API-style Dataset export** for public listing pages across DE, AT, and Scout24 Spain portals.

#### Which countries are supported?

Germany (`DE`), Austria (`AT`), and Spain via Fotocasa (`ES`) and Habitaclia (`HABITACLIA` / `market=habitaclia`).

#### Can I scrape both sale and rent?

Yes. Run with `channel=BUY` or `channel=RENT`, or supply separate search URLs in `startUrls`.

#### Why does Habitaclia skip detail pages?

Many Habitaclia detail pages return Imperva challenge pages. List cards already include the main commercial fields, so Habitaclia runs force SRP-only mode for reliability.

#### What format can I export?

Apify Dataset downloads support JSON, JSONL, CSV, Excel, XML, and RSS. You can also pull results through the Apify API, Integrations, or webhooks.

#### Is it legal to scrape ImmobilienScout24?

Only scrape publicly available listing data and only if you have a legitimate reason. Personal data may appear in public listings and can be protected by GDPR and similar laws. Review each portal’s terms and your own compliance obligations before large-scale collection. This tool is intended for ethical use of public information.

#### How do I run this ImmoScout24 Scraper via API?

Use the Apify API, CLI (`apify call`), or Schedules. Pass the same JSON input shown above. See the **API** tab on this Actor page for ready-made code snippets.

### Live View / standby endpoints

When the Actor runs in standby / Live View mode, these operational endpoints are available:

| Method | Path | Description |
| --- | --- | --- |
| `GET` | `/` | Service info |
| `GET` | `/health` | Health check |
| `GET` | `/input-example` | Low-cost sample input |
| `GET` | `/openapi.json` | Deployed OpenAPI document |

Normal scraping still runs as a standard Actor run (not through these endpoints).

### Support

Open the **Issues** tab on this Actor page with sample input, run ID, and expected vs actual results. Feature requests for extra markets or fields are welcome.

# Actor input Schema

## `country` (type: `string`):

Market: DE (immobilienscout24.de), AT (immobilienscout24.at), ES (Fotocasa by default), or HABITACLIA. Aliases: FOTOCASA→ES, SPAIN→ES. Host from startUrls overrides when provided.

## `market` (type: `string`):

Optional Spain portal selector. Use habitaclia with country=ES, or set country=HABITACLIA. Inferred from habitaclia.com / fotocasa.es startUrls. Omit for Fotocasa when country=ES.

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

Search (SRP) or detail (LDP) URLs for the selected market. Search URLs override location/channel when provided. Host must match country (.de, .at, fotocasa.es, or habitaclia.com).

## `location` (type: `string`):

Place alias or path. DE: berlin, hamburg. AT: wien, graz. ES/Fotocasa: madrid, barcelona-capital. Habitaclia: madrid, barcelona. Ignored when startUrls contain a search URL.

## `channel` (type: `string`):

BUY (kaufen/comprar/viviendas) or RENT (mieten/alquiler). Used when building a search from location.

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

Listing category across DE/AT/ES portals. Canonical IDs (apartment, house, garage, office…) map to each site’s SEO path. Some types are BUY-only or RENT-only (e.g. foreclosure, short\_term, shared\_room). Unsupported market×type combinations fail with a clear error. startUrls can still target any category URL.

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

Maximum property records to save.

## `maxPages` (type: `integer`):

Maximum SRP pages to fetch (~15–30 listings per page depending on market).

## `scrapeDetails` (type: `boolean`):

Open each listing LDP and parse the market data layer (DE: window.IS24; AT: Apollo; Fotocasa: **initial\_props**; Habitaclia: FichaDesktopDTO). For Habitaclia, default is false when omitted (Imperva on many LDP responses); SRP already includes price/rooms/size/images.

## `requestDelayMillis` (type: `integer`):

Politeness delay before each browser navigation (keep higher for WAF / bot challenges).

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

Apify Proxy required on cloud. Prefer RESIDENTIAL + country matching the market (DE→DE, AT→AT, ES/Habitaclia→ES).

## Actor input object example

```json
{
  "country": "DE",
  "startUrls": [
    {
      "url": "https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-kaufen"
    }
  ],
  "location": "berlin",
  "channel": "BUY",
  "propertyType": "apartment",
  "maxItems": 20,
  "maxPages": 1,
  "scrapeDetails": true,
  "requestDelayMillis": 2000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "DE"
  }
}
```

# Actor output Schema

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

Normalized ImmoScout24 listing records from SRP and optional LDP enrichment.

## `runSummary` (type: `string`):

Counts, engine, and timestamps for the run.

# 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 = {
    "country": "DE",
    "startUrls": [
        {
            "url": "https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-kaufen"
        }
    ],
    "location": "berlin",
    "propertyType": "apartment"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lentic_clockss/immobilienscout24-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 = {
    "country": "DE",
    "startUrls": [{ "url": "https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-kaufen" }],
    "location": "berlin",
    "propertyType": "apartment",
}

# Run the Actor and wait for it to finish
run = client.actor("lentic_clockss/immobilienscout24-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 '{
  "country": "DE",
  "startUrls": [
    {
      "url": "https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-kaufen"
    }
  ],
  "location": "berlin",
  "propertyType": "apartment"
}' |
apify call lentic_clockss/immobilienscout24-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ImmoScout24 Scraper - Germany, Austria & Spain Property",
        "description": "Scrape ImmobilienScout24.de, ImmobilienScout24.at, Fotocasa, and Habitaclia homes for sale and to rent. Extract prices, rooms, living space, agents, and photos as an ImmoScout24 API alternative.",
        "version": "0.4",
        "x-build-id": "gbjzLgvzClKBV5qX1"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lentic_clockss~immobilienscout24-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lentic_clockss-immobilienscout24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lentic_clockss~immobilienscout24-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lentic_clockss-immobilienscout24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lentic_clockss~immobilienscout24-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lentic_clockss-immobilienscout24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "country": {
                        "title": "Country / market",
                        "enum": [
                            "DE",
                            "AT",
                            "ES",
                            "HABITACLIA"
                        ],
                        "type": "string",
                        "description": "Market: DE (immobilienscout24.de), AT (immobilienscout24.at), ES (Fotocasa by default), or HABITACLIA. Aliases: FOTOCASA→ES, SPAIN→ES. Host from startUrls overrides when provided.",
                        "default": "DE"
                    },
                    "market": {
                        "title": "Spain site (when country=ES)",
                        "enum": [
                            "fotocasa",
                            "habitaclia"
                        ],
                        "type": "string",
                        "description": "Optional Spain portal selector. Use habitaclia with country=ES, or set country=HABITACLIA. Inferred from habitaclia.com / fotocasa.es startUrls. Omit for Fotocasa when country=ES."
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Search (SRP) or detail (LDP) URLs for the selected market. Search URLs override location/channel when provided. Host must match country (.de, .at, fotocasa.es, or habitaclia.com).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Place alias or path. DE: berlin, hamburg. AT: wien, graz. ES/Fotocasa: madrid, barcelona-capital. Habitaclia: madrid, barcelona. Ignored when startUrls contain a search URL.",
                        "default": "berlin"
                    },
                    "channel": {
                        "title": "Channel",
                        "enum": [
                            "BUY",
                            "RENT"
                        ],
                        "type": "string",
                        "description": "BUY (kaufen/comprar/viviendas) or RENT (mieten/alquiler). Used when building a search from location.",
                        "default": "BUY"
                    },
                    "propertyType": {
                        "title": "Property type / category",
                        "enum": [
                            "apartment",
                            "home",
                            "house",
                            "apartment_or_house",
                            "plot",
                            "garage",
                            "parking",
                            "shared_room",
                            "short_term",
                            "foreclosure",
                            "investment",
                            "penthouse",
                            "duplex",
                            "studio",
                            "office",
                            "retail",
                            "industrial",
                            "hospitality",
                            "other_commercial",
                            "commercial",
                            "building",
                            "storage",
                            "all_listings",
                            "wohnung",
                            "haus",
                            "wohnung-oder-haus",
                            "grundstueck",
                            "all"
                        ],
                        "type": "string",
                        "description": "Listing category across DE/AT/ES portals. Canonical IDs (apartment, house, garage, office…) map to each site’s SEO path. Some types are BUY-only or RENT-only (e.g. foreclosure, short_term, shared_room). Unsupported market×type combinations fail with a clear error. startUrls can still target any category URL.",
                        "default": "apartment"
                    },
                    "maxItems": {
                        "title": "Max listings",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum property records to save.",
                        "default": 20
                    },
                    "maxPages": {
                        "title": "Max search pages",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum SRP pages to fetch (~15–30 listings per page depending on market).",
                        "default": 1
                    },
                    "scrapeDetails": {
                        "title": "Scrape detail pages",
                        "type": "boolean",
                        "description": "Open each listing LDP and parse the market data layer (DE: window.IS24; AT: Apollo; Fotocasa: __initial_props__; Habitaclia: FichaDesktopDTO). For Habitaclia, default is false when omitted (Imperva on many LDP responses); SRP already includes price/rooms/size/images.",
                        "default": true
                    },
                    "requestDelayMillis": {
                        "title": "Delay between requests (ms)",
                        "minimum": 0,
                        "maximum": 20000,
                        "type": "integer",
                        "description": "Politeness delay before each browser navigation (keep higher for WAF / bot challenges).",
                        "default": 2000
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy required on cloud. Prefer RESIDENTIAL + country matching the market (DE→DE, AT→AT, ES/Habitaclia→ES).",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "DE"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
