Get started
Make your first request
Create one API key, then search the CAC register or verify a document with it. Both endpoints share the same host and authentication.
Step 1
Get an API key
Create a key in the API key portal and choose the products it can call:cac:search for CAC Company Info and document:verify for Document Verification. One key can carry both. You can rotate or revoke it from the same page; a revoked key stops working within about 60 seconds.
Keys start with nck_test_ or nck_live_. Both currently reach the same production services; there is no sandbox yet, so use the prefix to keep your own environments apart.
A key is displayed once. Store it in a secret manager or server environment variable; never embed it in browser or mobile code.
Step 2
Search the CAC register
curl --request POST 'https://api.nairacheck.com/v1/companies/search' \
--header "Authorization: Bearer $NAIRACHECK_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"search_type": "ALL",
"search_term": "zenith",
"limit": 25,
"offset": 0
}'{
"request_id": "req_9f4c2b7a8d1e4f60",
"search_type": "ALL",
"search_term": "zenith",
"cached": false,
"pagination": { "total": 48, "limit": 25, "offset": 0, "has_more": true },
"data": [
{
"approved_name": "ZENITH BANK PLC",
"rc_number": "150224",
"entity_type": "COMPANY",
"status": "ACTIVE"
}
]
}No matches is a successful result with an empty data array. Use the request ID when contacting support. Full reference: CAC Company Info.
Step 3
Verify a document
Upload a PDF or image up to 5 MB, or send a documentUrl as JSON. With the AI review a request typically takes 15–30 seconds, so set a client timeout of at least 60 seconds.
curl --request POST 'https://api.nairacheck.com/v1/document/verify' \
--max-time 90 \
--header "Authorization: Bearer $NAIRACHECK_API_KEY" \
--form file=@receipt.pdf \
--form referenceId=ref_123{
"status": "COMPLETED",
"reference_id": "ref_123",
"verdict": "AUTHENTIC",
"risk_score": 3.0,
"recommendation": "ACCEPT",
"summary": "The receipt is internally consistent and shows no signs of editing…",
"document": { "kind": "pdf", "sha256": "4b7e…", "page_count": 1 },
"forensics": { "score": 0.0, "worst_severity": "INFO", "findings": [] },
"processing_ms": 16210
}Branch on verdict: AUTHENTIC, SUSPICIOUS or TAMPERED. A failure returns status: "FAILED" with an error code instead. Full reference: Verify a document.