# Immoweb.be Real Estate Scraper (Belgium) (`stone_jadex/immoweb-be-scraper`) Actor

Public Immoweb.be property listings in Belgium: price, address, postcode, type, bedrooms, surface, EPC, agency name, photos, and dates. $0.60 per 1,000 listings, no start fee.

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

## Pricing

from $0.51 / 1,000 listing (search tier)s

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?

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

## Immoweb Belgium Property Scraper

Extract public [Immoweb.be](https://www.immoweb.be/) property listings across Belgium into a structured dataset for residential sales, rentals, and new-build developments. Collect asking price (`EUR`), monthly rental charges, bedrooms, bathrooms, habitable surface (`livingArea_m2`), land area (`landArea_m2`), full address and postcode, coordinates, EPC/PEB energy ratings (`epcScore`, `epcPrimaryEnergy_kWhm2`, `co2Emission`), construction year, building features, photos, and public seller/agency contact details — directly from Immoweb's search-results JSON endpoint and embedded `window.classified` payload without launching a headless browser.

Run with empty input to collect Belgian houses for sale and apartments for rent across all regions, or supply custom `/en/`, `/fr/`, or `/nl/` Immoweb search or classified listing URLs.

### Overview and use cases

- **Belgian real estate analysts & valuers**: Benchmark price per square metre (`price` / `livingArea_m2`), EPC labels (`A`–`G`), construction years, cadastral income, and regional supply across Flanders, Wallonia, and Brussels-Capital.
- **Relocation & rental researchers**: Compare monthly rents alongside `monthlyCharges`, `availableFrom`, `furnished`, terrace/garden dimensions, and locality postcodes.
- **Agencies & proptech builders**: Enrich property feeds with full public agency metadata (`name`, `ipiNumber`, `website`, `phone`, `mobile`, `email`, `address`, `sellerType`), public view/bookmark counters (`viewCount`, `bookmarkCount`), and multi-language URL support (`en`, `fr`, `nl`).
- **Low-footprint engineering**: Browserless `256 MB` execution, robots.txt read (Crawl-delay honoured; Disallow hits logged and counted), no login or captcha bypass, and transparent `$0.60 per 1,000` Pay-Per-Event pricing.

#### Supported Immoweb.be URLs and languages

The normalizer accepts `https://www.immoweb.be/...` and `http://immoweb.be/...` URLs in English (`/en/`), French (`/fr/`), and Dutch (`/nl/`):

- **Search URLs**: `/{lang}/search/{type}/{tx}[/locality/postcode]` (or `/recherche/`, `/zoeken/`, `/search-results/`), preserving supported search filters such as `postalCodes=BE-9000` or `minBedroomCount=3`.
- **Detail URLs**: `/{lang}/classified/{type}/{tx}/{locality}/{postcode}/{id}` (or `/annonce/`, `/zoekertje/`). Direct detail URLs run ahead of list seeds and always fetch the full detail payload.

> **Parameter normalization note:** Because `robots.txt` disallows query patterns such as `countries=`, `orderBy`, `minprice`, and `maxprice`, the input normalizer strips `countries`, `orderBy`, `ln`, `searchId`, `isCheap`, `page`, `minPrice`, and `maxPrice` (any casing) from search URLs before pagination. Use Immoweb's path-based location/property filters or filter downstream on the extracted dataset.

### Input parameters and JSON examples

Leave `startUrls` empty to collect the default Belgian seeds (`https://www.immoweb.be/en/search/house/for-sale` and `https://www.immoweb.be/en/search/apartment/for-rent`), or configure any of the 11 input fields grouped into four sections in the Apify Console UI.

| Parameter | Type | Default | Constraints | Description |
| --- | --- | --- | --- | --- |
| `startUrls` | `array` (requestListSources) | Belgian houses for sale + apartments for rent | `immoweb.be` search or classified URLs | Search or listing URLs (strings or `{ "url": "..." }` objects). Detail seeds execute first. |
| `maxItems` | `integer` | `50` | `1` – `10000` | Maximum unique listings to emit and charge in one run. |
| `maxPages` | `integer` | `null` (up to `maxItems`) | `1` – `333` | Optional page cap per search seed. Each search page holds 30 listings; Immoweb caps searches at 333 pages. |
| `startPage` | `integer` | `1` | `1` – `333` | First search page when a start URL does not already carry `?page=N`. |
| `scrapeDetails` | `boolean` | `true` | — | Open each listing's detail page to enrich full `description`, EPC (`kWh/m²`), construction year, building features, and agency `phone`/`email`/`website`/`address`. Same PPE price. |
| `requestDelayMs` | `integer` | `1500` | Minimum `1500`, max `60000` | Minimum gap in milliseconds between request starts (`requestIntervalMs` alias supported). `robots.txt` `Crawl-delay` can raise this. |
| `concurrency` | `integer` | `1` | `1` – `3` | Concurrent search or detail requests in flight while still preserving `requestDelayMs` start spacing and page order. |
| `maxRunSeconds` | `integer` | `3600` | `30` – `86400` | Maximum run duration in seconds before writing `OUTPUT` and stopping cleanly. |
| `proxyConfiguration` | `object` (proxy) | `{ "useApifyProxy": false }` | Direct by default | Apify proxy configuration. Residential proxies are fallback-only (`useProxyFallback: true`) and capped at `5 MB` per run. |
| `useProxyFallback` | `boolean` | `false` | — | Stay on direct connections until repeated HTTP `403`/`429` responses, then switch to the configured proxy. |
| `allowDetailOnResidential` | `boolean` | `false` | — | When a residential proxy group is active, detail pages stay direct unless this option is enabled. |

> **Note:** The `5 MB` residential proxy byte cap (`RESIDENTIAL_MAX_MB = 5`) is enforced in `src/pricing.js` and is not user-configurable.

#### JSON input example 1 — Detail-enriched Brussels & Ghent search

```json
{
  "startUrls": [
    { "url": "https://www.immoweb.be/en/search/apartment/for-rent/brussels/1000" },
    { "url": "https://www.immoweb.be/en/search/house/for-sale?minBedroomCount=3&postalCodes=BE-9000" }
  ],
  "maxItems": 60,
  "maxPages": 2,
  "startPage": 1,
  "scrapeDetails": true,
  "requestDelayMs": 1500,
  "concurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### JSON input example 2 — Fast list-only scan with proxy fallback

```json
{
  "startUrls": [
    { "url": "https://www.immoweb.be/en/search/house/for-sale" },
    { "url": "https://www.immoweb.be/en/classified/house/for-sale/aalst/9300/21941395" }
  ],
  "maxItems": 300,
  "maxPages": 10,
  "scrapeDetails": false,
  "requestDelayMs": 1500,
  "concurrency": 2,
  "maxRunSeconds": 1800,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "BE"
  },
  "useProxyFallback": true,
  "allowDetailOnResidential": false
}
```

### Output schema and dataset fields

Export results in **JSON**, **CSV**, **Excel (`.xlsx`)**, **XML**, or **HTML**, or preview the **Overview** table view in Apify Console.

#### Illustrative JSON output record (derived from 2026-10-26 fixture `21941395`)

The example below illustrates a merged detail-tier record parsed from the saved Aalst house-for-sale fixture (`listingId` **21941395**; `scrapedAt` reflects the sample timestamp while live runs store the actual UTC time):

```json
{
  "recordType": "listing",
  "tier": "detail",
  "listingId": "21941395",
  "url": "https://www.immoweb.be/en/classified/house/for-sale/aalst/9300/21941395",
  "title": "Fully renovated house with 4 bedrooms and EPC rating A!",
  "propertyType": "HOUSE",
  "propertySubtype": "HOUSE",
  "transactionType": "FOR_SALE",
  "price": 425000,
  "currency": "EUR",
  "pricePeriod": null,
  "priceDisplay": "€425,000",
  "priceLabel": "Price",
  "oldPrice": null,
  "priceHidden": false,
  "monthlyCharges": null,
  "minPrice": null,
  "maxPrice": null,
  "publicSale": null,
  "lifeAnnuity": null,
  "bedrooms": 4,
  "bathrooms": 1,
  "rooms": null,
  "livingArea_m2": 215,
  "landArea_m2": 388,
  "street": "Broekstraat",
  "houseNumber": "11",
  "box": null,
  "postalCode": "9300",
  "locality": "Aalst",
  "district": "Aalst",
  "province": "East Flanders",
  "region": "Flanders",
  "country": "Belgium",
  "latitude": 50.9639733,
  "longitude": 4.0689471,
  "floor": null,
  "epcScore": "A",
  "epcPrimaryEnergy_kWhm2": 88,
  "epcReference": null,
  "co2Emission": null,
  "flag": "new",
  "isNewBuild": false,
  "hasVirtualTour": null,
  "hasVideo": null,
  "imageCount": 30,
  "images": [
    "https://media-resize.immowebstatic.be/classifieds/eacb2468-9087-4eed-83cf-1a656f52fb6b/2560x1440/e359d6f7837041fdda7ab9cd801d75f7.jpg"
  ],
  "agency": {
    "type": "AGENCY",
    "sellerType": "business",
    "id": "3886153",
    "name": "Cornelis Goeman Geraardsbergen",
    "logoUrl": "https://media-resize.immowebstatic.be/customers/0012p00004HOqurAAD/500x500/logo/b16ba74da16c9acde4c55db270aba3e3.jpg",
    "website": "https://www.cornelis-goeman.be/nl",
    "ipiNumber": "506201",
    "locality": "Geraardsbergen",
    "postalCode": "9500",
    "phone": null,
    "mobile": null,
    "email": "storage5289_17@importfrommedia.be",
    "address": "Oudenaardsestraat 36"
  },
  "additionalContacts": [],
  "description": "This move-in-ready townhouse was completely gutted and renovated in 2014...",
  "externalReference": "7917005",
  "createdAt": "2026-10-24T16:00:35.884Z",
  "updatedAt": "2026-10-24T16:00:39.449Z",
  "expiresAt": null,
  "availableFrom": "2027-05-01",
  "constructionYear": 1952,
  "buildingCondition": "AS_NEW",
  "facadeCount": 2,
  "floorCount": 2,
  "toilets": 2,
  "showerRooms": null,
  "kitchenType": "HYPER_EQUIPPED",
  "hasGarden": true,
  "gardenArea_m2": 220,
  "hasTerrace": true,
  "terraceArea_m2": 38,
  "hasLift": null,
  "hasSwimmingPool": false,
  "parkingIndoor": 1,
  "parkingOutdoor": null,
  "furnished": null,
  "heatingType": "GAS",
  "hasPhotovoltaicPanels": true,
  "hasDoubleGlazing": true,
  "cadastralIncome": 694,
  "viewCount": 1139,
  "bookmarkCount": 26,
  "projectUnits": null,
  "searchPage": 1,
  "scrapedAt": "2026-10-26T00:00:00.000Z"
}
```

When a run stops early (for example at `maxItems`, `max-charge-reached`, `run-time-limit`, `proxy-budget`, `bot-challenge`, `empty-page`, or `errors`), an **uncharged** informational `run-notice` row is appended:

```json
{
  "recordType": "run-notice",
  "truncatedAfter": 45,
  "reason": "maxItems",
  "message": "Run stopped early (maxItems) after 45 listings. This row is informational and is not charged."
}
```

#### Full dataset field reference

Every field declared in `.actor/dataset_schema.json` is listed below. Detail-only fields are populated when `scrapeDetails: true` (or for direct classified URLs); missing values remain `null`.

| Field | Type | Tier | Description |
| --- | --- | --- | --- |
| `recordType` | `string \| null` | All | `"listing"` on property records; `"run-notice"` on uncharged truncation rows. |
| `tier` | `string \| null` | All | `"list"` for search-only rows; `"detail"` when enriched from `window.classified`. |
| `listingId` | `string \| null` | List & Detail | Immoweb classified ID as a string. |
| `url` | `string \| null` | List & Detail | Public canonical Immoweb classified URL. |
| `title` | `string \| null` | List & Detail | Published listing headline. |
| `propertyType` | `string \| null` | List & Detail | Immoweb property type (e.g., `HOUSE`, `APARTMENT`). |
| `propertySubtype` | `string \| null` | List & Detail | Immoweb subtype (e.g., `VILLA`, `PENTHOUSE`, `HOUSE`). |
| `transactionType` | `string \| null` | List & Detail | Transaction code (`FOR_SALE`, `FOR_RENT`). |
| `price` | `number \| null` | List & Detail | Numeric asking price or monthly rent in EUR. |
| `currency` | `string \| null` | List & Detail | `"EUR"` when a price is published, else `null`. |
| `pricePeriod` | `string \| null` | List & Detail | `"month"` for rentals; `null` for sales. |
| `priceDisplay` | `string \| null` | List & Detail | Formatted price text shown on Immoweb (e.g., `€425,000`). |
| `priceLabel` | `string \| null` | List & Detail | Price label published on the listing (e.g., `Price`, `Asking price`). |
| `oldPrice` | `number \| null` | List & Detail | Previous asking price when a price drop is shown. |
| `priceHidden` | `boolean \| null` | List & Detail | `true` when the asking price is hidden or on request. |
| `monthlyCharges` | `number \| null` | List & Detail | Monthly rental charges in EUR when published. |
| `minPrice`, `maxPrice` | `number \| null` | List & Detail | Price range bounds for project or multi-unit listings. |
| `publicSale`, `lifeAnnuity` | `boolean \| null` | List & Detail | `true` when marked as public/notarial sale or life annuity (*viager*); else `null`. |
| `bedrooms`, `bathrooms`, `rooms` | `number \| null` | List & Detail | Published bedroom, bathroom, and total room counts. |
| `livingArea_m2`, `landArea_m2` | `number \| null` | List & Detail | Habitable surface and plot/land surface in square metres. |
| `street`, `houseNumber`, `box` | `string \| null` | List & Detail | Street name, house number, and box/unit suffix when published. |
| `postalCode`, `locality`, `district`, `province`, `region`, `country` | `string \| null` | List & Detail | Belgian postcode, municipality, district, province, region, and country. |
| `latitude`, `longitude` | `number \| null` | List & Detail | Geographic coordinates when published. |
| `floor` | `number \| null` | List & Detail | Floor level for apartments when published. |
| `epcScore` | `string \| null` | List & Detail | EPC/PEB energy rating letter (e.g., `A`, `B`, `C`). |
| `epcPrimaryEnergy_kWhm2`, `epcReference`, `co2Emission` | `number \| string \| null` | Detail | Primary energy consumption (`kWh/m²/year`), certificate reference, and CO2 emission value. |
| `flag`, `isNewBuild` | `string \| boolean \| null` | List & Detail | Immoweb status flag (e.g., `new`, `newlyBuilt`) and boolean new-build indicator. |
| `hasVirtualTour`, `hasVideo` | `boolean \| null` | List & Detail | Availability of virtual tour or video walkthrough. |
| `imageCount`, `images` | `number \| string[] \| null` | List & Detail | Photo count and full-size public `immowebstatic.be` image URLs. |
| `agency` | `object \| null` | List & Detail | Primary seller/agency object (`type`, `sellerType` \[`business` / `private` / `unknown`], `id`, `name`, `logoUrl`, `website`, `ipiNumber`, `locality`, `postalCode`, `phone`, `mobile`, `email`, `address`). List tier exposes `name`/`logoUrl`; detail tier adds full public contact fields verbatim. |
| `additionalContacts` | `object[] \| null` | Detail | Array of additional public contacts with the same object structure as `agency`. |
| `description`, `externalReference` | `string \| null` | Detail | Full public listing description and agency reference code. |
| `createdAt`, `updatedAt`, `expiresAt`, `availableFrom` | `string \| null` | List / Detail | ISO timestamps for publication/updates/expiry (`expiresAt` detail-only) and availability date (`availableFrom` detail-only). |
| `constructionYear`, `buildingCondition`, `facadeCount`, `floorCount` | `number \| string \| null` | Detail | Year built, condition (`AS_NEW`, `GOOD`), number of facades, and building floors. |
| `toilets`, `showerRooms`, `kitchenType` | `number \| string \| null` | Detail | Toilet count, shower room count, and kitchen classification (`HYPER_EQUIPPED`). |
| `hasGarden`, `gardenArea_m2`, `hasTerrace`, `terraceArea_m2` | `boolean \| number \| null` | Detail | Garden/terrace presence and areas in square metres. |
| `hasLift`, `hasSwimmingPool`, `parkingIndoor`, `parkingOutdoor`, `furnished` | `boolean \| number \| null` | Detail | Lift/pool/furnished booleans and indoor/outdoor parking space counts. |
| `heatingType`, `hasPhotovoltaicPanels`, `hasDoubleGlazing`, `cadastralIncome` | `string \| boolean \| number \| null` | Detail | Heating system, solar panels, double glazing, and cadastral income. |
| `viewCount`, `bookmarkCount` | `number \| null` | Detail | Public Immoweb advert view and bookmark/save counters. |
| `projectUnits` | `object \| null` | List | Project card summary (`minPrice`, `maxPrice`, `bedroomRange`, `surfaceRange`) when present. |
| `searchPage`, `listUrl` | `number \| string \| null` | List / Detail | Origin search page number (`searchPage`) or original direct detail seed URL (`listUrl`). |
| `detailError` | `string \| null` | List fallback | Error string (e.g., `HTTP 403`) if detail fetch failed and the list row was preserved. |
| `scrapedAt` | `string \| null` | List & Detail | ISO 8601 UTC extraction timestamp. |
| `truncatedAfter`, `reason`, `message` | `number \| string \| null` | Run notice | Informational fields present only on uncharged `recordType: "run-notice"` rows. |

#### Key-value store `OUTPUT` summary

Every run stores a JSON summary at key `OUTPUT` in the default key-value store (including on invalid input or early deadline stops), containing `startedAt`, `finishedAt`, normalized `input`, `pricing`, per-seed `seeds` status, `pushed` counts, `duplicatesSkipped`, `pagesFetched`, `siteTotalEntries`, `siteTotalCapped`, `errors`, `stopReason`, `truncated`, `unavailableFields`, `http`, `robots`, `robotsDisallowedHits`, `listSource`, and `notes`.

### Pricing and Store tier discounts

This Actor uses **Pay-Per-Event (PPE)** billing in **USD** with **no actor-start fee** and **no separate dataset-item charge**. List-only (`listing`) and detail-enriched (`listing-detail`) events cost the exact same base rate of **`$0.0006` per listing (`$0.60 per 1,000` listings on Free)**.

- **Single charge per listing**: When `scrapeDetails: true` succeeds, `listing-detail` replaces `listing` — you are never billed twice for the same listing.
- **Zero wasted spend**: Uncharged `run-notice` rows, duplicate listings skipped within a run, and empty/blocked 0-row runs incur **$0.00**.

#### Apify Store subscription tier discounts

Verified against live `pricingInfos` (effective `2026-11-21`):

| Apify Plan Tier | Discount vs Free | `listing` per result | `listing-detail` per result | Cost per 1,000 listings |
| --- | ---: | ---: | ---: | ---: |
| **Free** | Base rate | `$0.0006` | `$0.0006` | **`$0.60`** |
| **Bronze** | 5% off | `$0.00057` | `$0.00057` | **`$0.57`** |
| **Silver** | 10% off | `$0.00054` | `$0.00054` | **`$0.54`** |
| **Gold** | 15% off | `$0.00051` | `$0.00051` | **`$0.51`** |
| **Platinum** | 15% off | `$0.00051` | `$0.00051` | **`$0.51`** |
| **Diamond** | 15% off | `$0.00051` | `$0.00051` | **`$0.51`** |

Check the Apify Store **Pricing** tab for any separate platform compute or proxy usage rates under your Apify subscription.

### Quickstart with Apify SDK (JavaScript & Python)

Call `Stone_JadeX/immoweb-be-scraper` directly from your code via the official `apify-client` SDK.

#### JavaScript (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('Stone_JadeX/immoweb-be-scraper').call({
    startUrls: [
        { url: 'https://www.immoweb.be/en/search/house/for-sale' },
        { url: 'https://www.immoweb.be/en/search/apartment/for-rent/brussels/1000' },
    ],
    maxItems: 50,
    maxPages: 2,
    scrapeDetails: true,
    requestDelayMs: 1500,
    concurrency: 1,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
const listings = items.filter((row) => row.recordType !== 'run-notice');
console.log(`Fetched ${listings.length} Immoweb listings:`, listings.slice(0, 3));

const outputRecord = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Stop reason:', outputRecord?.value?.stopReason);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("Stone_JadeX/immoweb-be-scraper").call(
    run_input={
        "startUrls": [
            {"url": "https://www.immoweb.be/en/search/house/for-sale"},
            {"url": "https://www.immoweb.be/en/search/apartment/for-rent/ghent/9000"},
        ],
        "maxItems": 50,
        "maxPages": 2,
        "scrapeDetails": True,
        "requestDelayMs": 1500,
        "concurrency": 1,
    }
)

items = client.dataset(run["defaultDatasetId"]).list_items().items
listings = [row for row in items if row.get("recordType") != "run-notice"]
print(f"Fetched {len(listings)} Immoweb listings")

output_summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
print("Stop reason:", (output_summary or {}).get("value", {}).get("stopReason"))
```

