🇮🇩 Cities in Indonesia — API & JSON data

Geomelon tracks 86,512 cities in Indonesia, spread across 40 regions. Jakarta is the largest, with a population of 11,135,191. City names are available in 40 languages through the API below.

Data updated: 2026-07-14

Live demo

Type to search Indonesia cities…

Top 10 cities by population

CityRegionPopulation
Jakarta11,135,191
Greater Malang3,711,304
SurabayaEast Java3,009,286
BandungWest Java2,875,673
BekasiWest Java2,381,053
TangerangBanten2,237,006
MedanNorth Sumatra2,109,330
South TangerangBanten1,644,899
SemarangCentral Java1,621,384
PalembangSouth Sumatra1,535,952

Sample API response

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

[
  {
    "id": "b09e8357-4a2c-4b3c-9ccf-e9726a28b1f0",
    "name": "Jakarta",
    "population": 11135191,
    "countryName": "Indonesia",
    "countryCode": "ID",
    "countryEmoji": "🇮🇩",
    "regionName": null
  },
  {
    "id": "65a08d9c-95a6-4aa6-b0f1-b44cf01c8493",
    "name": "Greater Malang",
    "population": 3711304,
    "countryName": "Indonesia",
    "countryCode": "ID",
    "countryEmoji": "🇮🇩",
    "regionName": null
  },
  {
    "id": "f4e23789-1815-4ab3-99c2-d10a1b9f480c",
    "name": "Surabaya",
    "population": 3009286,
    "countryName": "Indonesia",
    "countryCode": "ID",
    "countryEmoji": "🇮🇩",
    "regionName": "East Java"
  }
]

Try it

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

Free dataset

Prefer a static file? Download 283 Indonesia cities as JSON (42 KB, no API key) from the Indonesia cities dataset page.

FAQ

How many cities in Indonesia does the API return?

Geomelon currently has 86,512 cities in Indonesia across 40 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 Indonesia city names in other languages?

Yes — city names in Indonesia are available in 40 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