---
title: "Checks the structure of a 16-digit NIK and looks up its region digits in the wilayah table. Send the NIK in the JSON body; it is never logged."
method: POST
path: "/v1/validate/nik"
---

# Checks the structure of a 16-digit NIK and looks up its region digits in the wilayah table. Send the NIK in the JSON body; it is never logged.

`POST /v1/validate/nik`

## Request

- Base URL: `https://refnusa.dev`
- URL: `https://refnusa.dev/v1/validate/nik`
- Auth: none declared

## Request body

- object
  - `nik` string, required: The 16-digit NIK

## Response `200`

OK

## Other responses

- `400`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/refnusa/apis/refnusa-api.md) · [All operations](https://skmtc.dev/refnusa/apis/refnusa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/refnusa/apis/refnusa-api/revisions/6e9b0b8c35a4?raw)
