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
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Identity type: bvn, nin, tin, voter, passport, phone, license |
value | string | Yes | The identity number to look up |
purpose | string | Yes | Why you are looking this person up (1 to 200 characters) |
consentReference | string | Yes | Your 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
}
}
| Field | Type | Description |
|---|---|---|
found | boolean | Whether a record was found |
outcome | string | found; not_found: a provider answered that the number is not on the register (billed); provider_down: no provider could answer (not billed) |
type | string | The identity type that was queried |
value | string | The identity number that was queried |
profile | object | Standardized profile data |
raw | object | { 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 |
provider | string | Which provider in the fallback chain returned the data |
retrievedAt | string | ISO 8601 timestamp of retrieval |
cached | boolean | Whether 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');
}
Error responses
| Code | Description |
|---|---|
BAD_REQUEST | Missing type or value, or invalid identity type |
NOT_FOUND | No identity record found for the given type and value |
FORBIDDEN | API key does not have the identity:lookup scope |
DETECTION_PACK_REQUIRED / FRAUD_TERMS_REQUIRED | 402: the Detection Pack is off, or its current terms are not accepted |
RATE_LIMITED | Exceeded plan limit for identity lookup requests |