Custom BAG API integration development
Appfront builds custom integrations with the Kadaster's BAG API, so your application always works with up-to-date, authoritative address and building data. Using the BAG API Individual Queries and the PDOK Locatieserver, we validate addresses, retrieve accommodation units, buildings and address designations, and keep your own records in sync with the source. Fewer typing errors, less manual work and a process that demonstrably relies on the right data.
What is a BAG API integration?
The Basisregistratie Adressen en Gebouwen (BAG, the Dutch Register of Addresses and Buildings) is one of the Dutch base registers and is managed by the Kadaster. The BAG contains all official addresses and buildings in the Netherlands: accommodation units, buildings, address designations, public spaces and towns, each with a unique identifier and geometry. It is the authoritative source that government and business use to work with reliable address data.
In practice, a custom BAG integration means: validating addresses by postcode and house number in forms and portals, retrieving residential units and buildings with their intended use, floor area and year of construction, looking up public spaces and towns, and keeping your own data in sync with the current BAG. Alongside the Kadaster's BAG API Individuele Bevragingen, we use the PDOK Locatieserver where appropriate for fast geocoding and address autocomplete.
Appfront builds in line with the official BAG API documentation and the OWASP ASVS security standard. We tailor queries, caching and error handling to your actual processes, so the integration grows with your application and address lookups stay reliable and fast, even at peak volume. For related government integrations, we also deliver Haal Centraal, BRP and ZGW API integrations.
Authoritative address data
Residential units, buildings, address designations, public spaces and towns straight from the Kadaster's source, with no outdated address lists. Always up to date, with unique identifiers and geometry for each object.
Address validation in forms
Visitors enter a postcode and house number and see the street and town filled in automatically. This prevents typos, speeds up form completion and ensures only existing addresses enter your system.
Kadaster and PDOK combined
The full BAG objects via the Kadaster's API, complemented by the open PDOK Locatieserver for fast geocoding and map layers. For each use case, we choose the source that fits best, whether that means completeness or speed.
Our development process for BAG API integrations
We follow a proven methodology that removes uncertainty early and delivers a stable integration. From an initial analysis of your processes and the BAG objects you need through to go-live and ongoing maintenance, every step is aimed at an integration your team can understand and trust.
We map out which BAG objects you need (address validation, residential units, buildings, geometry), whether the source is the Kadaster or PDOK, and how the data lands in your application.
We design the integration architecture, arrange the Kadaster API key and caching, and draw up an error-handling and refresh strategy for BAG mutations.
We implement the queries with automated tests, structured logging and monitoring. You see working builds along the way.
A controlled go-live with data validation and a safety net, followed by ongoing maintenance, monitoring and further development.
What a BAG API integration delivers in practice
Every BAG integration is set up specifically for your type of process, data needs and adjacent systems. Below are the features we deliver most often for organisations that work with address and building data.
Address validation and autocomplete
Enter a postcode and house number, and the street and town are filled in automatically via the PDOK Locatieserver or the BAG API. Only existing addresses enter your system, with fewer typos and faster input for your visitors.
Residential unit and building data
Retrieve full object data: residential units with intended use and floor area, buildings with year of construction and status, linked to the address designation. Ideal for real estate, valuation and permit processes that need more than just an address.
Geometry and geocoding
Retrieve coordinates and outlines of buildings and residential units for display on a map, spatial analysis or identifying objects within an area. Via PDOK WFS/WMS, we combine the BAG with other geo layers.
Mutations and updates
The BAG changes constantly due to new construction, demolition and amendments. We set up how your application stays current, either by querying in real time or by refreshing periodically, so you never rely on outdated address or building data.
Integration with your line-of-business application
BAG data lands directly in your case management system, CRM, real estate or permit application. Address and object data are carried over consistently, so staff no longer retype anything by hand and your records match the source.
Caching and performance
Smart caching of frequently requested addresses and objects keeps your application fast and spares the source API. With monitoring and alerting on response times and error rates, address functionality stays reliable even at peak volumes.
Typical use cases in practice
A BAG integration works out very differently for each organisation. We see a number of contexts come up again and again, and for each of them we have a proven set-up that takes care over the right BAG objects, the choice of source (Kadaster or PDOK) and the connection to your line-of-business application.
Municipalities & permitting, supervision and enforcement (VTH)
Municipalities and regional environmental agencies use BAG data in permitting, supervision and enforcement (VTH). Address and object are recorded unambiguously and linked to the case and location. Also read about software for municipalities and the ZGW API integration.
Housing associations & real estate
Housing associations and property managers link their holdings to residential units and buildings from the BAG, including intended use, floor area and year of construction. This keeps the property register up to date and demonstrably based on the source. Take a look at our housing association software.
Estate agency & valuation
Estate agents and valuers automatically enrich objects with BAG data: year of construction, floor area, intended use and building status. Address validation and object linking prevent errors in files and reports, and speed up building a complete picture of an object.
Energy label & WOZ processes
For energy label, WOZ (property valuation) and sustainability processes, the residential unit is the unambiguous key. By linking BAG objects and geometry, data from different sources fits together and assessments remain traceable to the correct object.
Technology we use
We build BAG integrations with the official BAG API Individuele Bevragingen v2 from the Kadaster and, where appropriate, the open PDOK services, combined with the backend stack that suits you. The exact choice depends on your use case and preferred source, so that your own team can manage or further develop the integration.
If you want to offer your own objects with their geometry according to the Geonovum basic set of geo standards, read more about our geo standards integration.
For the base map with roads, water and land parcels in your own systems, see our page on a BGT integration.
For registers whose information model has been drawn up according to MIM, see our page on a MIM integration.
For municipalities that, as source holders, want to follow mutations from signal to delivery, see our BAG mutation management software.
Why Appfront for your BAG API integration?
Appfront has extensive experience building integrations with base registries and government APIs for a wide range of organisations in the Netherlands. We always start with a thorough analysis of the existing systems and processes, because an integration must not only be technically correct, but also add practical value to the way you work.
For every integration we write clear documentation and make sure your own team, or a future supplier, can understand and manage the integration. No black box, but transparent code and clear agreements on monitoring, alerting and maintenance.
You work with a dedicated point of contact who understands both the technical and the functional side. That keeps communication lines short, prevents miscommunication and speeds up decisions when choices have to be made during the build.
Also take a look at our services around municipal websites, custom software and middleware.
- Experience with the BAG API Individuele Bevragingen and PDOK services
- Familiar with base registries and government integrations (BAG, BRP, Haal Centraal, ZGW)
- Well versed in address validation, geometry, geocoding and BAG mutations
- Secure by default: API key in a secure vault, TLS, scoped and least-privilege permissions
- Structured error handling and retry mechanisms
- Extensive logging and monitoring from day one
- Clear documentation that your team can read and maintain
- A single point of contact, no passing you between account managers
- Ongoing maintenance and proactive further development
- An approach tailored to your existing IT landscape
Security and privacy in BAG API integrations
The BAG contains no special-category personal data, but address data and the way you process it in your workflows call for care. Appfront builds to the OWASP ASVS security standard. Among other things, that means: the Kadaster API key in a secure vault, encrypted traffic over TLS, least-privilege access, and regular audits of queries and data flows.
We only process the address and building data your process needs, apply data minimisation, and document the data flows so your record of processing activities is complete and you demonstrably comply with the GDPR. Structured logging makes every query traceable, so you keep control over what happens to the data.More about our approach to security: information security policy and CVD policy.
- GDPR-compliant data processing and minimisation
- Encryption in transit (TLS 1.2+) and at rest
- Role-based access and least-privilege principles
- Audit logs with traceable data flows
- Automatic retry and robust error handling
- Monitoring and alerting for anomalies
- Kadaster API key in secrets management
- Documentation for your record of processing activities
Frequently asked questions about BAG API integrations
Answers to the questions we get asked most often about integrations with the Basic Registration of Addresses and Buildings.
A BAG API integration is a technical link between your application and the Basic Registration of Addresses and Buildings (BAG) of the Kadaster. Via the BAG API Individual Queries, you retrieve real-time address and building data (residential units, buildings, address designations, public spaces and towns) in JSON. An integration can be simple (address validation in a form based on postcode and house number) or extensive (full property data, geometry and history in a specialist application or dashboard).
The Kadaster's BAG API Individuele Bevragingen provides the complete, authoritative BAG objects (accommodation object, building, address designation, public space, place of residence) including geometry and history, and requires a free API key. PDOK makes the same source data available as open data via, among others, the Locatieserver (geocoding, suggest, lookup, reverse) and WFS/WMS services, which is ideal for fast address autocomplete and map layers without authentication. Which source suits you best depends on your use case, and we will advise you on this.
The BAG contains all addresses and buildings in the Netherlands: accommodation objects with their intended use and floor area, buildings with year of construction and status, address designations (house number, addition, postcode), public spaces (street names) and places of residence. Every object has a unique identifier and geometry. Via the API you link this data together, validate entered addresses and keep your own records in sync with the authoritative source.
We work with the official BAG API Individuele Bevragingen v2 (RESTful JSON, HAL links) from the Kadaster and, where appropriate, the PDOK Locatieserver and OGC services (WFS/WMS). Authentication runs via the Kadaster API key. We build the integration in the backend stack that suits you, whether Node.js, Python, PHP, .NET, Java or Go, with caching, error handling and monitoring so that address queries stay reliable even at peak volume.
The costs depend on the complexity of the integration: address validation on postcode and house number alone is lighter than fully exposing property data, geometry and history in a specialist application. The number of systems to integrate, caching strategy, and ongoing management and monitoring also play a part. The BAG data itself is open and free to query. We always provide a clear quote after a no-obligation analysis of your situation.
Yes. The BAG contains no special-category personal data, but address data requires careful handling. Appfront builds to OWASP ASVS: the Kadaster API key in a secure vault, encrypted traffic (TLS), least-privilege access and structured logging. We only process the data your process needs, document the data flows for your record of processing activities, and make sure your application demonstrably complies with the GDPR.
Yes. Appfront regularly takes over the management of existing integrations, including those set up by another party. We review the API integration, caching, error handling and the way address and object data is kept up to date, document the current set-up and draw up improvement proposals. From then on we handle changes, extensions and monitoring, including the timely refresh of BAG mutations.
A BAG integration is valuable for any organisation that works with addresses and buildings: municipalities and environmental agencies (permitting, supervision and enforcement), housing associations and property managers, estate agents and valuers, energy label and WOZ (property valuation) processes, and companies that need address validation in forms and portals. Wherever reliable, up-to-date address data makes the difference, the BAG provides an authoritative source.
Ready to build your BAG API integration?
Tell us which address or building data you need and which application the BAG data should end up in — we're happy to advise on address validation, property data, geometry and the choice between the Kadaster API and PDOK. Feel free to get in touch; a no-obligation initial conversation will quickly give you a clear picture of the possibilities.