Autocomplete across addresses, streets and postcodes
Authentication
Your API key as a Bearer token.
Parameters
Return the address or access address with the specified ID. The type parameter determines whether access addresses or addresses are searched. An empty array is returned if the (access) address does not exist.
Limit the search to addresses with the specified adgangsadresseid
Limit the search to addresses within the specified municipality
Limit the search to the specified postcode
Specifies which geometry is used for geometric searches (the polygon or cirkel parameters). Possible values: "adgangspunkt" or "vejpunkt".
Autocomplete within a polygon. Intended for smaller polygons—large polygons will result in poor performance. The polygon is specified as an array of coordinates in the same way that coordinates are specified in GeoJSON's polygon. Note that polygons must be closed, i.e. the first and last coordinates must be identical. The coordinate system can be (ETRS89/UTM32 or) WGS84/geographic. This is specified using the srid parameter; see above. Example: polygon=[[[10.3,55.3],[10.4,55.3],[10.4,55.31],[10.4,55.31],[10.3,55.3]]].
Autocomplete within the circle specified by the coordinate (x,y) and radius r. Intended for smaller circles. Large circles will result in poor performance. The coordinate system can be (ETRS89/UTM32 or) WGS84/geographic. The radius is specified in metres. cirkel={x},{y},{r}.
Specifies the SRID of the coordinate system in which geospatial parameters are specified. The default is 4326 (WGS84 / geographic coordinates). For ETRS89 / UTM zone 32 North, use 25832
Show all 24 parametersShow fewer
Search text—the text entered by the user
Enables fuzzy search
Position of the caret (cursor) in the text entered by the user
Specifies whether the user is entering a street name, an access address or an address. Possible values: "vejnavn", "adgangsadresse" or "adresse". The returned values are not necessarily of this type. For example, if the user is entering an address but has not entered enough for the street name to be uniquely determined, the service will return street names as options for the user
Autocomplete searches through street names, access addresses and addresses. By default, the first type that produces more than one result is returned. The startfra parameter specifies that the search should start later in the sequence. For example, if street names should not be returned, specify startfra=adgangsadresse, and access addresses will be returned even if more than one street name matches the search. The parameter is intended for the situation where the user selects a street name from the options shown by the autocomplete component. In this situation, the user expects the autocomplete component to subsequently show access addresses. Specifying startfra=adgangsadresse ensures this. Possible values for the parameter: "vejnavn" (default), "adgangsadresse", "adresse"
Specifies whether addresses are formatted with a supplementary town name. Possible values: true or false. Default true.
Specifies whether suggestions with large-recipient postcodes are returned. Possible values: true or false. Default false. Note that if large-recipient postcodes are enabled, the same address may appear twice in the list of suggestions.
Specifies whether suggestions are formatted with line breaks. Possible values: true or false. Default false.
Return only current addresses, not preliminary ones.
Returns the output in a format other than JSON. See Data formats.
Returns the output as JSONP. See Data formats.
Omits whitespace formatting from the output
Returns the output as Newline Delimited JSON
Which page to return. See Pagination.
Number of results per page. See Pagination.
DanskAdresseAPI only (not in the original DAWA). true leaves out suggestions of type vejnavn for streets that have no addresses, so a step-wise autocomplete (street → address) never suggests a street whose next step is empty. All other suggestions and the shape of the response are unchanged. Only on /autocomplete.
Request
Response
Success response. The MIME type of the response depends on the format parameter.
—
