PlatformXeDocs
Get API Key

Lookup Identity

API reference for raw single-ID data retrieval without cross-resolution.

Look up a single identity number and retrieve the associated profile data. Unlike the Resolve endpoint, lookup returns raw data from a single provider without cross-resolving linked identifiers through the NIN hub.

Endpoint

GET /api/v1/identity/lookup

Scope: identity:lookup. No default key and no self-registered developer key carries it; ask Caldera for it. A key of your organisation must name it: since 2026-11-17 a key with no scopes, an empty list or the wildcard * is refused here.

Gates (2026-11-07): the Detection Pack addon and the current Fraud Detection Engine terms (402 DETECTION_PACK_REQUIRED / FRAUD_TERMS_REQUIRED), a stated purpose and a consentReference (400 without them; logged with the call). A photo is never returned.

Billing: you pay for the work, not the result. A lookup a provider answered is billed as one identity check, whether the number was found or not. Nothing is billed when no provider could answer. The answer's outcome says which: found and not_found are billed, provider_down is not. The consent log records the consentReference and the purpose.

Query parameters

ParameterTypeRequiredDescription
typestringYesIdentity type: bvn, nin, tin, voter, passport, phone, license
valuestringYesThe identity number to look up
purposestringYesWhy you are looking this person up (1 to 200 characters)
consentReferencestringYesYour reference for the person's consent (1 to 200 characters)

Response

{
  "success": true,
  "data": {
    "found": true,
    "outcome": "found",
    "type": "bvn",
    "value": "22345678901",
    "profile": {
      "firstName": "Adaeze",
      "lastName": "Okonkwo",
      "middleName": "Ngozi",
      "dateOfBirth": "1990-05-15",
      "gender": "female",
      "phone": "+2348012345678",
      "email": "adaeze@example.com",
      "address": "12 Marina Road, Lagos"
    },
    "raw": {
      "provider": "primary"
    },
    "provider": "primary",
    "retrievedAt": "2026-04-05T14:30:00.000Z",
    "cached": false
  }
}
FieldTypeDescription
foundbooleanWhether a record was found
outcomestringfound; not_found: a provider answered that the number is not on the register (billed); provider_down: no provider could answer (not billed)
typestringThe identity type that was queried
valuestringThe identity number that was queried
profileobjectStandardized profile data
rawobject{ provider } only: which provider answered (on a not_found, the provider that said so, also in notFoundBy); "none" only when no provider answered (provider_down). Since 2026-11-18 the vendor's own response is never returned (it could carry the registry photo); before, raw held the provider-specific fields
providerstringWhich provider in the fallback chain returned the data
retrievedAtstringISO 8601 timestamp of retrieval
cachedbooleanWhether the result was served from cache

Lookup results are cached in Redis with a 24-hour TTL. The cached field indicates whether the response came from cache. No PII is persisted to the database.

Examples

curl

curl -G https://api.platformxe.com/api/v1/identity/lookup \
  -H "x-api-key: pxk_live_your_api_key_here" \
  -d "type=bvn" \
  -d "value=22345678901" \
  -d "purpose=tenant onboarding" \
  -d "consentReference=cons_8f2a"

SDK

import { PlatformXeClient } from '@caldera/platformxe-sdk';

const px = new PlatformXeClient({ apiKey: 'pxk_live_your_api_key_here' });

const result = await px.identity.lookup({
  type: 'bvn',
  value: '22345678901',
});

if (result.data.found) {
  console.log(result.data.profile.firstName);
  // "Adaeze"

  console.log(result.data.raw.provider);
  // "primary"
} else {
  console.log('No record found');
}

Use lookup when you need raw profile data for a known identity number. Use Resolve when you need to cross-reference multiple linked identifiers, and Verify when you need to match against expected biographical data.

Error responses

CodeDescription
BAD_REQUESTMissing type or value, or invalid identity type
NOT_FOUNDNo identity record found for the given type and value
FORBIDDENAPI key does not have the identity:lookup scope
DETECTION_PACK_REQUIRED / FRAUD_TERMS_REQUIRED402: the Detection Pack is off, or its current terms are not accepted
RATE_LIMITEDExceeded plan limit for identity lookup requests