Bedrijfsdata icon

Bedrijfsdata

Get data from the Bedrijfsdata API.

Overview

This node interacts with the Bedrijfsdata API to retrieve Dutch BAG (Basisregistratie Adressen en Gebouwen) data based on a given address. It is useful for workflows that require detailed and authoritative address information in the Netherlands, such as verifying addresses, enriching customer data, or integrating location-based services.

A practical example would be validating and enriching user-submitted addresses in an e-commerce checkout process to ensure accurate delivery information.

Properties

Name Meaning
Postcode (Required) The postal code of the address to query.
House Number (Required) The house number associated with the postcode.
Suffix (Optional) A suffix to the house number, such as "2" or "A", to specify sub-addresses.

Output

The node outputs JSON data containing detailed BAG information corresponding to the provided address parameters. This typically includes structured address components, building details, and related metadata from the official Dutch BAG registry.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating requests to the Bedrijfsdata API.
  • The node makes HTTP GET requests to the endpoint /bag on the base URL https://api.bedrijfsdata.nl/v1.2.
  • Proper configuration of the API key credential within n8n is necessary.

Troubleshooting

  • Missing Required Fields: Ensure that both "Postcode" and "House Number" are provided; otherwise, the API request will fail.
  • Invalid Address Data: If the address does not exist or is incorrectly formatted, the API may return errors or empty results.
  • API Authentication Errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Network Issues: Check connectivity to https://api.bedrijfsdata.nl if requests time out or fail.

Common error messages might include:

  • "Failed to fetch cities" or similar, indicating issues with API response or network.
  • Validation errors if required parameters are missing or malformed.

Resolving these usually involves correcting input parameters, ensuring valid credentials, and confirming network access.

Links and References

Discussion