API reference
List cities
GET
Returns the cities (kota) and regencies (kabupaten) of one province.
No authentication is required. An unknown provinceId returns an empty list with the message
Request successful. data not found.
provinceId*integerid from List provinces.
Cities of the province.
application/json- response
statusCode*integermessage*stringdata*array<>curl -X GET 'https://sandbox-api.fastrac.example/b2b/region/city?provinceId=0'Example Response
{ "statusCode": 200, "message": "Request successful.", "data": [ { "id": 3171, "name": "Kota Jakarta Pusat", "provinceId": 31, "cityType": "CITY" }, { "id": 3174, "name": "Kota Jakarta Selatan", "provinceId": 31, "cityType": "CITY" } ]}Was this page helpful?
List provinces GET
Returns every Indonesian province. Start here when you build a cascading address picker (province → city → district → subdistrict). For free-text input, **Search regions** is faster. No authentication is required.
List districts GET
Returns the districts (kecamatan) of one city. No authentication is required.