Netherlands Buildings & Addresses (BAG) API
Dutch buildings and dwelling units from the national BAG register for any map area: build year, use, status, unit count, floor area, street address, postcode, town, province and location.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from api.pdok.nl/kadaster/bag/ogc/v2/collections/pand/items
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/netherlands-buildings-bag/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"bbox":"4.89,52.37,4.90,52.38"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
20 fields: 18 here, 2 technical ones under Technical details.
Basics
- Kind
pand for a building, verblijfsobject for a unit.
Example pand
- Status
Registered status, such as Pand in gebruik or Verblijfsobject in gebruik.
Example Pand in gebruik
- Use
Registered use, such as woonfunctie (housing) or kantoorfunctie (office).
Example woonfunctie
- Units count
Number of units in the building (buildings only).
Example 2
- Floor area m 2
Floor area of the unit in square metres (units only).
Example 1
- House number
Example 256
- House addition
House number addition, when there is one (units only).
Example H
- Municipality
Municipality that keeps the record (units only).
Example Amsterdam
- Document number
Number of the registering document.
Example GV00007182_AC00AC
Location
- Street name
Example Oudezijds Voorburgwal
- Postal code
Postcode (units only).
Example 1012GK
- City
Town or locality name (units only).
Example Amsterdam
- Province name
Example Noord-Holland
- Latitude
Latitude of the unit point or building centre.
Example 52.370284
- Longitude
Longitude of the unit point or building centre.
Example 4.895417
Dates
- Build year
Year the building was built (buildings only).
Example 1663
- Document date
Date of the registering document.
Example Sep 28, 2023
Links
- Link
The record's page in the BAG linked-data register.
Example bag.basisregistraties.overheid.nl/bag/id/pand/0363100012165291
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idBAG identification number of the building or unit. - Linked unit IDs
linked_unit_idsBAG ids of the units in the building, or of the buildings a unit sits in.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
kind | text | Kind | 3 of 3 |
url | link | Link | 3 of 3 |
status | text | Status | 3 of 3 |
build_year | number | Build year | 3 of 3 |
use | text | Use | 3 of 3 |
units_count | number | Units count | 3 of 3 |
floor_area_m2 | number | Floor area m 2 | 0 of 3 |
street | text | Street name | 0 of 3 |
house_number | number | House number | 0 of 3 |
house_addition | text | House addition | 0 of 3 |
postal_code | text | Postal code | 0 of 3 |
city | text | City | 0 of 3 |
province | text | Province name | 0 of 3 |
municipality | text | Municipality | 0 of 3 |
document_date | date | Document date | 3 of 3 |
document_number | text | Document number | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
linked_unit_ids | list | Linked unit IDs (hidden) | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Kind | Status | Use | Units count | Floor area m 2 | House number | House addition | Municipality | Document number | Street name | Postal code | City | Province name | Latitude | Longitude | Build year | Document date | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | pand | Pand in gebruik | woonfunctie | 2 | — | — | — | — | GV00007182_AC00AC | — | — | — | — | 52.370284 | 4.895417 | 1663 | Sep 28, 2023 | bag.basisregistraties.overheid.nl/bag/id/pand/0363100012165291 |
| 2 | pand | Pand in gebruik | woonfunctie | 4 | — | — | — | — | GV00007182_AC00AC | — | — | — | — | 52.370341 | 4.895455 | 1742 | Sep 28, 2023 | bag.basisregistraties.overheid.nl/bag/id/pand/0363100012165292 |
| 3 | pand | Pand in gebruik | bijeenkomstfunctie,logiesfunctie,overige gebruiksfunctie,winkelfunctie | 15 | — | — | — | — | GV00007182_AC00AC | — | — | — | — | 52.372709 | 4.895023 | 1994 | Sep 28, 2023 | bag.basisregistraties.overheid.nl/bag/id/pand/0363100012165293 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- An area is required: give a bounding box in longitude/latitude (west,south,east,north). Large boxes hold hundreds of thousands of buildings, so the number of records you ask for is the cap.
- Two kinds of records: buildings (pand) carry build year, use, status and unit count but no address or floor area; units (verblijfsobject) carry address, postcode, town, province and floor area but no build year.
- Floor area is in square metres as registered; some units show very small placeholder values. Use is the registered main purpose and can be a list of purposes for one building.
- The location is a single point: the unit's own point, or the middle of the building outline.
- Data is the Dutch Kadaster BAG register published as open data by PDOK (CC0); it is updated daily by the source. No request limit is published, so runs read one page at a time at a modest pace.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.