Welcome To Indonesia Region API

Public API that provides structured data for provinces, regencies, districts, and villages.
Free to use for learning, personal projects, and production.

Server running in production mode

Try it yourself

/province

/province?limit=5&page=1&sortBy=name&sortOrder=asc

Tech Stack

Base Endpoints

Query Parameters (List)

QueryDescription
limitNumber of data per page (default: 10)
pagePage number (default: 1)
sortBySort field (name, code, createdAt)
sortOrderasc or desc
searchSearch by name, code, or postalCode (village)
typeKabupaten or Kota (regency only)
postalCodeVillage postal code filter

Documentation

Full documentation available here:
https://github.com/fento2/indonesia-region-api/tree/main#api-reference

Support This Project

If you find this API useful, please consider giving it a star on GitHub 🌟 It really helps the project grow and motivates me to keep improving it. Github Repository