{
  "openapi": "3.0.1",
  "info": {
    "title": "Immoweb Scraper - Belgium Real Estate Listings & Agencies",
    "description": "Scrape Immoweb.be property for sale and rent across Belgium: price, exact address, property type, bedrooms, living area, EPC score, photos and the agency's contact details. Paste any search or listing URL in French, Dutch or English. Export JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "lnyqkOXPwuviHM5bQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~immoweb-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-immoweb-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/memo23~immoweb-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-immoweb-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/memo23~immoweb-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-immoweb-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": {
          "startUrls": {
            "title": "Immoweb URLs to scrape",
            "type": "array",
            "description": "Full `immoweb.be` search, filtered search, classified listing, or project URLs copied from your browser.",
            "items": {
              "type": "string"
            }
          },
          "agenciesMode": {
            "title": "Return agencies instead of properties",
            "type": "boolean",
            "description": "Turn on to get Belgian real-estate agency offices instead of property listings. Start URLs are ignored in this mode; narrow the list with the filters below. Each agency is one result, and an agency that comes with an email also bills one additional-data event.",
            "default": false
          },
          "agencyName": {
            "title": "Agency name contains",
            "type": "string",
            "description": "Agencies mode only: keep agencies whose name or network contains this text, e.g. 'Century 21' or 'Dewaele'."
          },
          "agencyCity": {
            "title": "City",
            "type": "string",
            "description": "Agencies mode only: keep agencies whose office is in this city or municipality, e.g. 'Gent' or 'Liège'. Accents and case are ignored."
          },
          "agencyPostalCodes": {
            "title": "Postal codes",
            "type": "string",
            "description": "Agencies mode only: comma-separated Belgian postal codes of the office, e.g. '1000, 1050, 1180'."
          },
          "agencyProvince": {
            "title": "Province",
            "enum": [
              "",
              "Antwerp",
              "Brussels",
              "East Flanders",
              "Flemish Brabant",
              "Hainaut",
              "Liège",
              "Limburg",
              "Luxembourg",
              "Namur",
              "Walloon Brabant",
              "West Flanders"
            ],
            "type": "string",
            "description": "Agencies mode only: keep agencies in this province.",
            "default": ""
          },
          "agencyHasEmail": {
            "title": "Only agencies with an email",
            "type": "boolean",
            "description": "Agencies mode only: skip agencies without an email address.",
            "default": false
          },
          "agencyHasPhone": {
            "title": "Only agencies with a phone number",
            "type": "boolean",
            "description": "Agencies mode only: skip agencies without a phone or mobile number.",
            "default": false
          },
          "agencyMinListings": {
            "title": "Minimum properties on Immoweb",
            "minimum": 0,
            "type": "integer",
            "description": "Agencies mode only: keep agencies with at least this many properties for sale or rent on Immoweb. Leave empty for all."
          },
          "maxItems": {
            "title": "Maximum number of results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of properties (or agencies, in agencies mode) to export in the dataset.",
            "default": 1000
          },
          "monitoringMode": {
            "title": "Monitoring mode",
            "type": "boolean",
            "description": "Reserved for compatibility with existing runs. Keep disabled for standard Immoweb scraping.",
            "default": false
          },
          "locale": {
            "title": "URL locale",
            "enum": [
              "en",
              "fr",
              "nl",
              "de"
            ],
            "type": "string",
            "description": "Language for the SEOUrl field in each output record. Input URLs in any locale (en/fr/nl/de) are accepted regardless — they are auto-normalized internally.",
            "default": "en"
          },
          "expandProjectUnits": {
            "title": "Expand project sub-units",
            "type": "boolean",
            "description": "When a project listing (HOUSE_GROUP / APARTMENT_GROUP) is scraped, also export each of its individual sub-units as separate dataset records. Off by default — turn on if you want every house in a new-build development as its own row. Sub-units count toward maxItems.",
            "default": false
          },
          "enrichEmails": {
            "title": "Enrich with contact emails (experimental, billed per email)",
            "type": "boolean",
            "description": "If enabled, finds a contact email for each result from its own website (or by discovering it from the name). Adds contactEmail + contactWebsite columns plus a detailed emailEnrichment object. Billed per contact email found; only charged when an email is returned, never for misses.",
            "default": false
          },
          "qualifyByPayment": {
            "title": "💳 Qualify by payment (flag businesses that take money online)",
            "type": "boolean",
            "description": "Requires \"Enrich with contact emails\". Scans each business's website — reusing the pages already fetched for email discovery, so no extra cost or time — for payment processors and e-commerce platforms (Stripe, Shopify, PayPal, Paddle, Lemon Squeezy, WooCommerce, Square, Chargebee and more). Adds takesPayments (is this a real paying business?), paymentProcessors (which stack), stripeLiveKey (the public key if exposed) and paymentConfidence. Turn raw contacts into monetization-qualified leads. No extra charge — included with each enriched company.",
            "default": false
          },
          "completionWebhookUrl": {
            "title": "Completion webhook URL",
            "type": "string",
            "description": "Optional URL that receives a POST when the run finishes (success or failure). Payload includes run metadata, item count, property-type breakdown, dataset reference, and a sample record — richer than Apify's built-in webhooks and triggered before the dataset export step. Leave empty to disable."
          },
          "proxyCountry": {
            "title": "Proxy country (Apify proxy only)",
            "enum": [
              "",
              "BE",
              "NL",
              "FR",
              "DE",
              "LU"
            ],
            "type": "string",
            "description": "Optional 2-letter country code to geo-target the Apify residential proxy. Immoweb is a Belgium-only site, so 'BE' is the most legitimate choice and least likely to be rate-limited. Leave empty for no targeting. Ignored when a custom proxy URL is supplied.",
            "default": ""
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "type": "integer",
            "description": "Maximum number of pages processed at the same time.",
            "default": 10
          },
          "minConcurrency": {
            "title": "Min Concurrency",
            "type": "integer",
            "description": "Minimum number of pages processed at the same time.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max Request Retries",
            "type": "integer",
            "description": "Number of times the crawler will retry a failed request before giving up.",
            "default": 100
          },
          "includePosts": {
            "title": "Include posts",
            "type": "boolean",
            "description": "Reserved for compatibility with the current actor runtime. It is not needed for normal Immoweb property scraping.",
            "default": false
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty: the default works out of the box at no extra cost to you. Only set this if you want to use your own proxies."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}