Documentation Index

Fetch the complete documentation index at: https://www.bloxs.io/llms.txt

Use this file to discover all available pages before exploring further.

Get BAG information

Prev Next
Get
/api/v1/realestateobjects/complexes/bag

Get BAG information.

Get BAG information

This endpoint retrieves the BAG (Basisregistratie Adressen en Gebouwen) information registered for a complex. BAG data originates from the Dutch land registry (Kadaster) and is only available through this endpoint once it has already been retrieved into Bloxs via the Bloxs application.

The complex can be identified by its internal reference, its external identifier, or both.

If BAG data has not yet been retrieved into Bloxs for the given complex, this endpoint returns a 200 response with an empty array, rather than an error.


Request Fields

Field

Type

Required

Description

reference

string

Conditional

Internal identifier of the complex. Either reference or externalIdentifier must be provided. If both are given, the complex must match both values.

externalIdentifier

string

Conditional

External identifier of the complex, as set by the integrating system. Either reference or externalIdentifier must be provided. If both are given, the complex must match both values.


Response Fields

Field

Type

Required

Description

retrievedOn

string (date-time)

Yes

Timestamp indicating when Bloxs last retrieved this record from the BAG. ISO 8601 format, UTC.

address

string

No

Address as registered in the BAG, including street, house number and any addition, postal code, and city. Returned by the BAG as a single formatted string, not as separate sub-fields.

premises

array of object

No

Premises (building) details registered in the BAG for this object. Empty or omitted when no premises data is available.

premises.premisesId

string

No

BAG building identification number (Pand ID).

premises.premises_OriginalBuildYear

string

No

Original construction year of the premises, as registered in the BAG.

premises.premises_Status

string

No

Status of the premises, as registered in the BAG.

residenceId

string

No

Occupancy unit identification number, referred to in the BAG as the VBO ID.

residence_Uses

string

No

Registered use of the residence, for example housing (woonfunctie).

residence_Surface

integer

Yes

Surface area of the residence, in square meters, as registered in the BAG.

residence_Status

string

No

Status of the residence, as registered in the BAG.

numberDesignationId

string

No

Number designation identification number, as registered in the BAG.

numberDesignation_PostalCode

string

No

Postal code linked to the number designation, as registered in the BAG.

numberDesignation_HouseNumber

integer

Yes

House number linked to the number designation, as registered in the BAG.

numberDesignation_HouseNumberCharacter

string

No

House number character linked to the number designation, for example "A", as registered in the BAG.

numberDesignation_HouseNumberAddition

string

No

House number addition linked to the number designation, as registered in the BAG. Can include more than a number, for example "bis" or "264H".

numberDesignation_Status

string

No

Status linked to the number designation, as registered in the BAG.

publicSpaceId

string

No

Identification number of the public space the object is located in, as registered in the BAG.

publicSpace_Name

string

No

Name of the public space the object is located in, as registered in the BAG. Typically the street name.

publicSpace_Status

string

No

Status of the public space the object is located in, as registered in the BAG.

city_Name

string

No

Name of the city the object is located in, as registered in the BAG.

city_Status

string

No

Status of the city the object is located in, as registered in the BAG.

sourceHolders

array of object

No

Municipalities holding source data for this object, as registered in the BAG. Empty or omitted when no source holder data is available.

sourceHolders.sourceHolder_Code

string

No

Identification code of the municipality, as registered in the BAG.

sourceHolders.sourceHolder_Name

string

No

Name of the municipality, as registered in the BAG.

parcels

array of object

No

Cadastral parcels the object is located on, as registered in the BAG. Empty or omitted when no parcel data is available.

parcels.cadastralNumber

string

No

Cadastral number of the parcel.

parcels.parcel_Area

number (double)

Yes

Surface area of the parcel, in square meters.

parcels.municipality_Name

string

No

Cadastral municipality of the parcel. Can differ from the regular municipality, for example after a municipal merger.

parcels.condominiumIds

array of string

No

Condominium identification numbers registered for the parcel. Multiple values can be returned for a single parcel.

Security
Query parameters
reference
string

The internal identifier of the model (i.e. Reference, Code, Name, depends on model).

externalIdentifier
string

The external API identifier of the model.

Responses
200

OK

Array of object
object
retrievedOn
string (date-time)
address
string | null
premises
Array of object (PremisesModel) | null
object
premisesId
string | null
premises_OriginalBuildYear
string | null
premises_Status
string | null
residenceId
string | null
residence_Uses
string | null
residence_Surface
integer (int32)
residence_Status
string | null
numberDesignationId
string | null
numberDesignation_PostalCode
string | null
numberDesignation_HouseNumber
integer (int32)
numberDesignation_HouseNumberCharacter
string | null
numberDesignation_HouseNumberAddition
string | null
numberDesignation_Status
string | null
publicSpaceId
string | null
publicSpace_Name
string | null
publicSpace_Status
string | null
city_Name
string | null
city_Status
string | null
sourceHolders
Array of object (SourceHolderModel) | null
object
sourceHolder_Code
string | null
sourceHolder_Name
string | null
parcels
Array of object (ParcelModel) | null
object
cadastralNumber
string | null
parcel_Area
number (double)
municipality_Name
string | null
condominiumIds
Array of string | null
string