Sign Up

Log In

GeoDB Cities

By wirefreethought
Updated 5 months ago
Popularity Score
Success Rate

GeoDB Cities API Overview

Get global city, region, and country data. Filter cities by name prefix, country, location, time-zone, and even minimum population (currently over 113,000 cities and towns). Display results in multiple languages. Sort by name, country code, elevation, and population - or any combination of these. Get distances between cities. Get all country regions. Get all cities in a given region. RESTful API adheres to industry best-practices, including HATEOAS-style links to facilitate paging results. Data is periodically refreshed from GeoNames and WikiData. (All data licensed under Creative Commons, Backed by cloud-based load-balanced infrastructure for resiliency and performance! (If you'd like to host the service internally, contact us for details through the dev portal site.)

Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard