zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Indonesia/Cek NIK
Logo Cek NIK

Cek NIK

Decode structural information from a 16-digit Indonesian NIK identifier.

Endpoints
1
Requests
28
Updated
3 months ago
For LLMs
llms.txt
Endpoint health16 hours ago
  • decodepassing, 0.0s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/indonesia:cek-nik/decode5m cache1 paramchecking key…
Parameters
nikstringrequired

NIK KTP Indonesia (16 digit angka)

·
Response
EXAMPLE
{
  "ok": true,
  "nik": "3201011503900001",
  "birth": {
    "day": 15,
    "date": "1990-03-15",
    "year": 1990,
    "month": 3
  },
  "valid": true,
  "gender": "LAKI-LAKI",
  "source": "algorithmic",
  "kec_code": "01",
  "province": "Jawa Barat",
  "sequence": "0001",
  "kab_kota_code": "01",
  "province_code": "32"
}

Code examples

Decode NIK
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("indonesia:cek-nik", "decode", {
  "nik": "3201011503900001"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/indonesia:cek-nik/decode?nik=3201011503900001" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETDecode NIK/v1/indonesia:cek-nik/decodeDecode province, district, birth date, and gender from NIK.

Parameters

nikstringrequired
NIK KTP Indonesia (16 digit angka)

Request

curl -X GET "https://api.zpi.web.id/v1/indonesia:cek-nik/decode?nik=3201011503900001" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ok": true,
  "nik": "3201011503900001",
  "birth": {
    "day": 15,
    "date": "1990-03-15",
    "year": 1990,
    "month": 3
  },
  "valid": true,
  "gender": "LAKI-LAKI",
  "source": "algorithmic",
  "kec_code": "01",
  "province": "Jawa Barat",
  "sequence": "0001",
  "kab_kota_code": "01",
  "province_code": "32"
}

Related APIs

More in indonesia

Al-Qur'an Kemenag

indonesia/quran-kemenag

Official Indonesian Ministry of Religious Affairs Qur'an: 114 surah, 6,236 ayah with Arabic, kitabah, transliteration, Indonesian translation and footnotes, plus the full Kemenag tafsir (wajiz, tahlili, kosakata, munasabah, sabab nuzul).

242 calls·10m cache

Jadwal Sholat & Hijriah

indonesia/sholat-kemenag

Indonesian prayer schedules for 517 cities sourced from the Ministry of Religious Affairs dataset, plus Hijri/Gregorian conversion and qibla direction.

188 calls·10m cache

Perpusnas

indonesia/perpusnas

Perpustakaan Nasional RI — Khastara digitised manuscripts and the OPAC national catalogue with full MARC records and digital content listings.

111 calls·5m cache

Bimas Islam Kemenag

indonesia/bimasislam

Directorate General of Islamic Community Guidance: sharia consultation Q&A answered by the Kemenag team, official news, and directorate profile pages.

82 calls·10m cache

Wilayah Indonesia

indonesia/wilayah

Indonesian administrative regions — province, regency, district and village — from official government registries, with BPS and Kemendagri codes.

222 calls·1d cache

Cek BPOM

indonesia/cek-bpom

Pencarian registrasi produk obat, kosmetik, suplemen, dan pangan pada database resmi BPOM RI.

38 calls·5m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026