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

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.

More from the same API