Geomelon tracks 3,140 cities in Sri Lanka, spread across 8 regions. Colombo is the largest, with a population of 647,557. City names are available in 10 languages through the API below.
Data updated: 2026-07-14
| City | Region | Population |
|---|---|---|
| Colombo | Western Province | 647,557 |
| Gampaha | Western Province | 191,040 |
| Beruwala | Western Province | 164,969 |
| Kandy | β | 161,000 |
| Negombo | Western Province | 142,136 |
| Sri Jayawardenepura Kotte | Western Province | 115,826 |
| Trincomalee | Eastern Province | 115,443 |
| Batticaloa | Eastern Province | 95,489 |
| Galle | Southern Province | 93,118 |
| Dambulla | β | 91,550 |
GET /cities/search?countryCode=lk&sort=population_desc&limit=3
[
{
"id": "17c0c8c6-ffff-41bb-a6ae-da3b6dcffcd4",
"name": "Colombo",
"population": 647557,
"countryName": "Sri Lanka",
"countryCode": "LK",
"countryEmoji": "π±π°",
"regionName": "Western Province"
},
{
"id": "85053c11-8232-4f24-84e9-cf40e0732aa3",
"name": "Gampaha",
"population": 191040,
"countryName": "Sri Lanka",
"countryCode": "LK",
"countryEmoji": "π±π°",
"regionName": "Western Province"
},
{
"id": "ed388160-7fbe-4091-8b17-5c996d98c231",
"name": "Beruwala",
"population": 164969,
"countryName": "Sri Lanka",
"countryCode": "LK",
"countryEmoji": "π±π°",
"regionName": "Western Province"
}
]curl --request GET \
--url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=lk&sort=population_desc&limit=10' \
--header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_API_KEY'City names in Sri Lanka are available in 10 languages.
Prefer a static file? Download 30 Sri Lanka cities as JSON (5 KB, no API key) from the Sri Lanka cities dataset page.
Geomelon currently has 3,140 cities in Sri Lanka 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 Sri Lanka are available in 10 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.