Nominatim City Geocoding API

Nominatim City Geocoding API

1.0.0OAS 3.0

Look up latitude and longitude for a city using the Nominatim Search API. The gateway supplies format=jsonv2 and limit=1 to the upstream.

API Base URL
  • Server 1:https://86ff79c5ed.us.serverless.gateways.konggateway.tech

    metering-demo-jilson gateway

Security
apiKeyAuth (apiKey)

An API key is a token that you provide when making API calls. Include the token in a query parameter called apikey.

Example: ?apikey=123

Look up coordinates by city name

Returns the highest-ranked Nominatim match for the supplied city.

get
https://86ff79c5ed.us.serverless.gateways.konggateway.tech/v1/geocode/city

Query Parameters

citystringrequired

City name to geocode.

Example:Toronto

countrycodesstring

Optional comma-separated ISO 3166-1 alpha-2 country-code filter.

Example:ca

accept-languagestring

Preferred language for result names.

Example:en

Response

application/json

Matching city coordinates.

place_idinteger
display_namestringrequired
latstringrequired

Latitude in decimal degrees.

lonstringrequired

Longitude in decimal degrees.

boundingboxarray[string]
typestring
importancenumber
get/v1/geocode/city
 
application/json

GeocodingResult

object
place_idinteger
display_namestringrequired
latstringrequired

Latitude in decimal degrees.

lonstringrequired

Longitude in decimal degrees.

boundingboxarray[string]
typestring
importancenumber
Example