API v1
Triimo Identity API

API Reference

Verify Nigerian identities — NIN, BVN, CAC, TIN and bank accounts — through one REST API with a single, provider-independent response shape. Every call returns the same envelope and the same error vocabulary, whichever underlying provider served it.

REST · JSONAPI-key authLive & sandboxStandardized errors

Authentication

Authenticate every request with your secret API key in the x-api-key header. Keys are prefixed by environment — live_… for production and sandbox_… for testing. Never expose a key in client-side code.

HeaderValue
x-api-key requiredlive_… or sandbox_…
Content-Typeapplication/json
!

Sandbox keys return realistic fixtures and are never billed. Switch to a live_ key and the same request hits the real NIBSS / NIMC sources.

Authorization
curl https://api.triimo.com/api/v1/kyc/nin \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "nin": "12345678901" }'

Base URLs

EnvironmentBase URLKeys
Productionhttps://api.triimo.com/api/v1live_…
Sandboxhttps://sandbox.triimo.com/api/v1sandbox_…

Response format

Every response uses the same envelope. success is a boolean, message is a human-readable summary, and successful calls include data. Failures add an error object with a stable code you can branch on — the same codes regardless of which provider handled the lookup.

Success

HTTP 200. data holds the verified record.

Error

Non-2xx. error.code is one of the canonical codes; error.retryable tells you whether a retry (with backoff) can succeed.

200 OK
{
  "success": true,
  "message": "NIN lookup completed successfully",
  "data": { /* verified record */ }
}

Error codes

One vocabulary across every endpoint and provider. Branch on error.code, not on the message text (messages may be refined over time).

CodeHTTPRetryableMeaning
INVALID_INPUT400noMalformed input — e.g. a NIN that isn't 11 digits.
PROVIDER_UNAUTHORIZED401noVerification service credentials are missing or invalid.
PROVIDER_FORBIDDEN403noThis service is not enabled for your account.
RECORD_NOT_FOUND404noNo record exists for the details provided.
PROVIDER_INSUFFICIENT_FUNDS402noWallet balance is too low for this operation.
VALIDATION_FAILED422noThe request failed upstream validation.
PROVIDER_RATE_LIMITED429yesToo many requests. Back off and retry.
UNSUPPORTED_OPERATION501noThis lookup type isn't supported.
PROVIDER_ERROR502yesUpstream provider failure. Retry shortly.
PROVIDER_UNAVAILABLE503yesNetwork/timeout reaching the provider. Retry.
UNKNOWN_ERROR500noAn unexpected error. Contact support if it persists.

HTTP status codes

200OK

Request succeeded; the record is in data.

400Bad Request

Malformed input, e.g. an invalid identifier.

401Unauthorized

Missing or invalid API key.

402Payment Required

Insufficient wallet balance — top up to continue.

404Not Found

No matching record in the source database.

429Too Many Requests

Rate limit hit — retry with backoff.

500Server Error

Unexpected error on our side.

502/503Upstream

Provider failed or was unreachable — retryable.

Verify NIN

Verify an 11-digit National Identification Number against NIMC and return the individual's identity record.

POST/api/v1/kyc/nin

Body parameters

FieldTypeDescription
nin requiredstringThe 11-digit NIN to verify.

Returns

A record with firstname, middlename, surname, gender, birthdate, telephoneno, residence_address, nin and a base64 photo. Fields the source leaves blank are omitted.

i

The response is identical whichever provider served it. Billing applies on a successful verification; failed lookups follow your account's failed-check policy.

Request
curl -X POST https://api.triimo.com/api/v1/kyc/nin \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "nin": "12345678901" }'
200 OKVerified
{
  "success": true,
  "message": "NIN lookup completed successfully",
  "data": {
    "firstname": "CHINWE",
    "middlename": "ADAEZE",
    "surname": "OKAFOR",
    "gender": "f",
    "birthdate": "18-06-1992",
    "telephoneno": "08031234567",
    "residence_address": "14 BROAD STREET, LAGOS ISLAND",
    "nin": "12345678901",
    "photo": "data:image/jpeg;base64,/9j/4AAQSk…"
  }
}

Verify BVN

Verify an 11-digit Bank Verification Number against NIBSS and return the linked identity record.

POST/api/v1/kyc/bvn

Body parameters

FieldTypeDescription
bvn requiredstringThe 11-digit BVN to verify.

Returns

Name, date of birth, gender, phone, enrollment bank and branch, and a base64 photo.

Request
curl -X POST https://api.triimo.com/api/v1/kyc/bvn \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "bvn": "22468953278" }'
200 OKVerified
{
  "success": true,
  "message": "BVN verified successfully",
  "data": {
    "first_name": "AMINA",
    "middle_name": "CHIOMA",
    "last_name": "BELLO",
    "gender": "f",
    "date_of_birth": "1985-04-12",
    "phone_number": "08098765432",
    "enrollment_bank": "Guaranty Trust Bank",
    "enrollment_branch": "Maitama"
  }
}

Get a verification

Retrieve a previously performed lookup by its id.

GET/api/v1/kyc/{id}

Returns the stored record for any lookup, including its status, lookupType and data.

Verify TIN

Verify a Tax Identification Number (FIRS) and return the registered taxpayer. Synchronous — the result is returned immediately.

POST/api/v1/kyc/tin

Body parameters

FieldTypeDescription
number requiredstringThe TIN to verify, e.g. 12345678-0001.
Request
curl -X POST https://api.triimo.com/api/v1/kyc/tin \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "number": "12345678-0001" }'
200 OK
{
  "success": true,
  "message": "TIN lookup completed successfully",
  "data": {
    "tin": "12345678-0001",
    "taxpayer_name": "ACME CORPORATION LIMITED",
    "cac_reg_number": "RC123456",
    "phone": "08012345678",
    "email": "info@acme.ng"
  }
}

Verify account number

Resolve a Nigerian bank account number to its registered account name. Use the bank's NIP code (see Supported banks).

POST/api/v1/kyc/account-number

Body parameters

FieldTypeDescription
account_number requiredstringThe 10-digit account number.
nip_code requiredstringThe bank's NIP code, e.g. 058.
Request
curl -X POST https://api.triimo.com/api/v1/kyc/account-number \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "account_number": "0123456789", "nip_code": "058" }'
200 OK
{
  "success": true,
  "message": "Account verified",
  "data": {
    "account_number": "0123456789",
    "account_name": "JOHN ADEYEMI OKORO",
    "nip_code": "058"
  }
}

CAC company search

Search the Corporate Affairs Commission register by company name, then enrich a result with directors, shareholders or the company secretary. For a direct RC-number lookup use /kyc/cac/full.

POST/api/v1/kyc/cac/search

Body parameters

FieldTypeDescription
searchQuery requiredstringCompany name to search for.

Related

POST /kyc/cac/full { "rcNumber": "760000" } · /kyc/cac/directors · /kyc/cac/shareholders · /kyc/cac/secretary — each enriches the same company record.

Request
curl -X POST https://api.triimo.com/api/v1/kyc/cac/search \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "searchQuery": "ACME CORPORATION" }'
200 OK
{
  "success": true,
  "message": "CAC search completed",
  "data": [
    {
      "approved_name": "ACME CORPORATION LIMITED",
      "rc_number": "RC123456",
      "registration_date": "2015-03-12",
      "status": "ACTIVE"
    }
  ]
}

Bulk lookups

Submit many identifiers in one request. Bulk lookups are processed asynchronously — you get a job id back immediately, then poll it. Available for NIN, BVN, TIN, account number and CAC: /kyc/{type}/bulk.

POST/api/v1/kyc/nin/bulk

Body parameters

FieldTypeDescription
records requiredarrayEach item is the single-lookup body for that type, e.g. { "nin": "…" }.

Poll the job

GET /kyc/bulk/{id} for status, GET /kyc/bulk/{id}/lookups for the individual results.

Request
curl -X POST https://api.triimo.com/api/v1/kyc/nin/bulk \
  -H "x-api-key: live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "records": [ {"nin":"12345678901"}, {"nin":"12345678902"} ] }'
200 OK
{
  "success": true,
  "message": "Bulk NIN lookup submitted",
  "data": {
    "id": "blk_8f2a1c7e",
    "status": "queued",
    "total": 2
  }
}

Supported banks

List the Nigerian banks supported for account verification, with their NIP codes. This endpoint is public — no API key required.

GET/api/v1/supported-banks

Query parameters

FieldTypeDescription
searchstringOptional. Filter banks by name (case-insensitive).
200 OK
{
  "success": true,
  "data": [
    { "name": "Guaranty Trust Bank", "nip_code": "058" },
    { "name": "Access Bank", "nip_code": "044" }
  ]
}
Triimo Identity API · v1 — Built for enterprise and banking integrations. Standardized responses, one error vocabulary, provider-independent by design.