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
| City | Region | Population |
|---|---|---|
| Bratislava | Bratislava Region | 479,389 |
| Košice | Košice Region | 223,678 |
| Petržalka | Bratislava Region | 112,380 |
| Prešov | Prešov Region | 81,702 |
| Žilina | Žilina region | 80,257 |
| Nitra | Nitra Region | 75,945 |
| Banská Bystrica | Banská Bystrica Region | 73,533 |
| Trnava | Trnava Region | 63,180 |
| Trenčín | Trenčín Region | 54,130 |
| Martin | Žilina region | 50,346 |
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"
}
]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'City names in Slovakia are available in 27 languages.
Prefer a static file? Download 183 Slovakia cities as JSON (28 KB, no API key) from the Slovakia cities dataset page.
Geomelon currently has 459 cities in Slovakia across 8 regions. Results are paginated, up to 100 per request.
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.
Yes — city names in Slovakia are available in 27 languages. Pass the languages you want via the preferredLanguages parameter, most-preferred first.
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.