{
  "openapi": "3.0.1",
  "info": {
    "title": "Belgium Property Pige — FSBO Real Estate Leads Across 4 Sources",
    "description": "Find FSBO (private-owner) property leads in Belgium. Runs Immoweb, 2dehands, Immovlan and Zimmo, dedupes each property across portals by a postcode + surface + price fingerprint, and flags every result private-seller or agency-listed. New-listing delta and optional KBO agency enrichment.",
    "version": "0.1",
    "x-build-id": "0QO3Xm6RrtjeOeFIV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/studio-amba~belgium-property-pige/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-studio-amba-belgium-property-pige",
        "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/studio-amba~belgium-property-pige/runs": {
      "post": {
        "operationId": "runs-sync-studio-amba-belgium-property-pige",
        "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/studio-amba~belgium-property-pige/run-sync": {
      "post": {
        "operationId": "run-sync-studio-amba-belgium-property-pige",
        "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": {
          "location": {
            "title": "Location (city)",
            "type": "string",
            "description": "Belgian city or municipality to search, e.g. 'Brussel', 'Gent', 'Antwerpen', 'Luik'. Drives Immoweb, Immovlan and Zimmo.",
            "default": "Brussel"
          },
          "postalCode": {
            "title": "Postal code",
            "type": "string",
            "description": "Belgian 4-digit postal code matching the location, e.g. '1000' for Brussels. Drives 2dehands (postcode-based search) and is used to tag its listings, which don't expose a postcode field of their own.",
            "default": "1000"
          },
          "transactionType": {
            "title": "Transaction",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Sale (te koop) or rent (te huur).",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type (optional)",
            "enum": [
              "",
              "apartment",
              "house",
              "land",
              "parking",
              "commercial",
              "room"
            ],
            "type": "string",
            "description": "Restrict to one property type. Leave empty for all types.",
            "default": ""
          },
          "portals": {
            "title": "Portals",
            "type": "array",
            "description": "Which Belgian sources to run and deduplicate across. 2dehands is the FSBO anchor (a general classifieds marketplace, listings are private-individual by default). Immoweb, Immovlan and Zimmo are agency-dominated portals used for the cross-portal 'absent from every agency portal' signal. Default is all four.",
            "items": {
              "type": "string",
              "enum": [
                "immoweb",
                "2dehands",
                "immovlan",
                "zimmo"
              ],
              "enumTitles": [
                "Immoweb",
                "2dehands",
                "Immovlan",
                "Zimmo"
              ]
            },
            "default": [
              "immoweb",
              "2dehands",
              "immovlan",
              "zimmo"
            ]
          },
          "sellerFilter": {
            "title": "Seller filter",
            "enum": [
              "fsbo_only",
              "all",
              "agency_only"
            ],
            "type": "string",
            "description": "Default 'FSBO leads only' returns just private-seller leads — this matches the per-lead pricing. 'All' or 'Agency-listed only' return other rows too, but are still charged at the same per-row rate (Apify's per-item pricing can't tell them apart).",
            "default": "fsbo_only"
          },
          "onlyNew": {
            "title": "Only new listings since last run",
            "type": "boolean",
            "description": "Return only properties not seen in a previous run. Backed by a per-account key-value store. Leave off for a full snapshot.",
            "default": false
          },
          "enrichAgencies": {
            "title": "Enrich agencies via KBO/BCE",
            "type": "boolean",
            "description": "Cross-reference agency-listed properties against the Belgian company registry (KBO/BCE) to attach agency phone and enterprise number. Adds extra child-actor calls, so runs take longer. Off by default.",
            "default": false
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "type": "integer",
            "description": "Lower price bound, passed to the sources that support it (2dehands, Immovlan). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "type": "integer",
            "description": "Upper price bound, passed to the sources that support it (2dehands, Immovlan). Leave empty for no maximum."
          },
          "maxItemsPerSource": {
            "title": "Max items per source",
            "type": "integer",
            "description": "Cap on listings pulled from each source before dedup. Immoweb and Zimmo fetch detail pages one at a time (Playwright, no concurrency), so large values here need a matching increase to the per-source timeout below.",
            "default": 25
          },
          "timeoutPerSourceSecs": {
            "title": "Per-source timeout (seconds)",
            "type": "integer",
            "description": "How long to wait for each source run before treating it as failed. Immoweb/Zimmo need roughly 10-13s per item (sequential detail-page fetches) — budget accordingly for larger maxItemsPerSource values.",
            "default": 240
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Passed through to the child scrapers. Belgian residential proxy is strongly recommended (Immoweb, Immovlan and Zimmo are anti-bot-protected).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "BE"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}