🇩🇪 Cities in Germany — API & JSON data

Germany has 27,528 cities in the Geomelon dataset, one of the more densely covered countries in the API. The most populous is Berlin, at 3,782,202 people. Query it by name, region, or coordinates, with translations in 47 languages.

Data updated: 2026-07-14

Live demo

Type to search Germany cities…

Top 10 cities by population

CityRegionPopulation
Berlin3,782,202
Hamburg1,910,160
MunichBavaria1,510,378
Berlin Inner CityBerlin1,118,320
FrankfurtHesse775,790
Bremen693,204
StuttgartBaden-Württemberg633,484
DüsseldorfNorth Rhine-Westphalia631,217
LeipzigSaxony619,879
DortmundNorth Rhine-Westphalia595,471

Sample API response

GET /cities/search?countryCode=de&sort=population_desc&limit=3

[
  {
    "id": "9118a393-12a5-4b83-934e-5dab5b9c9b6b",
    "name": "Berlin",
    "population": 3782202,
    "countryName": "Germany",
    "countryCode": "DE",
    "countryEmoji": "🇩🇪",
    "regionName": null
  },
  {
    "id": "edeb7ac4-2cc7-489e-a97d-d053d102cc53",
    "name": "Hamburg",
    "population": 1910160,
    "countryName": "Germany",
    "countryCode": "DE",
    "countryEmoji": "🇩🇪",
    "regionName": null
  },
  {
    "id": "69486e7f-d29c-4e68-8d38-7268c176efc3",
    "name": "Munich",
    "population": 1510378,
    "countryName": "Germany",
    "countryCode": "DE",
    "countryEmoji": "🇩🇪",
    "regionName": "Bavaria"
  }
]

Try it

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=de&sort=population_desc&limit=10' \
  --header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_API_KEY'

Multilingual city names

City names in Germany are available in 47 languages.

Free dataset

Prefer a static file? Download 5,000 Germany cities as JSON (733 KB, no API key) from the Germany cities dataset page.

FAQ

How many cities in Germany does the API return?

Geomelon currently has 27,528 cities in Germany across 18 regions. Results are paginated, up to 100 per request.

Is there a free tier?

Yes. RapidAPI's free tier covers a fixed number of requests per month with no credit card required. There is also a free, no-key city-autocomplete endpoint (the demo above) for prefix search.

Can I get Germany city names in other languages?

Yes — city names in Germany are available in 47 languages. Pass the languages you want via the preferredLanguages parameter, most-preferred first.

Do I need an API key?

The main search and lookup endpoints require a free RapidAPI key. The prefix-search autocomplete endpoint used in the demo above is public and does not require a key.

Try free on RapidAPI

Related