Verify NIN

Verify a National Identity Number (NIN) instantly.

Request

Provide the NIN and your API key to authenticate the request.

Parameters

ninStringRequired

The 11-digit National Identity Number to verify.

x-api-keyHeaderRequired

Your Amadioha secret API key for authorization.

curl -X POST https://amadioha.io/api/v1/identity/nin/verify \
  -H "Content-Type: application/json" \
  -H "x-api-key: your_api_key_here" \
  -d '{
  "nin": "94566734006"
}'

Response

The structured payload returned upon successful verification.

Upon successful verification, Amadioha returns the complete identity entity.

Clean Image URLs

Notice how the photo field is a standard web URL instead of a cumbersome base64 string. You can confidently place this URL directly in an HTML <img src="..."> tag without needing an API key.

Success Response
{
  "entity": {
    "nin": "94566734006",
    "photo": "https://amadioha.io/api/v1/identity/image/1a897fbf-d052-4347-9fed-9e544ff4aaef.jpeg",
    "gender": "Male",
    "last_name": "NUHU",
    "first_name": "FRIDAY",
    "middle_name": "EMMANUEL",
    "phone_number": "08068723757",
    "date_of_birth": "1998-12-25"
  }
}