Address

Acquire the address for a combination of `postalCode` and `houseNumber`

Activity name : <a href="https://developer.loket.nl/Activities/GetAddressyByPostalCodeAndHouseNumber" target="_blank">GetAddressyByPostalCodeAndHouseNumber</a> <br/> Acquire the address for a combination of postalCode and houseNumber. Only Dutch addresses are supported. Both the postalCode and houseNumber have to be specified as query parameters to perform a successful call to this endpoint. The city and street name returned by this endpoint are according to the nen standard <br/>

get/locationservices/address

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/locationservices/address
  • Auth
    none required

Query parameters

postalCodestring required

A valid postal code

houseNumberinteger required

A valid house number (without addition)

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Response

OK

Example response

{
  "version": {
    "resourceVersion": "2018-12-31"
  },
  "messages": [
    {
      "type": "Warning",
      "description": "<some warning>",
      "id": "904d6856-6034-4624-bcbc-886188c115c5",
      "code": 12
    }
  ],
  "content": {
    "postalCode": "1234AA",
    "houseNumber": 12,
    "street": "Voordijk",
    "city": "Leiden",
    "province": {
      "key": 1,
      "value": "Noord-Holland"
    },
    "coordinates": {
      "latitude": 51.62132245,
      "longitude": 5.55417593
    }
  }
}

Changes

No recorded changes to this operation across all 6 revisions of this API.