Indonesia Data API
Indonesian regions down to the village with their official codes, structural checks for NIK and NPWP, national holidays and cuti bersama, prayer times, QRIS decoding, BMKG earthquake data and number-to-words. Plain GET requests. Free, no key.
8 endpoints
wilayah
FreeIndonesian administrative regions, all four levels: 38 provinsi, 514 kabupaten/kota, 7,285 kecamatan and 83,762 desa/kelurahan with official Kepmendagri kode.
verify-nik
FreeStructural check of an Indonesian NIK — no model call, instant.
verify-npwp
FreeStructural check of an Indonesian tax number.
hari-libur
FreeIndonesian national holidays and cuti bersama, transcribed from the official SKB 3 Menteri decrees.
prayer-times
FreeJadwal sholat (imsak/fajr/sunrise/dhuhr/asr/maghrib/isha) from solar position.
qris
FreeDecode a QRIS payment code (EMVCo TLV): merchant name, city, NMID, acquirer, MCC, currency, amount, and whether the CRC is intact.
bmkg
FreeOfficial Indonesian earthquake data from BMKG, forwarded unmodified.
terbilang
FreeIndonesian number-to-words, for the amount-in-words line on an invoice, kwitansi or cheque.
Call it
No payment and no key: call it and read the answer.
curl 'https://api.glianalabs.com/v1/tools/wilayah?q=bandung'
How it works
Each endpoint is a GET that answers from data held on our side or computed on the spot: region codes from the official Kepmendagri list, holidays transcribed from the SKB 3 Menteri decrees, prayer times from the sun’s position, QRIS fields decoded from the code itself. Earthquake data is forwarded from BMKG unmodified.
Limits worth knowing
The NIK and NPWP checks are structural only: they confirm the number is well formed and that its region code, birth date and gender agree with what you pass. They do not query Dukcapil or the tax office, so a well-formed made-up number passes. Prayer times are calculated and typically sit within one or two minutes of the Kemenag table. Cuti bersama is reported separately from holidays, because it is optional for private employers.
Questions
Is it really free?
Yes. These endpoints cost nothing and need no account, key or wallet. They are rate limited like the rest of the API.
Does verify-nik confirm a person exists?
No. It checks the structure of the number and what it encodes against what you pass. It does not look the number up in any population register.
Where does the region data come from?
The official Kepmendagri code list: 38 provinces, 514 regencies and cities, 7,285 districts and 83,762 villages.
Can I make a dynamic QRIS from a static one?
Yes. Pass the static code and an amount, and the same merchant code comes back with the amount set and the checksum recomputed.