find nearby cities for city API
The Find-Cities-Near-City API returns a list of cities and administrative divisions near the given city. To exclude small cities and towns, you may optionally restrict the listed cities by setting the min-population filter.
Results can be sorted (in both ascending and descending order) by:
- Name
- Country Code
- Elevation
- Population
Results can also be displayed in multiple languages (where the WikiData translation is available). Note that when a language is selected, the namePrefix param is matched on the version of the data corresponding to that language.
For the list of available languages, see the Get Languages API.
To narrow results to cities only, use the types=CITY param.
If you're actually looking to find cities near a specific GPS location, you should use the more generic Find-Cities API.