Menu

GeoDB Cities API

Take it Out for a spin

Subscribe To An API Plan

Access to GeoDB Pro tiers is mediated through RapidAPI, an API proxy service. Before you can try out any of the Pro-tier operations, please do the following:

  1. Sign up as a RapidAPI user. Click Login/Sign-up at the top-right.
  2. Subscribe to a GraphQL or REST API plan.

Test Out The Operations

  1. Click GraphQL or REST to see a listing of available operations.
  2. Select an operation from the left sidebar.
  3. Fill out the required and optional parameters, which should all be described.
  4. Click Test Function.
  5. You should see the response on the right.
  6. From here you can:
    1. Drill down into the data and inspect the results.
    2. Click the Code column and select the language drop-down to see what the invocation would look like in the language of your choice.

...Or Use the Free Instance

The free instance allows up to 86,400 requests/day. However, it has significantly less cities (only cities with populations of greater than 40,0000). Use the geodb-free-service.wirefreethought.com endpoint. For example:

GET geodb-free-service.wirefreethought.com/v1/geo/cities