Menu

GeoDB City API - Find Cities For Your Criteria | Wirefree Thought

header photo

Get City DISTANCE API

GET /v1/geo/cities/{cityId}/distance

The Get-City-Distance API returns the distance to the given city. Right now, you may use it to find the distance between two cities. In the future, additional distance criteria will be supported.

The response is returned in either miles or kilometers, depending on the specified distance-unit in the request.