### Is it legal to scrape Immoweb?

You are responsible for ensuring your data collection and downstream usage comply with Immoweb's terms of use and applicable Belgian/EU law (including GDPR). By design, this Actor operates strictly on publicly accessible pages:

- **Public data only**: Reads only Immoweb's public search-results JSON (`/{lang}/search-results/...`) and the public `window.classified` payload embedded on classified listing pages. It never logs into accounts, refuses login/profile paths (`/login`, `/signin`, `/account`, `/mypage`), never calls hidden contact-reveal endpoints, and never attempts to solve or bypass DataDome or Cloudflare anti-bot challenges.
- **Verbatim public seller contacts**: Seller details (`agency` and `additionalContacts`) reflect only what the advertiser publicly embeds on the listing page, marked with `sellerType` (`business`, `private`, or `unknown`), with absent fields kept as `null`.
- **Transparent `robots.txt` auditing**: The Actor fetches `https://www.immoweb.be/robots.txt`, respects `Crawl-delay` when present, strips disallowed query parameters (`countries=`, `orderBy`, `minPrice`, `maxPrice`) during URL normalization, and logs/counts any remaining `Disallow` path hit in `robotsDisallowedHits` inside `OUTPUT`.

This Actor is an independent tool and is not affiliated with Immoweb.

