BAG¶
The BAG (Basisregistratie Adressen en Gebouwen) is a database from the Kadaster containing address information, that can be accessed via the semi-public BAG API. Open Forms can be configured to access this API to autocomplete addresses.
Configuration¶
Obtain a BAG API key from Kadaster.
In Open Forms, navigate to: Configuration > Services
Click Add service and fill in the following details:
Label: BAG (Kadaster)
Type: ORC (Overige)
API root URL:
https://api.bag.kadaster.nl/lvbag/individuelebevragingen/v2/
Authorization type: API key
Header key: X-Api-Key
Header value: The BAG API key obtained in step 1
Click Save
Navigate to Configuration > Overview. In the Address lookup plugins group, click on Configuration for the Kadaster API: BAG line.
Select for the BAG service, the [ORC (Overige)] BAG (Kadaster) option, that we just created in step 3.
Click Save
The BAG configuration is now complete. You can refresh the configuration overview page to do a connection check.
Technical¶
API |
Supported versions |
---|---|
BAG API |
2.0 |