🇩🇰 Cities in Denmark — API & JSON data

Looking for a JSON API covering cities in Denmark? Geomelon has 3,704 of them, organized into 5 regions and searchable in 26 languages. Copenhagen tops the list by population (667,099).

Data updated: 2026-07-14

Live demo

Type to search Denmark cities…

Top 10 cities by population

CityRegionPopulation
Copenhagen667,099
AarhusCentral Denmark290,598
OdenseSouthern Denmark185,480
AalborgNorth Denmark Region121,878
Frederiksberg105,840
EsbjergSouthern Denmark71,459
RandersCentral Denmark64,511
HorsensCentral Denmark64,418
KoldingSouthern Denmark63,645
VejleSouthern Denmark62,011

Sample API response

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

[
  {
    "id": "258852ba-b25e-4228-95c7-d844151f8e32",
    "name": "Copenhagen",
    "population": 667099,
    "countryName": "Denmark",
    "countryCode": "DK",
    "countryEmoji": "🇩🇰",
    "regionName": null
  },
  {
    "id": "92a23d85-db8f-49d4-940e-476dc7df949f",
    "name": "Aarhus",
    "population": 290598,
    "countryName": "Denmark",
    "countryCode": "DK",
    "countryEmoji": "🇩🇰",
    "regionName": "Central Denmark"
  },
  {
    "id": "da8fedd4-c233-4098-a51b-26282a537c86",
    "name": "Odense",
    "population": 185480,
    "countryName": "Denmark",
    "countryCode": "DK",
    "countryEmoji": "🇩🇰",
    "regionName": "Southern Denmark"
  }
]

Try it

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=dk&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 Denmark are available in 26 languages.

Free dataset

Prefer a static file? Download 101 Denmark cities as JSON (15 KB, no API key) from the Denmark cities dataset page.

FAQ

How many cities in Denmark does the API return?

Geomelon currently has 3,704 cities in Denmark across 5 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 Denmark city names in other languages?

Yes — city names in Denmark are available in 26 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