### Coverage, limitations, and FAQ

**Why does Immoweb show at most 333 pages per search (`siteTotalCapped`)?**
Immoweb's search API caps pagination at `333` pages (about `9,969`–`9,990` results per search query). To collect broader coverage across Belgium, split `startUrls` by property type (`house`, `apartment`), transaction (`for-sale`, `for-rent`), or Belgian provinces/postcodes (`postalCodes=BE-1000`, `BE-2000`, `BE-9000`).

**Why were `minPrice`, `maxPrice`, `countries`, or `orderBy` stripped from my search URL?**
Immoweb's `robots.txt` explicitly disallows `*countries=*`, `*orderBy*`, `*minprice*`, and `*maxprice*`. The input normalizer removes those parameters automatically while preserving allowed filters like `minBedroomCount` and `postalCodes`.

**What happens if a DataDome or Cloudflare challenge occurs?**
The fetcher backs off (`30s` / `60s`), optionally activates a configured proxy only when `useProxyFallback: true`, and never solves or bypasses captchas. If a challenge persists, the run stops cleanly with `stopReason: "bot-challenge"`, preserves any rows already pushed, emits an uncharged `run-notice`, and charges `$0` for uncollected rows.

**What happens when `scrapeDetails: true` fails on a single listing?**
If an individual classified page fails (for example `HTTP 404` because the advert was just removed), the Actor keeps the list-tier row, records the reason in `detailError`, and charges `listing` instead of failing the whole run.

