GeoDB Cities API


There are currently no blog comments.

Santa's Got More: Distance Between Cities, Location Enhancements

You can now find the distance between any two cities.

curl --get --include '{fromCityId}?toCityId={toCityId}&distanceUnit={KM | MI)' \
    -H 'X-Mashape-Key: YOUR_API_KEY' \
    -H 'X-Mashape-Host:'

In addition...

Find-Cities API Enhancements

  • When finding cities using location criteria, GeoDB will now include each city's distance from the requested location, sorting results by distance.
  • All city results now include latitude/longitude, saving you a trip to the Get-City-Details API.

Go Back

Comments for this post have been disabled.