City Data APIs

List of APIs that provide data for various cities across the world. Use these APIs to access city-level data.
The Top 10 Mapping & Maps APIs (for Developers in 2018)RapidAPI blog
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
City Data APIs

This API collection of city data APIs can provide access to city-level data such as zip codes, boundaries, ip address info, nearby cities, IATA codes and more! Use more advanced API features to extract more data such as distance between 2 zip codes, search postal codes by a bounding box, or get currencies for a specific country. Sign up today for a FREE RapidAPI account to begin integrating these city APIs into your app or website!

Golden Gate Bridge 1926

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", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication