Identity Base
Identity Base
DashboardAPI Reference

Documentation

IntroductionAuthenticationEnvironmentsVerify BVNVerify NINVerify CACVerify TINVerify SelfieError Codes

Need Help?

Our developer support team is available 24/7 for integration assistance.

v1.0.0 Stable
Last Updated: July 2026

API Documentation

Build secure onboarding flows with Nigeria's most reliable identity verification API. Verify BVN, NIN, CAC, and more in real-time.

Fast Integration

Go live in under 30 minutes with our standardized REST endpoints.

Bank-Grade Security

All requests are encrypted and audited against Nigerian regulatory standards.

Authentication

Identity Base uses a dual-header authentication model for programmatic access. Every request must include your secret API key.

Request Headers

# Use your revealed secret key

id-base-key: id_live_...

Content-Type: application/json

Keep your keys safe: Never expose your API keys in client-side code or public repositories. If a key is compromised, revoke it immediately in the Dashboard.

Environments

Identity Base uses a unified endpoint for all requests. Your environment is automatically determined by the API key used in the id-base-key header.

Base API URLs

Live:https://api.idbase.co/api/v1
Test:https://testapi.idbase.co/api/v1
id_test_...
Sandbox Mode
id_live_...
Live Mode

Development (Sandbox)

Use your test keys to integrate and test your logic. No real funds are deducted, and synthetic data is returned.

Production (Live)

Swap to your live keys to begin real-time registry lookups. Transaction fees apply per successful verification.

Verify BVN

Bank Verification Number

POST
/verify/bvn

Performs a real-time BVN verification against the Nigerian identity registry. The BVN must be exactly 11 numeric digits.

Endpoint & Headers

POSThttps://api.idbase.co/api/v1/verify/bvn
POSThttps://testapi.idbase.co/api/v1/verify/bvn
id-base-key: YOUR_API_KEY

Request Body

{
  "bvn": "12345678901"
}

Payload Fields

FieldTypeRequired
bvnstring (11)

Success Response

{
  "msg": "Success",
  "data": {
    "firstName": "John",
    "lastName": "Doe",
    "middleName": "Emeka",
    "dateOfBirth": "1990-01-15",
    "gender": "Male",
    "phoneNumber": "08012345678",
    "bankName": "First Bank",
    "watchListed": false
  }
}

Verify NIN

National Identification Number

POST
/verify/nin

Verify a NIN against the NIMC registry. Returns full identity details including the registered photo.

Endpoint & Headers

POSThttps://api.idbase.co/api/v1/verify/nin
POSThttps://testapi.idbase.co/api/v1/verify/nin
id-base-key: YOUR_API_KEY

Request Body

{
  "nin": "98765432101"
}

Response Fields

firstName, lastName, middleName
dateOfBirth, gender, phoneNumber
address, stateOfOrigin, lga
photo (base64)

Verify CAC

Corporate Affairs Commission

POST
/verify/cac

Verify Nigerian business entities by their registration number and business type.

Endpoint & Headers

POSThttps://api.idbase.co/api/v1/verify/cac
POSThttps://testapi.idbase.co/api/v1/verify/cac
id-base-key: YOUR_API_KEY

Example Payload

{
  "rc": "RC123456",
  "type": "RC"
}

Type Enums

RCRegistered Company
BNBusiness Name
ITIncorporated Trustee

Verify TIN

Tax Identification Number

POST
/verify/tin

Verify Tax Identification Numbers (TIN) issued by FIRS. Supports both individual and company TINs.

Endpoint & Headers

POSThttps://api.idbase.co/api/v1/verify/tin
POSThttps://testapi.idbase.co/api/v1/verify/tin
id-base-key: YOUR_API_KEY

TIN Formatting

Must be between 10 and 13 alphanumeric characters. Individual TINs are typically 10 digits; company TINs may be up to 13 characters.

Verify Selfie

Liveliness Enrollment & Authentication

POST
/verify/selfie

Performs real-time liveliness enrollment and facial authentication by comparing a live selfie capture against a photo ID image. Both images must be base64-encoded strings.

Endpoint & Headers

POSThttps://api.idbase.co/api/v1/verify/selfie
POSThttps://testapi.idbase.co/api/v1/verify/selfie
id-base-key: YOUR_API_KEY

Request Body

{
  "idImage": "<base64-encoded-id-photo>",
  "selfieImage": "<base64-encoded-selfie>"
}

Payload Fields

FieldTypeRequired
idImagestring (base64)
selfieImagestring (base64)

Success Response

{
  "msg": "Success",
  "data": {
    "match": true,
    "confidence": 0.98,
    "livelinessCheck": "passed"
  }
}

Image guidelines: Images should be well-lit, front-facing captures with no obstructions. Test mode returns synthetic match data and does not deduct wallet balance.

Error Handling

StatusMessageDescription
400Bad RequestInsufficient funds or missing required fields.
401UnauthorizedInvalid or missing API key.
403ForbiddenAccount is not active or service is disabled by admin.
402Insufficient FundsYour wallet balance is too low for this request (Live mode only).
500Server ErrorIdentity provider timeout or internal failure.
Identity Base
Identity Base

Built with ❤️ for Nigerian Developers.

Terms of ServicePrivacy PolicySystem Status

© 2024 Stringify Consulting Limited