🇸🇰 Cities in Slovakia — API & JSON data

Looking for a JSON API covering cities in Slovakia? Geomelon has 459 of them, organized into 8 regions and searchable in 27 languages. Bratislava tops the list by population (479,389).

Data updated: 2026-07-14

Live demo

Type to search Slovakia cities…

Top 10 cities by population

CityRegionPopulation
BratislavaBratislava Region479,389
KošiceKošice Region223,678
PetržalkaBratislava Region112,380
PrešovPrešov Region81,702
ŽilinaŽilina region80,257
NitraNitra Region75,945
Banská BystricaBanská Bystrica Region73,533
TrnavaTrnava Region63,180
TrenčínTrenčín Region54,130
MartinŽilina region50,346

Sample API response

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

[
  {
    "id": "70df2031-ccb6-41dd-bfe3-d319a38de3de",
    "name": "Bratislava",
    "population": 479389,
    "countryName": "Slovakia",
    "countryCode": "SK",
    "countryEmoji": "🇸🇰",
    "regionName": "Bratislava Region"
  },
  {
    "id": "38ea9f97-f590-42d3-a5b4-afc03003b334",
    "name": "Košice",
    "population": 223678,
    "countryName": "Slovakia",
    "countryCode": "SK",
    "countryEmoji": "🇸🇰",
    "regionName": "Košice Region"
  },
  {
    "id": "05685632-19f8-4708-9c41-4dabfc136f35",
    "name": "Petržalka",
    "population": 112380,
    "countryName": "Slovakia",
    "countryCode": "SK",
    "countryEmoji": "🇸🇰",
    "regionName": "Bratislava Region"
  }
]

Try it

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

Free dataset

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

FAQ

How many cities in Slovakia does the API return?

Geomelon currently has 459 cities in Slovakia across 8 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 Slovakia city names in other languages?

Yes — city names in Slovakia are available in 27 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