# Flanders Property Due Diligence (Parcel, Building, Zoning) (`goobertje/flanders-property-due-diligence`) Actor

Turn Flemish addresses, parcel IDs or coordinates into official open-data due diligence: geocoding, parcel and building areas, building register data, heritage protection and zoning. Flood scores, Mobiscore and solar potential are not included.

- **URL**: https://apify.com/goobertje/flanders-property-due-diligence.md
- **Developed by:** [goober](https://apify.com/goobertje) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 address enricheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Flanders property data API: parcel area, building footprint, heritage and zoning from an address

Turn Flemish street addresses, cadastral parcel keys or GPS points into one flat row of official property facts. Made for real-estate investors, agents, lenders, insurers and developers who need to pre-screen many properties in Flanders without opening five government map viewers.

Each row combines the geocoded address, the cadastral parcel and its area, the building register footprint, heritage protection and the gewestplan zoning. All data comes from open services of the Flemish government. No API keys, no browser, no proxies.

### Why use this Actor

- **Official sources only**: Digitaal Vlaanderen (geolocation, GRB, Basisregisters), Departement Omgeving and Onroerend Erfgoed.
- **One row per query** with parcel m2, building footprint m2, built-up ratio, heritage flags and zoning zone.
- **Auditable**: every row lists the raw layer names that answered (`layersChecked`) and any that failed (`layerErrors`). Unknown stays `null`, nothing is guessed.
- **Only good rows are billed**: unresolved, approximate or partial rows cost nothing.
- **Restart-safe and polite**: finished queries are never charged twice, and each host gets at most one request start per second.

### Quick start

Click **Start** with the prefilled input (three addresses, a few minutes at most):

```json
{
  "addresses": ["Markt 1, 8000 Brugge", "Veldstraat 1, 9000 Gent", "Meir 50, 2000 Antwerpen"],
  "maxItems": 3
}
```

You get three dataset rows with status `ok`. Open the *Overview* table view for parcel, footprint, heritage and zoning at a glance, or download JSON/CSV/Excel.

### Input

| Field | Meaning |
|---|---|
| `addresses` | Street addresses, ideally `street number, postcode municipality`. |
| `parcels` | Cadastral parcel keys (capakey) such as `31802B1142/00E002`. |
| `coordinates` | `latitude,longitude` in WGS84 inside Flanders, e.g. `51.2092,3.2250`. |
| `includeBuildings`, `includeHeritage`, `includeZoning` | Switch layer groups off to run faster. |
| `maxItems` | Maximum queries per run (also your cost cap). Default 100, maximum 500, prefill 3. |
| `requestDelaySecs` | Minimum delay between two requests to the same host. Minimum 1. |

Provide at least one of `addresses`, `parcels` or `coordinates`. Flemish Region only (Brussels and Wallonia are not covered by these registers).

### What you get

Output sample from a real run (`Veldstraat 1, 9000 Gent`):

```json
{
  "query": "Veldstraat 1, 9000 Gent",
  "queryType": "address",
  "status": "ok",
  "scrapedAt": "2026-10-18T22:28:24.782999Z",
  "matchedAddress": "Veldstraat 1, 9000 Gent",
  "addressId": "2327665",
  "addressMatch": "exact",
  "municipality": "Gent",
  "postcode": "9000",
  "latitude": 51.053595657256444,
  "longitude": 3.722410197701853,
  "lambert72X": 104681.53,
  "lambert72Y": 193912.32,
  "parcelCapakey": "44803C0171/00H000",
  "parcelNisCode": "44021",
  "parcelAreaM2": 134.55,
  "buildingCount": 1,
  "buildingUnitCount": 1,
  "buildingFootprintAreaM2": 134.55,
  "buildings": [
    { "buildingId": "8199117", "status": "gerealiseerd", "geometryMethod": "ingemetenGRB", "footprintAreaM2": 134.55, "unitCount": 11 }
  ],
  "grbBuildingAtPointAreaM2": 134.55,
  "grbBuildingAtPointType": "hoofdgebouw",
  "grbBuildingsOnParcelCount": 1,
  "grbBuildingsOnParcelAreaM2": 134.55,
  "builtUpRatioPct": 100.0,
  "isProtectedHeritage": false,
  "isInventoriedHeritage": false,
  "heritage": [],
  "gewestplanZone": "woongebieden met cultureel, historische en/of esthetische waarde",
  "gewestplanCategory": "WON",
  "gewestplanName": "origineel gewestplan Gentse en Kanaalzone",
  "gewestplanDate": "1977-09-14",
  "gewestplanFicheUrl": "https://dsi.omgeving.vlaanderen.be/fiche-detail/1a7668d9-9959-4a9c-ad94-39946e4fb0c5",
  "layersChecked": ["geolocation/v4/Location", "Basisregisters:percelen", "Basisregisters:gebouweenheden", "Gebouwenregister:gebouwen", "GRB:ADP", "GRB:GBG", "GRB:GBG(parcel)", "ps:ps_bes_monument", "ps:ps_bes_sd_gezicht", "ps:ps_bes_land", "ps:ps_bes_arch_site", "ps:ps_vast_be", "lu:lu_gwp_gv"],
  "layerErrors": {}
}
```

Some empty fields are omitted here for length. Real rows also carry `dataNotes` and an `attribution` string. `Markt 1, 8000 Brugge` returns a protected monument and townscape in the `heritage` array.

| Field group | Source and meaning |
|---|---|
| Address, coordinates | Flemish geolocation service (Basisregisters address id, WGS84 and Lambert 72). |
| `parcel*` | GRB layer `ADP`: capakey, NIS code, area in m2. |
| `building*`, `buildings[]` | Gebouwenregister: status, footprint m2, units. |
| `grbBuilding*`, `builtUpRatioPct` | GRB layer `GBG`: building at the point and on the parcel. |
| `isProtectedHeritage`, `heritage[]` | Onroerend Erfgoed: monument, townscape, landscape, archaeological site. |
| `isInventoriedHeritage` | Inventory of built heritage (not a legal protection). |
| `gewestplan*` | Gewestplan land-use zone (layer `lu:lu_gwp_gv`). |
| `layersChecked`, `layerErrors`, `dataNotes` | Audit trail: what answered, what failed, what was truncated. |

#### Status values

| `status` | Meaning | Billed |
|---|---|---|
| `ok` | Parcel found and every requested layer answered without error. | yes |
| `partial` | Some data found, but a layer failed (see `layerErrors`) or no parcel was found. | no |
| `approximate` | The house number does not exist; data is for the nearest match (see `matchedAddress`). | no |
| `not_found` | Address, parcel key or coordinates could not be resolved or are malformed. | no |
| `no_data` | The point resolved but no Flemish parcel, building or zoning exists there (for example Brussels). | no |
| `error` | Every layer failed or an unexpected error occurred for this record (see `statusDetail`). | no |

Non-billed rows are still written to the dataset so you can see why they failed.

### Pricing (pay per event)

You pay per **enriched row**: event `address-enriched`, **$2.50 per 1,000 rows** (the price shown on the Actor page is what counts), plus Apify platform usage. Rows with status `partial`, `approximate`, `not_found`, `no_data` or `error` are free.

`maxItems` caps the queries of a run, so it caps your cost. Set a maximum cost per run in Apify and the Actor stops cleanly when it is reached.

Example: 200 addresses with 190 `ok` rows cost 190 x $0.0025 = $0.475.

### Use with AI agents (MCP, Claude, Cursor, n8n, Make)

This Actor can be called by AI agents through the Apify MCP server. Add it to your MCP client (Claude Desktop, Cursor, VS Code):

```json
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=goobertje/flanders-property-due-diligence" } } }
```

You sign in with OAuth in the browser on first use. Example prompts and the input each one maps to:

1. "How big is the plot and the building at Markt 1, 8000 Brugge, and is it protected?"
   `{ "addresses": ["Markt 1, 8000 Brugge"], "maxItems": 1 }`
2. "Which zoning zone and parcel is at 51.0536, 3.7224?"
   `{ "coordinates": ["51.0536,3.7224"], "includeHeritage": false, "maxItems": 1 }`
3. "Compare plot coverage for parcel 31802B1142/00E002 without heritage checks."
   `{ "parcels": ["31802B1142/00E002"], "includeHeritage": false, "maxItems": 1 }`

In n8n, Make or Zapier, use the Apify node or module, pick this Actor and paste the same JSON.

### Use cases

- Pre-screen a list of addresses for plot size, building size and plot coverage before bidding.
- Flag heritage protection and gewestplan zone before buying, renovating or insuring.
- Enrich a CRM or listing feed with official parcel and building identifiers.
- Give an AI agent a structured answer to "what is at this address in Flanders?".

### FAQ

**Where does the data come from, and is it allowed?**
From public, keyless services of the Flemish government (table below). The datasets are published under the Flemish *Modellicentie gratis hergebruik* (free commercial and non-commercial reuse, attribution required). The web services fall under the Digitaal Vlaanderen *Gebruiksrecht geografische webdiensten*. Each row has an `attribution` string.

**How fresh is it?**
It follows the source registers. GRB and Basisregisters update continuously. The gewestplan is a 1970s plan with later amendments.

**How much does a typical run cost?**
About $0.0025 per enriched row. 100 addresses cost about $0.25.

**What happens when a source blocks or changes?**
If a host answers 403 or 429 three times in a row, the run stops with a clear error and keeps the rows already written. A failing layer is listed in `layerErrors` and the row is not billed. The Actor never tries to evade blocking.

**Can I schedule it or avoid paying twice?**
Yes, use Apify schedules. Inside one run, finished queries are saved in the Actor state, so a migration or restart never pushes or charges a query twice. Separate runs are independent.

**What is not included?**
Flood scores, Mobiscore and Zonnekaart (see below).

### Data sources (all keyless, all verified live)

| Data | Service | Raw layer |
|---|---|---|
| Address geocoding | `geo.api.vlaanderen.be/geolocation/v4/Location` | `LocationResult` |
| Parcel and building geometry | GRB OGC API Features, `geo.api.vlaanderen.be/GRB/ogc/features/v1` | `ADP`, `GBG` |
| Building register | Basisregisters Vlaanderen API `api.basisregisters.vlaanderen.be/v2` | `percelen`, `gebouweenheden`, `gebouwen` |
| Heritage | Mercator OGC API Features, `www.mercator.vlaanderen.be/raadpleegdienstenmercatorpubliek/ogc/features/v1` | `ps:ps_bes_monument`, `ps:ps_bes_sd_gezicht`, `ps:ps_bes_land`, `ps:ps_bes_arch_site`, `ps:ps_vast_be` |
| Zoning | same Mercator endpoint | `lu:lu_gwp_gv` (gewestplan grondvlakken) |

Please credit "Digitaal Vlaanderen, Departement Omgeving, Agentschap Onroerend Erfgoed (Vlaamse overheid)" when you publish results. The services come without warranty.

#### What is not included, and why

- **Flood risk (Watertoets P-score and G-score)**: not included. The flood layers of the Flemish Environment Agency (VMM) are only offered through `vha.waterinfo.be` and `inspirepub.waterinfo.be`, and both published a `robots.txt` with `Disallow: /` when checked on 2026-10-19. The P and G scores themselves are produced by a web tool, not by an open feature service. This Actor respects `robots.txt`, so it does not use them. Check floods via the official Watertoets viewer at waterinfo.be.
- **Mobiscore**: not included. `mobiscore.omgeving.vlaanderen.be` had `Disallow: /` in `robots.txt` and an anti-bot challenge when checked on 2026-10-19. No open service was found.
- **Zonnekaart (solar potential)**: not included. No documented open API or web feature service was found; the map application is the only access.

### Limits and honest caveats

- Flemish Region only. Address matching is fuzzy at the source; check `addressMatch` and `matchedAddress`. An address is `exact` only if house number (`50 A` equals `50A`), postcode (when given) and a street-name word all match.
- Areas are computed from official polygons in Belgian Lambert 72 (EPSG:31370, metres). Gebouwenregister and GRB footprints can differ slightly.
- `buildingFootprintAreaM2` is the sum of the Gebouwenregister buildings behind the address (address queries) or the realised buildings registered on the parcel (parcel and coordinate queries). `buildings[].unitCount` counts units in the whole building, `buildingUnitCount` the units at the address.
- For parcel and coordinate queries the address is the **nearest** registered address (`addressMatch: "nearest"`, distance in `nearestAddressDistanceM`). A parcel query uses a point inside the parcel, not its centroid.
- `isProtectedHeritage` is `true` on a hit, `false` if all four protection layers answered with no hit, and `null` if a layer failed.
- `gewestplanZone` is the land-use zone name. The gewestplan is scale 1:10,000 and has **no legal value** at parcel level; ask the municipality for an official planning certificate.
- Coordinate inputs are converted to Lambert 72 with PROJ (no grid shift), accurate to a few metres. Prefer addresses or capakeys when the exact parcel matters.
- `builtUpRatioPct` is an approximation: GRB buildings whose representative point lies on the parcel, divided by the parcel area, capped at 100. If the GRB page limit (50 features) is reached, the `grbBuildingsOnParcel*` and ratio fields are `null` and `dataNotes` says so. If an address has more than 10 building units or buildings, `buildingCount` and `buildingFootprintAreaM2` are `null` (the partial `buildings` list is kept) and `dataNotes` explains it.
- **Speed**: a fully enriched address needs about 13 requests. Request starts to the same host are at least 1 second apart and at most 2 requests per host are in flight, while 3 queries run in parallel. Expect roughly 5 to 25 seconds per address, about 150 to 700 addresses per hour. The GRB service was sometimes slow during testing (about 20 seconds per spatial query). The default run timeout is 1 hour and `maxItems` is capped at 500; for large batches raise the run timeout. The Actor stops dequeuing about 60 seconds before the timeout and reports how many queries were left.
- Not legal, planning or insurance advice. This is an information aid, not an official certificate.

### Legal

This Actor only calls public, keyless open-data services of the Flemish government, respects their `robots.txt` (checked on 2026-10-19; or the absence of one), uses an honest user agent, collects no personal data and is **not affiliated with or endorsed by the Vlaamse overheid, Digitaal Vlaanderen, Departement Omgeving, VMM or Agentschap Onroerend Erfgoed**. You are responsible for using the data in line with the licences above and applicable law.

### Support

Found a problem or want a field added? Open an issue on the Actor page.

# Actor input Schema

## `addresses` (type: `array`):

Street addresses in Flanders, one per line, ideally 'street number, postcode municipality'. Geocoded with the Flemish geolocation service. If the house number does not exist, the nearest match is returned but marked status 'approximate' and not billed. Example: \["Markt 1, 8000 Brugge"].

## `parcels` (type: `array`):

Cadastral parcel keys in the form 'AAAAAXNNNN/SSSSSS' (the slash or a dash both work). The parcel is looked up in the GRB (large-scale reference map) and the buildings on it are returned. Example: \["31802B1142/00E002"].

## `coordinates` (type: `array`):

Points as 'latitude,longitude' in WGS84 (decimal degrees), one per line. Must lie inside Flanders. The parcel and buildings at that exact point are returned, plus the nearest registered address. Example: \["51.2092,3.2250"].

## `includeBuildings` (type: `boolean`):

Look up the buildings in the official Building Register (footprint area, status, unit count). Adds 3 to 5 requests per query. Example: true.

## `includeHeritage` (type: `boolean`):

Check five Onroerend Erfgoed layers (protected monument, townscape, landscape, archaeological site, inventory of built heritage). Adds 5 requests per query. Example: true.

## `includeZoning` (type: `boolean`):

Look up the land-use zone of the gewestplan (regional zoning plan) at the point. Informative only, no legal value. Adds 1 request per query. Example: true.

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

Maximum number of queries processed in one run (addresses, parcels and coordinates together). Only rows with status 'ok' are billed, so this also caps your cost. A fully enriched address takes roughly 5 to 25 s, so 500 queries may need a run timeout above the 1 hour default; the Actor stops cleanly about 60 s before its timeout. Example: 100.

## `requestDelaySecs` (type: `number`):

Minimum pause between two requests to the same server, to stay polite. Minimum 1. Several queries run in parallel but each host is still limited to this rate. Example: 1.0.

## Actor input object example

```json
{
  "addresses": [
    "Markt 1, 8000 Brugge",
    "Veldstraat 1, 9000 Gent",
    "Meir 50, 2000 Antwerpen"
  ],
  "parcels": [],
  "coordinates": [],
  "includeBuildings": true,
  "includeHeritage": true,
  "includeZoning": true,
  "maxItems": 3,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `properties` (type: `string`):

Enriched properties with parcel area, building footprint, heritage protection and gewestplan zoning.

# 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 = {
    "addresses": [
        "Markt 1, 8000 Brugge",
        "Veldstraat 1, 9000 Gent",
        "Meir 50, 2000 Antwerpen"
    ],
    "maxItems": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("goobertje/flanders-property-due-diligence").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 = {
    "addresses": [
        "Markt 1, 8000 Brugge",
        "Veldstraat 1, 9000 Gent",
        "Meir 50, 2000 Antwerpen",
    ],
    "maxItems": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("goobertje/flanders-property-due-diligence").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 '{
  "addresses": [
    "Markt 1, 8000 Brugge",
    "Veldstraat 1, 9000 Gent",
    "Meir 50, 2000 Antwerpen"
  ],
  "maxItems": 3
}' |
apify call goobertje/flanders-property-due-diligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,goobertje/flanders-property-due-diligence"
        }
    }
}
```

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/iLUMCxuc7O1fAbOto/builds/qQIpBQN0gMxvQepgh/openapi.json