### Changelog

#### 2026-11-21

- **Store documentation & quickstarts**: Expanded `README.md` with full 11-parameter input table, 2 JSON input examples, illustrative merged detail JSON output (`21941395`) & `run-notice` examples, complete dataset field reference matching `.actor/dataset_schema.json`, JavaScript & Python `ApifyClient` quickstarts (`Stone_JadeX/immoweb-be-scraper`), and coverage FAQ.
- **Live tier pricing table**: Added Apify Store subscription tier discounts (Free `$0.0006` / `$0.60 per 1,000` through Bronze 5%, Silver 10%, and Gold/Platinum/Diamond 15% off at `$0.00051` / `$0.51 per 1,000`).
- **Input schema polish**: Added `sectionCaption` groupings across 4 sections and explicit `prefill` values on `maxItems` (`50`) and primary fields in `.actor/input_schema.json`.

#### 2026-10-26

- Initial `0.1.0` Immoweb.be scraper release: search-results JSON list tier + `window.classified` detail tier, verbatim public seller contact extraction with `sellerType`, warn-only `robots.txt` handling (`robotsDisallowedHits`), uncharged `run-notice` row, and initial `$0.0006` per listing PPE pricing (`$0.60 per 1,000`, originally draft-configured and not listed until KYC).

# Changelog

