> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dojah.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Lookup Zimbabwe National ID

> Verify a Zimbabwean national ID number and return the holder's civil-registry record.

GET
`/api/v1/zw/kyc/nin`

Verify a Zimbabwean national ID number and return the holder’s civil-registry record.

## Headers

| Header | Required | Description |
| - | - | - |
| `Authorization` | Yes | Your app's secret key, sent as-is — *not* `Bearer`. |
| `AppId` | Yes | The App ID from your dashboard. |

## Query parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id_number` | string | Yes | Zimbabwean National ID number. |

## Response

Returns an `entity` object with the holder’s civil-registry record.

## Errors

| Code | Meaning |
| - | - |
| `400` | Bad request — a required parameter is missing or malformed. |
| `401` | Unauthorized — check your key and `AppId` (no `Bearer` prefix). |
| `402` | Insufficient wallet balance. [Fund your wallet](https://docs.dojah.io/api-reference/core-concepts/wallet-billing.md). |
| `404` | No record found for the supplied identifier. |
| `424` | The upstream source was unavailable — retry shortly. |
| `429` | Too many requests — back off and retry. |

```bash cURL theme={null}
curl --request GET \
  "https://api.dojah.io/api/v1/zw/kyc/nin?id_number=451234561E45" \
  -H "Authorization: {{secret_key}}" \
  -H "AppId: {{app_id}}"
```

```js Node.js theme={null}
const params = new URLSearchParams({
  "id_number": "451234561E45",
});

const url = "https://api.dojah.io/api/v1/zw/kyc/nin?" + params;
const res = await fetch(url, {
  headers: {
    Authorization: process.env.DOJAH_SECRET_KEY,
    AppId: process.env.DOJAH_APP_ID,
  },
});
const data = await res.json();
```

```python Python theme={null}
import os, requests

res = requests.get(
    "https://api.dojah.io/api/v1/zw/kyc/nin",
    headers={
        "Authorization": os.environ["DOJAH_SECRET_KEY"],
        "AppId": os.environ["DOJAH_APP_ID"],
    },
    params={ "id_number": "451234561E45" },
)
data = res.json()
```

```json GET /api/v1/zw/kyc/nin theme={null}
{
  "entity": {
    "person_no": "451234561E45",
    "status": "A",
    "surname": "MUSA",
    "first_name": "JOHN",
    "sex": "F",
    "date_of_birth": "1901-01-01",
    "date_of_death": "1961-01-01",
    "birth_place": "Earth"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.