latlong
All APIs

Rank the nearest cities to a given city name.

Parameters
Map preview
GET/v4/nearest-cities.json

Returns up to 10 cities that are geographically closest to a specified city. Useful in applications related to travel, logistics, planning, or location-based services.

  • Returns up to 10 nearest cities for a given input city
  • Based on geographical distance
  • Fast and reliable response for dynamic UI or mobile apps