This Actor's version history is a separate document: https://apify.com/stone_jadex/immoweb-be-scraper/changelog.md

# Actor input Schema

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

Paste any Immoweb.be search URL (set your filters on immoweb.be, then copy the address bar), e.g. https://www.immoweb.be/en/search/apartment/for-rent/brussels/1000, or a listing URL like https://www.immoweb.be/en/classified/house/for-sale/aalst/9300/21941395. Empty input = all Belgian houses for sale + apartments for rent.

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

Stop after this many listings. You pay only for listings delivered.

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

Optional. Each search page has 30 listings; Immoweb shows at most 333 pages per search.

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

First search page when the start URL does not already contain page=N.

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

On by default. Adds description, agency phone/email/website/address, construction year, kWh/m², features and creation date. Same price per listing. Turn off for a faster price/location-only feed.

## `requestDelayMs` (type: `integer`):

At least 1.5 seconds between request starts (polite crawling). A robots.txt Crawl-delay can only raise this.

## `concurrency` (type: `integer`):

Detail pages fetched at once. The minimum gap between request starts still applies.

## `maxRunSeconds` (type: `integer`):

Stops cleanly and writes the OUTPUT record before this limit.

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

Direct connection by default (works for Immoweb). A residential proxy is fallback-only (turn on useProxyFallback) and capped at 5 MB per run.

