You are visiting a beta version of Entur's new developer portal. Content may be incomplete and updated without notice. Our stable developer portal is still available at developer.entur.org.
Open services
Geocoder
The Geocoder API provides geocoding (text search), reverse geocoding (coordinates to places), and place lookup for Norwegian addresses, stop places, and points of interest. Results are GeoJSON FeatureCollections combining data from the national stop registry (NSR), the cadastre (matrikkelen), Kartverket place names, and OpenStreetMap.
# Autocompletecurl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/autocomplete?q=Oslo+S"# Autocomplete with focus point (boost results near a location)curl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/autocomplete?q=haugen&lat=59.9&lon=10.7"# Reverse geocode (radius in km, decimals accepted)curl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/reverse?lat=59.9110&lon=10.7522&radius=0.5"# Place lookupcurl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/place?ids=NSR:StopPlace:337"
Listing places with filters
The q parameter is optional on /v3/autocomplete. Omitting it while providing at least one filter lists all matching places instead of searching:
Code
# All airportscurl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/autocomplete?stopPlaceTypes=airport"# All stop places in a fare zonecurl -H "ET-Client-Name: company-application" \ "https://api.entur.io/geocoder/v3/autocomplete?fareZones=RUT:FareZone:4&limit=50"