🇭🇺 Cities in Hungary — API & JSON data

Hungary has 3,589 cities in the Geomelon dataset, one of the more densely covered countries in the API. The most populous is Budapest, at 1,685,209 people. Query it by name, region, or coordinates, with translations in 37 languages.

Data updated: 2026-07-14

Live demo

Type to search Hungary cities…

Top 10 cities by population

CityRegionPopulation
Budapest1,685,209
DebrecenHajdú-Bihar County202,130
SzegedCsongrád-Csanád County157,282
MiskolcBorsod-Abaúj-Zemplén County141,440
PécsBaranya County139,412
GyőrGyőr-Moson-Sopron County129,373
NyíregyházaSzabolcs-Szatmár-Bereg County114,873
KecskemétBács-Kiskun County108,651
SzékesfehérvárFejér County95,241
SzombathelyVas County76,918

Sample API response

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

[
  {
    "id": "99c80374-e0db-4d08-b6f5-d74bc8de94ac",
    "name": "Budapest",
    "population": 1685209,
    "countryName": "Hungary",
    "countryCode": "HU",
    "countryEmoji": "🇭🇺",
    "regionName": null
  },
  {
    "id": "952a7a69-b8da-45d5-a8b5-c4e6e2b52b0b",
    "name": "Debrecen",
    "population": 202130,
    "countryName": "Hungary",
    "countryCode": "HU",
    "countryEmoji": "🇭🇺",
    "regionName": "Hajdú-Bihar County"
  },
  {
    "id": "e6646c96-9011-488d-b311-52f4662d2050",
    "name": "Szeged",
    "population": 157282,
    "countryName": "Hungary",
    "countryCode": "HU",
    "countryEmoji": "🇭🇺",
    "regionName": "Csongrád-Csanád County"
  }
]

Try it

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

Free dataset

Prefer a static file? Download 3,183 Hungary cities as JSON (489 KB, no API key) from the Hungary cities dataset page.

FAQ

How many cities in Hungary does the API return?

Geomelon currently has 3,589 cities in Hungary across 27 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 Hungary city names in other languages?

Yes — city names in Hungary are available in 37 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