GeoDB Cities API


There are currently no blog comments.

Now get nearby cities in a single call!

You can now easily find cities near a given city in a single call. Previously, you had to first get a city's details to obtain its latitude/longitude coordinates, then make a separate call to find all cities in that location. Now you can just do:

curl --get --include '{cityId}/nearbyCities?nearLocationRadius={nearLocationRadius}&nearLocationRadiusUnit={nearLocationRadiusUnit}&minPopulation={minPopulation}&offset=0&limit=500' \
    -H 'X-Mashape-Key: YOUR_API_KEY' \
    -H 'X-Mashape-Host:'

Go here for more details.

Go Back