1. Home
  2. Developer API information
  3. Autocomplete Denmark Responses

Autocomplete Denmark Responses

Autocomplete a Danish address.

Note: This is the documentation for the v2 API which is still in beta.

GET Example request:

https://api.pro6pp.nl/v2/autocomplete/dk/?authKey=YOUR_AUTH_KEY&postalCode=3720&street=Bodelynghusevejen&streetNumberAndPremise=1&settlement=Aaker

This application gives the following result:

200: Location found
{
  "country": "Denmark",
  "countryCode": "DK",
  "lat": 55.68003315638622,
  "lng": 12.59061361829996,
  "settlement": "København K",
  "region": "Capital Region Denmark",
  "province": "Copenhagen",
  "municipality": "København",
  "postalCode": "1051",
  "street": "Nyhavn",
  "streetNumber": 6
}

Error responses

401: Not authenticated
404: No results found