# NIK Parser

Decode an Indonesian national identity number into province, regency, district, postal code, birth date, and sex — including the +40 day offset that trips most implementations.

- Method: `GET`
- Path: `/v1/id/nik`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `nik` | string | required | The 16-digit number. |

**Example request**

```bash
curl https://api.diraz.ae/v1/id/nik \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "nik": "3171065508900002",
    "valid": true,
    "province_code": "31",
    "regency_code": "3171",
    "district_code": "317106",
    "province": "DKI JAKARTA",
    "regency": "KOTA ADM. JAKARTA PUSAT",
    "district": "MENTENG",
    "postal_code": "10330",
    "birth_date": "1990-08-15",
    "sex": "female",
    "serial": "0002",
    "issues": [],
    "warnings": []
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ"
  }
}
```