placedb

Countries

🇭🇺 Hungary 20 administrative divisions

20 first-level administrative divisions — states, provinces, regions or counties, depending on the country — and 3,823 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
HU · HUN · 348
Capital
Budapest
Continent
Europe
Currency
HUF — forint
Calling code
+36
Internet domain
.hu
Divisions
20
Cities and towns
3,823

Divisions

The 20 divisions of Hungary

20 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.

Division ISO 3166-2 Cities and towns Population
Borsod-Abauj-Zemplen County HU-BZ 410 623,024
Baranya County HU-BA 354 354,022
Zala County HU-ZA 305 260,800
Vas County HU-VA 276 249,513
Somogy County HU-SO 275 293,470
Szabolcs-Szatmar-Bereg County HU-SZ 256 529,381
Veszprem County HU-VE 244 335,361
Gyor-Moson-Sopron County HU-GS 230 465,945
Pest County HU-PE 222 1,333,533
Bacs-Kiskun County HU-BK 156 495,318
Nograd County HU-NO 146 182,459
Heves County HU-HE 144 285,892
Fejer County HU-FE 141 419,656
Tolna County HU-TO 134 207,931
Komarom-Esztergom County HU-KE 109 300,631
Hajdu-Bihar County HU-HB 96 519,141
Bekes County HU-BE 85 315,222
Jasz-Nagykun-Szolnok County HU-JN 85 355,809
Csongrad-Csanad County HU-CS 80 391,184
Budapest HU-BU 73 1,685,209

A further 2 places could not be matched to a division and are listed separately in the API as "unassigned": true.

Get it

Both files, in one request each

# every division of Hungary
curl -s https://api.placedb.org/v1/regions/HU.json

# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/HU/<id>.json

No key, no account, no rate limit. The endpoints · try it live.