# immoweb.search

Homes for sale or to rent in Belgium on Immoweb, by kind and postal code: price, rooms, area, place, energy score and advertiser, a page at a time.

Immoweb search, one of the Immoweb scrapers.

| | |
| --- | --- |
| Id | `immoweb.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/immoweb.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `property_type` | "house" \| "apartment" \| "house-and-apartment" \| "land" \| "office" \| "commercial" \| "garage" \| "industry" \| "other" | no | The kind of property: `house`, `apartment`, `house-and-apartment`, `land`, `office`, `commercial`, `garage`, `industry`, `other`. Default: `"house"`. |
| `deal` | "sale" \| "rent" | no | Homes for `sale`, or to `rent`. Default: `"sale"`. |
| `postal_codes` | array of string | no | Belgian postal codes to search in, e.g. `["9000", "1050"]`; all of Belgium when empty. |
| `page` | integer | no | The page of results, 60 each, from 1 to 50. Limit: 1 to 50. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `id` | string | Immoweb's id of the listing. |
| `title` | string or null | The listing's title as the advertiser writes it. |
| `url` | string | The listing's page on immoweb.be. |
| `position` | integer | Its place on the page, from 1. |
| `property_type` | string or null | Immoweb's kind of property, e.g. `HOUSE`, `APARTMENT`, `HOUSE_GROUP` for a new-build project. |
| `property_subtype` | string or null | The finer kind, e.g. `VILLA`, `PENTHOUSE`, `APARTMENT_BLOCK`. |
| `deal` | string or null | `sale` or `rent`. |
| `price` | number or null | The price asked, in euros: the sale price, or the monthly rent; for a project, its lowest price. |
| `price_text` | string or null | The price as the page writes it, e.g. `€649,000` or `€1,450/month`. |
| `bedrooms` | integer or null | The number of bedrooms. |
| `living_area_m2` | number or null | The living area, in square metres. |
| `land_area_m2` | number or null | The plot's area, in square metres. |
| `street` | string or null | The street and number, where the advertiser shows them. |
| `postal_code` | string or null | The postal code. |
| `locality` | string or null | The town or municipality. |
| `province` | string or null | The province. |
| `latitude` | number or null | The latitude, where the advertiser shows the place. |
| `longitude` | number or null | The longitude. |
| `epc_score` | string or null | The energy certificate's score, e.g. `D`. |
| `advertiser_type` | string or null | `agency` for a business (an estate agent or a developer), `private` for a private person. |
| `advertiser` | string or null | The business's name; null for a private person. |
| `label` | string or null | The label the card shows, e.g. `new`, `price_drop`, `under_option`. |
| `image` | string or null | The listing's main photo. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/immoweb.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"postal_codes":["9000"]}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "immoweb.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "postal_codes": [
      "9000"
    ]
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "id": "22004572",
      "title": "House",
      "url": "https://www.immoweb.be/en/classified/22004572",
      "position": 1,
      "property_type": "HOUSE",
      "property_subtype": "MIXED_USE_BUILDING",
      "deal": "sale",
      "price": 2525000,
      "price_text": "€2,525,000",
      "bedrooms": 9,
      "living_area_m2": 770,
      "land_area_m2": 417,
      "street": "Onderstraat 23",
      "postal_code": "9000",
      "locality": "GENT",
      "province": "East Flanders",
      "latitude": 51.0561315,
      "longitude": 3.7248588,
      "epc_score": "D",
      "advertiser_type": "agency",
      "advertiser": "Infinimo",
      "label": "new",
      "image": "https://media-resize.immowebstatic.be/classifieds/03cc31c8-6fc5-4af3-b476-4cc1b4b24c46/736x736/f7c8ffe5ab50fa21f2121d1446c8ec87.jpg",
      "fetched_at": "2026-11-19T21:51:43.038192Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Immoweb scrapers](https://docs.enrichednow.com/results-and-statuses.md#immoweb) are in their own section there.
