Search and list street segments
Searches for vejstykker (street segments). Returns the vejstykker (street segments) that meet the criterion.
Authentication
Your API key as a Bearer token.
Parameters
The street segment's unique UUID.
Finds the street segments for the named road
street code. 4 digits.
Municipality code. 4 digits. Example: 0101 for the City of Copenhagen.
Street name. Case-sensitive. Wildcard searches can be used.
Postcode. 4 digits.
Search text. The vejnavn field is searched. All words in the search text must match the vejstykke (street segment). The wildcard * is allowed at the end of each word. The search is case-insensitive.
Performs the search as an autocomplete search.
Show all 21 parametersShow fewer
Find the vejstykker (street segments) that overlap the specified polygon. The polygon is specified as an array of coordinates in the same way as the 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 reference 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]]].
Find the vejstykker (street segments) that overlap the circle specified by the coordinate (x,y) and radius r. The coordinate reference system can be (ETRS89/UTM32 or) WGS84/geographic. The radius is specified in metres. cirkel={x},{y},{r}.
The struktur parameter specifies whether a flad or nestet response structure is required. The default is nestet for JSON and flad for GeoJSON.
Enables fuzzy search
Finds the street segments matching the given regular expression.
Includes discontinued street segments in the response.
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.
Request
Response
Success response. The MIME type of the response depends on the format parameter.
idstring<uuid>The unique id of the street segment.
bboxnumber[]The smallest rectangle containing the geometry.
hrefstringThe vejstykke's (street segment's) unique URL.
kodestringIdentification of the vejstykke (street segment). Unique within the municipality concerned.
navnstringThe street name as determined and registered by the municipality.
kommuneobjectThe municipality in which the vejstykke (street segment) is located.
historikobjectTimestamps for creation, modification and any discontinuation.
darstatusintegerThe vejstykke's (street segment's) status code. 3=current, 4=discontinued.
postnumreobject[]The postcodes that occur in addresses on the vejstykke (street segment).
navngivenvejobjectThe named road of which the vejstykke (street segment) is a part.
visueltcenternumber[]Coordinates for the visual centre of the vejstykke (street segment), for label placement on maps.
adresseringsnavnstringAn optionally abbreviated version of the street name, no more than 20 characters long.
