Page cover

BAG API

get

Returns data from the Basic Registration of Addresses and Buildings (BAG) after entering the postal code and house number.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
postalCodestringRequired

Zipcode

Example: 1251NJ
houseNumberintegerRequired

House number

Example: 22
houseLetterstringOptional

House letter

houseNumberExtstringOptional

House number extention

Responses
chevron-right
200

BagDataResponse

application/json
statusCodeintegerRequiredExample: 200
isBase64EncodedbooleanRequiredExample: false
get
/bag-data

Last updated