# NIP ASN Validator

The 18-digit civil-servant number, decoded: birth date, CPNS appointment, gender, and BKN serial — structure-checked, not just counted.

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

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `nip` | string | required | Eighteen digits, as BKN issues them. |

**Example request**

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

**Example response**

```json
{
  "data": {
    "nip": "195808181984041001",
    "valid": true,
    "birth_date": "1958-08-18",
    "appointed_cpns": "1984-04",
    "gender": "male",
    "serial": "001",
    "issues": []
  },
  "meta": { "request_id": "req_7Q2fK4mZ" }
}
```