Geomelon tracks 8,681 cities in Malaysia, spread across 15 regions. Kuala Lumpur is the largest, with a population of 9,000,280. City names are available in 10 languages through the API below.
Data updated: 2026-07-14
| City | Region | Population |
|---|---|---|
| Kuala Lumpur | — | 9,000,280 |
| Klang | Selangor | 878,000 |
| Ipoh | Perak | 866,772 |
| Seberang Perai | Penang | 815,767 |
| Johor Bahru | Johor | 797,882 |
| George Town | Penang | 794,313 |
| Subang Jaya | Selangor | 708,296 |
| Petaling Jaya | Selangor | 638,516 |
| Kuantan | Pahang | 607,778 |
| Shah Alam | Selangor | 584,340 |
GET /cities/search?countryCode=my&sort=population_desc&limit=3
[
{
"id": "ab0eb60f-625a-4efe-ae68-fab4b9803ba1",
"name": "Kuala Lumpur",
"population": 9000280,
"countryName": "Malaysia",
"countryCode": "MY",
"countryEmoji": "🇲🇾",
"regionName": null
},
{
"id": "885a2501-6d03-4c33-bf56-689d5002ab1b",
"name": "Klang",
"population": 878000,
"countryName": "Malaysia",
"countryCode": "MY",
"countryEmoji": "🇲🇾",
"regionName": "Selangor"
},
{
"id": "9bfbcf0c-df9b-43c2-88e1-5776a8901288",
"name": "Ipoh",
"population": 866772,
"countryName": "Malaysia",
"countryCode": "MY",
"countryEmoji": "🇲🇾",
"regionName": "Perak"
}
]curl --request GET \
--url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=my&sort=population_desc&limit=10' \
--header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_API_KEY'City names in Malaysia are available in 10 languages.
Prefer a static file? Download 42 Malaysia cities as JSON (6 KB, no API key) from the Malaysia cities dataset page.
Geomelon currently has 8,681 cities in Malaysia across 15 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 Malaysia 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.