How to verify a NIN for your business
Updated 21 November 2026
Short answer
Send the NIN to a licensed verification service with a purpose code, then compare the record with the name and date of birth the customer gave you. Financial institutions and government agencies may verify by NIN alone; every other business verifies with the NIN plus a live selfie, or with a share code the customer generates.
The three ways to verify a NIN
Which method you use depends on the kind of business you are, and on how the customer takes part.
| Method | What you send | Who may use it | What the customer does |
|---|---|---|---|
| NIN only | The 11-digit NIN | Financial institutions and government agencies | Nothing at the time of the check |
| NIN plus selfie | The NIN and a live selfie | Any business | Takes a selfie |
| Share code | A 6-character NINAuth share code | Any business | Generates and shares a code |
Why the selfie matters
A NIN on its own proves that the number exists and who it belongs to. It does not prove that the person in front of you is that person.
With NIN plus selfie, Speedmap compares the selfie with the photo on the national identity record. A stolen NIN and someone else’s face no longer pass.
What comes back
By default you receive an assertion: whether the record was found, whether it matches, and which fields agree. Names and dates of birth are compared field by field in field_matches.
field_confidence scores each name from 0 to 100 and allows for nicknames and spellings, so Seun scores high against Oluwaseun. You decide the threshold.
| Tier | Returns |
|---|---|
| Basic | First name, last name, date of birth and photo |
| Advanced | Basic, plus middle name, gender, phone, residential address and state of origin, and next of kin where the record holds it |
Declare a purpose on every check
Every NIN check must carry one of the 38 statutory purpose codes, such as financialProducts or employmentRecruitment. Speedmap refuses a check without one and stores the code with the result.
Example request
Test keys return deterministic results for every outcome and are never billed.
curl -X POST https://api.speedmap.io/v1/verify/nin \
-H "Authorization: Bearer sk_test_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"method": "nin",
"nin": "98765432109",
"reason": "financialProducts",
"match": {
"last_name": "Griffin",
"date_of_birth": "1990-04-12"
}
}'Common mistakes
- Treating “record found” as “verified”. Always compare the name and date of birth you collected.
- Accepting a NIN without a selfie where impersonation matters, such as lending and account opening.
- Keeping full identity records you do not need. An assertion is usually enough, and it holds no personal data in clear.
- Retrying a slow check without an idempotency key. With one, a retry returns the first result and is never billed twice.
Questions
- Can I look up a NIN from a phone number or a name?
- No. Every method starts from the NIN, a share code or a selfie. Speedmap does not offer reverse lookup.
- Which businesses can verify by NIN alone?
- Regulation restricts NIN-only lookup to financial institutions and government agencies. Other businesses use NIN plus selfie or a share code, where the customer takes part in the check.
- Can I try it before going live?
- Yes. Create an account and your workspace starts in test mode, which is free and returns deterministic results. We switch it live after the compliance review.
Related services
- Free test mode
- Purpose code on every check
- Pay per check, no monthly fee
Start verifying in minutes. Go live when you’re ready.
Create your account in under a minute and explore the full dashboard. We switch your workspace live after a short compliance review.