29,924 Germany cities and 16 regions, every city with a known population, names translated into 50+ languages, as an installable npm package. Versioned, offline-usable, no API key required.
@geomelon/germany on npm Source on GitHub
npm install @geomelon/germanyconst germany = require('@geomelon/germany')
germany.cities({ name: '<prefix>' }) // matches primary name or any translation
germany.cities({ minPopulation: 1000000 })
germany.regions({ name: '<prefix>' })
germany.country // country-level fields
germany.meta // generatedAt, recordCount, license, sourceLooking for the whole live API instead of a static package โ search, autocomplete, coordinate queries, all countries at once? Try Geomelon on RapidAPI. Just want a smaller free file with no install step? See the Germany free JSON dataset.
Dedicated to the public domain under CC0 1.0, matching the license of the underlying Wikidata source. Free for any use, including commercial, with no attribution required.