Graphql schema documentation

The GeoDB API focuses on getting global city and region data.

  • Filter cities by name prefix, country, location, time-zone, and even minimum population
  • Sort cities by name, country code, elevation, and population - or any combination of these
  • Get nearby cities
  • Get distances between cities
  • Get all country regions
  • Get all cities in a given region
  • Display results in multiple languages
  • Backed by cloud-based load-balanced infrastructure for resiliency and performance
  • Data is periodically refreshed from GeoNames and WikiData

link GraphQL Schema definition

1schema {
3# The set of possible top-level queries
4query: Query