GeoDB Cities

API

Free REST API for global city, region, and country data

Visit Website

Overview

GeoDB Cities API offers RESTful access to comprehensive geographic data including cities, regions, and countries worldwide. Key endpoints include /cities (filter by name, population, coordinates), /regions (by country or name), and /countries (by code or name). Responses are in JSON format with pagination and sorting options. Use cases include powering travel apps with location details, enhancing location-based services with demographic data, supporting mapping tools, and enabling demographic analysis for research or business applications.

Example Integration (JavaScript)

script.js JS

fetch('http://geodb-cities-api.wirefreethought.com/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON response format
  • No authentication required
  • Filterable endpoints (population, coordinates, name)
  • Pagination support
  • Sorting options

Frequently Asked Questions

? Is GeoDB Cities free to use?

Yes, the GeoDB Cities API is completely free for public use with no subscription fees.

? Does it require an API Key?

No, authentication is not required—you can access all endpoints without an API key.

? What is the response format?

All API responses are in JSON format, which is widely supported by most programming languages and frameworks.

Top Alternatives

OpenStreetMap Nominatim API Search Google
GeoNames API Search Google

People Also Ask about GeoDB Cities

GeoDB Cities vs OpenStreetMap Nominatim APIGeoDB Cities vs GeoNames API GeoDB Cities 2025 review

Tool Info

Pricing Free
Category Geocoding
Platform Public API

Pros

  • Free to use
  • Comprehensive global geographic data
  • Easy integration with apps
  • No API key needed

Cons

  • Rate-limited requests
  • HTTP-only (no HTTPS support)
  • No service level agreement (SLA)
  • Limited real-time data updates

More Geocoding Tools