Menu

GeoDB Cities API

Comments

There are currently no blog comments.

Blog posts

Portuguese Now Available

GeoDB now supports base Portuguese (pt) and its Brazilian variant (pt_BR) as possible language translations, where data is available. If Brazilian Portuguese is requested but unavailable, the service will then attempt to get the base Portuguese version. If this too is missing, the service will fall …

Read more

Free Instance Changes

In an effort to maintain great performance on the Free instance while balancing CPU/bandwidth costs, we will soon be instituting a slight change to the available cities on this instance. Specifically, we will be limiting the total set of cities to only those with a population of at least 10000 (base…

Read more

Moving Up In The API World

GeoDB has now been featured in RapidAPI's Top 50 Most Popular APIs. Big thanks to our loyal users for making this happen! We are actively working on changes under the hood to make the service even more performant and scalable. Stay tuned!

Read more

How To Get City Tourist Attractions

Getting a city's GPS location, population, and elevation is all well and good, but what about when you're building:

  • A history app that shows a timeline of significant events?
  • A travel app that needs to show famous landmarks and tourist attractions?
  • Just a fun app that shows all the famous peopl…

Read more

Display Results In Multiple Languages!

Besides English, you can now display cities, regions, and countries in one of the following languages:

  • French
  • German
  • Italian
  • Russian
  • Spanish

For details, please go to the API Reference sections which have been updated to describe the new languageCode param.

The translations are based on Wi…

Read more

Sort Cities, Get The User's Current City, And More

All API operations returning city collection results now provide an optional sort parameter taking multiple sort directives. What this means is you can now do something like get all cities sorted by country code, then by name. Or get all cities near a location, sorted by largest cities first.

And…

Read more

Let Freedom Ring!

Over the holidays, we went through a spiritual transformation and got in touch with our giving side. Drum roll...GeoDB now provides a FREE instance with the following generous usage limits:

Up to 5 requests/sec per unique IP.

For more details, go here to compare with the Pro levels.

Read more

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

You can now find the distance between any two cities.

curl --get --include 'https://wft-geo-db.p.mashape.com/v1/geo/cities/{fromCityId}?toCityId={toCityId}&distanceUnit={KM | MI)' \
    -H 'X-Mashape-Key: YOUR_API_KEY' \
    -H 'X-Mashape-Host: wft-geo-db.p.mashape.com'

In addition...

Read more

Merry Christmas & Happy Hanukkah: Time-Zones Are Here!

All cities now include time-zone data. The following functionality is now available:

Get Available Time-Zones

Gets all available time-zones in the system. You should use these time-zone IDs as input to the other methods below, as GeoDB has its own way of encoding the '/' separator.

curl…

Read more

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 'https://wft-geo-db.p.masha…

Read more

Welcome!

The intent of this blog is to communicate any new features, fixes to, or issues identified with the service — or anything else that might be of interest to anyone consuming this API.

Translation: If you are a developer currently using GeoDB, you really should subscribe to this blog.

Read more

11 Blog Posts