## `useProxyFallback` (type: `boolean`):

Stay direct until repeated HTTP 403/429, then switch to the configured proxy. Captcha pages are never solved or bypassed.

## `allowDetailOnResidential` (type: `boolean`):

By default detail pages stay on a direct connection when a residential proxy is configured.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.immoweb.be/en/search/house/for-sale"
    }
  ],
  "maxItems": 50,
  "startPage": 1,
  "scrapeDetails": true,
  "requestDelayMs": 1500,
  "concurrency": 1,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": false,
  "allowDetailOnResidential": false
}
```

# Actor output Schema

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

Public property listings saved in the default dataset, with list-tier fields and optional detail fields depending on the input and source availability. A run-notice row is appended when the run stops early.

## `summary` (type: `string`):

Run statistics, seed status, errors, HTTP/robots counters, stop reason, and the echoed raw input. Also written on invalid input and early or hard-deadline stops.

# 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.immoweb.be/en/search/house/for-sale"
        }
    ],
    "maxItems": 50,
    "startPage": 1,
    "scrapeDetails": true,
    "requestDelayMs": 1500,
    "concurrency": 1,
    "maxRunSeconds": 3600,
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "useProxyFallback": false,
    "allowDetailOnResidential": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("stone_jadex/immoweb-be-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.immoweb.be/en/search/house/for-sale" }],
    "maxItems": 50,
    "startPage": 1,
    "scrapeDetails": True,
    "requestDelayMs": 1500,
    "concurrency": 1,
    "maxRunSeconds": 3600,
    "proxyConfiguration": { "useApifyProxy": False },
    "useProxyFallback": False,
    "allowDetailOnResidential": False,
}

# Run the Actor and wait for it to finish
run = client.actor("stone_jadex/immoweb-be-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": [
    {
      "url": "https://www.immoweb.be/en/search/house/for-sale"
    }
  ],
  "maxItems": 50,
  "startPage": 1,
  "scrapeDetails": true,
  "requestDelayMs": 1500,
  "concurrency": 1,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": false,
  "allowDetailOnResidential": false
}' |
apify call stone_jadex/immoweb-be-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stone_jadex/immoweb-be-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/6bvMVCR8esOgOC0Rk/builds/CESaLAM82KTWdrleY/openapi.json
