curl --request POST \
--url https://api.fastcac.com/v1/identities/nin_lookups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nin": "12345678901",
"consent": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({nin: '12345678901', consent: true})
};
fetch('https://api.fastcac.com/v1/identities/nin_lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/identities/nin_lookups"
payload = {
"nin": "12345678901",
"consent": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/identities/nin_lookups"
payload := strings.NewReader("{\n \"nin\": \"12345678901\",\n \"consent\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/identities/nin_lookups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nin' => '12345678901',
'consent' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "nin_lookup",
"id": "ninl_6x9CKdEGQkJAbby8D1u7kN",
"nin": "12345678901",
"first_name": "ADA",
"middle_name": "CHIOMA",
"last_name": "OBI",
"gender": "female",
"date_of_birth": "1990-04-12",
"phone": "08031234567",
"address": "12 ADMIRALTY WAY, LEKKI, LAGOS",
"photo": "data:image/jpeg;base64,/9j/4AAQSkZJRgABA…",
"nimc_data": {},
"amount_charged": "100.00",
"transaction_id": "wtx_0hA6wRH6yeYHTLfRjK4Bxn",
"created_at": "2026-10-26T05:55:58Z"
}{
"error": {
"type": "invalid_request_error",
"code": "consent_required",
"message": "Set consent to true to confirm the person whose NIN this is agreed to the lookup.",
"param": "consent",
"request_id": "req_xcacu6qO33kUNHSxBjY5G9Yd"
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_hXO9uf6JYXxTYMz20Du2lF8n"
}
}{
"error": {
"type": "payment_error",
"code": "insufficient_balance",
"message": "Your balance is ₦0.00; a NIN lookup costs ₦100.00. Fund your wallet by bank transfer to your funding account, then try again.",
"param": null,
"request_id": "req_T3QuXz9S4mAUr6Ilj7UfFnD3",
"details": {
"amount_due": "100.00",
"balance": "0.00",
"currency": "NGN",
"funding_account": {
"account_number": "0000000000",
"bank_name": "TEST BANK",
"account_name": "FastCAC - TEST MODE"
}
}
}
}{
"error": {
"type": "permission_error",
"code": "live_mode_unavailable",
"message": "Live registrations are paused right now. Use a test key (fc_test_…) meanwhile.",
"param": null,
"request_id": "req_gXc3KKfa1egcBqGIxApcVRIr"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_5pBegFvIypCQp0ZmlXajiiet"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "nin_not_found",
"message": "NIMC has no record of that NIN. Check the number. You weren't charged.",
"param": "nin",
"request_id": "req_SBKLBRia3TtzbQESMsQ1vznD"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Look up a NIN
What NIMC holds for a NIN: names, gender, date of birth, phone, address, photo and its other fields.
Prefill your form from it, set it as a proprietor’s nin_lookup, and use its photo as the passport.
Charged from your wallet (see amount_charged); not when NIMC has no record.
curl --request POST \
--url https://api.fastcac.com/v1/identities/nin_lookups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nin": "12345678901",
"consent": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({nin: '12345678901', consent: true})
};
fetch('https://api.fastcac.com/v1/identities/nin_lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/identities/nin_lookups"
payload = {
"nin": "12345678901",
"consent": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/identities/nin_lookups"
payload := strings.NewReader("{\n \"nin\": \"12345678901\",\n \"consent\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/identities/nin_lookups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nin' => '12345678901',
'consent' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "nin_lookup",
"id": "ninl_6x9CKdEGQkJAbby8D1u7kN",
"nin": "12345678901",
"first_name": "ADA",
"middle_name": "CHIOMA",
"last_name": "OBI",
"gender": "female",
"date_of_birth": "1990-04-12",
"phone": "08031234567",
"address": "12 ADMIRALTY WAY, LEKKI, LAGOS",
"photo": "data:image/jpeg;base64,/9j/4AAQSkZJRgABA…",
"nimc_data": {},
"amount_charged": "100.00",
"transaction_id": "wtx_0hA6wRH6yeYHTLfRjK4Bxn",
"created_at": "2026-10-26T05:55:58Z"
}{
"error": {
"type": "invalid_request_error",
"code": "consent_required",
"message": "Set consent to true to confirm the person whose NIN this is agreed to the lookup.",
"param": "consent",
"request_id": "req_xcacu6qO33kUNHSxBjY5G9Yd"
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_hXO9uf6JYXxTYMz20Du2lF8n"
}
}{
"error": {
"type": "payment_error",
"code": "insufficient_balance",
"message": "Your balance is ₦0.00; a NIN lookup costs ₦100.00. Fund your wallet by bank transfer to your funding account, then try again.",
"param": null,
"request_id": "req_T3QuXz9S4mAUr6Ilj7UfFnD3",
"details": {
"amount_due": "100.00",
"balance": "0.00",
"currency": "NGN",
"funding_account": {
"account_number": "0000000000",
"bank_name": "TEST BANK",
"account_name": "FastCAC - TEST MODE"
}
}
}
}{
"error": {
"type": "permission_error",
"code": "live_mode_unavailable",
"message": "Live registrations are paused right now. Use a test key (fc_test_…) meanwhile.",
"param": null,
"request_id": "req_gXc3KKfa1egcBqGIxApcVRIr"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_5pBegFvIypCQp0ZmlXajiiet"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "nin_not_found",
"message": "NIMC has no record of that NIN. Check the number. You weren't charged.",
"param": "nin",
"request_id": "req_SBKLBRia3TtzbQESMsQ1vznD"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Authorizations
Your secret API key: fc_test_… in test mode, fc_live_… in live mode.
Query Parameters
Test keys only: nin_not_found (422) or insufficient_balance (402). Ignored with a live key.
Body
Response
Successful Response
ninl_…: pass it as a proprietor's nin_lookup, or to use the photo as the passport.
As NIMC holds it (usually upper case).
Goes in the proprietor's other_names.
male, female YYYY-MM-DD.
NIMC's residence address as one line; the registration takes it in parts.
NIMC's photo as a data: URI (JPEG).
Every other field NIMC returned, as it came.
What the lookup cost, in naira, as a decimal string.
The wtx_… nin_lookup_charge.
"nin_lookup"