Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIImmoweb

    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.

    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; what a run costs is in Usage and units.

    Inputs

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

    Inputs of immoweb.search
    FieldTypeDescription
    property_type"house" | "apartment" | "house-and-apartment" | "land" | "office" | "commercial" | "garage" | "industry" | "other"The kind of property: house, apartment, house-and-apartment, land, office, commercial, garage, industry, other.Default: "house".
    deal"sale" | "rent"Homes for sale, or to rent.Default: "sale".
    postal_codesarray of stringBelgian postal codes to search in, e.g. ["9000", "1050"]; all of Belgium when empty.
    pageintegerThe 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.

    Record fields of immoweb.search
    FieldTypeNotes
    idstringImmoweb's id of the listing.
    titlestring or nullThe listing's title as the advertiser writes it.
    urlstringThe listing's page on immoweb.be.
    positionintegerIts place on the page, from 1.
    property_typestring or nullImmoweb's kind of property, e.g. HOUSE, APARTMENT, HOUSE_GROUP for a new-build project.
    property_subtypestring or nullThe finer kind, e.g. VILLA, PENTHOUSE, APARTMENT_BLOCK.
    dealstring or nullsale or rent.
    pricenumber or nullThe price asked, in euros: the sale price, or the monthly rent; for a project, its lowest price.
    price_textstring or nullThe price as the page writes it, e.g. €649,000 or €1,450/month.
    bedroomsinteger or nullThe number of bedrooms.
    living_area_m2number or nullThe living area, in square metres.
    land_area_m2number or nullThe plot's area, in square metres.
    streetstring or nullThe street and number, where the advertiser shows them.
    postal_codestring or nullThe postal code.
    localitystring or nullThe town or municipality.
    provincestring or nullThe province.
    latitudenumber or nullThe latitude, where the advertiser shows the place.
    longitudenumber or nullThe longitude.
    epc_scorestring or nullThe energy certificate's score, e.g. D.
    advertiser_typestring or nullagency for a business (an estate agent or a developer), private for a private person.
    advertiserstring or nullThe business's name; null for a private person.
    labelstring or nullThe label the card shows, e.g. new, price_drop, under_option.
    imagestring or nullThe listing's main photo.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    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"]}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("immoweb.search", {"postal_codes": ["9000"]})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("immoweb.search", { postal_codes: ["9000"] });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "immoweb.search", map[string]any{"postal_codes": []any{"9000"}})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.List;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("immoweb.search", Map.of("postal_codes", List.of("9000")));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run immoweb.search --input-json '{"postal_codes":["9000"]}'

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Immoweb scrapers are in their own section there.