Identity
People's identity records: national ID, alien ID and passport (IPRS), and driving licences and PSV badges (NTSA).
National ID, alien ID or passport (IPRS)
Looks up a national ID, alien ID or passport in IPRS by its document type and number, and returns the holder's registered names, date of birth, gender and citizenship.
Price: set by your bundle; one charge per call. "Not found" answers (result.found: false) are charged. Source failures return 502 and are refunded.
Try it: press Test on the request panel, choose ApiKey under Authentication and paste your test key (kept for this browser session). Use Example loads a scenario for each outcome. Test keys return sandbox sample data, free.
Headers
Idempotency-KeyMakes retries safe: a repeat with the same key and body returns the original verification without charging again. Up to 255 characters.
National ID, alien ID or passport (IPRS) › Request Body
idTypeKind of document idNumber belongs to.
idNumber^[A-Z0-9]{4,20}$ · requiredDocument number. National IDs are 6-10 digits.
National ID, alien ID or passport (IPRS) › Responses
Verification completed; see result.
idUnique id; use it to fetch the verification again.
apiThe verification API that was called, e.g. identity.national-id.
statusCOMPLETED includes "not found" answers; FAILED means the source failed and the charge was refunded.
environmentTEST for test keys (sandbox data), LIVE for live keys.
The answer, specific to each API (see its examples). Always has found: false when the source holds no record.
errorSet when status is FAILED.
costAmount charged in KES, as a decimal string. "0" for test keys and failed verifications.
createdAtlatencyMsTime the source took to answer, in milliseconds.
completedAtDriving licence & PSV badge (NTSA)
Looks up the driving licence held under a Kenyan national ID number in NTSA: holder name, licence number, status, classes and expiry date, plus the PSV badge (number, status, expiry, licensed for) when the holder has one (psvLicence, otherwise null).
Price: set by your bundle; one charge per call. "Not found" answers (result.found: false) are charged. Source failures return 502 and are refunded.
Try it: press Test on the request panel, choose ApiKey under Authentication and paste your test key (kept for this browser session). Use Example loads a scenario for each outcome. Test keys return sandbox sample data, free.
Headers
Idempotency-KeyMakes retries safe: a repeat with the same key and body returns the original verification without charging again. Up to 255 characters.
Driving licence & PSV badge (NTSA) › Request Body
idNumber^\d{6,10}$ · requiredNational ID number of the licence holder.
Driving licence & PSV badge (NTSA) › Responses
Verification completed; see result.
idUnique id; use it to fetch the verification again.
apiThe verification API that was called, e.g. identity.national-id.
statusCOMPLETED includes "not found" answers; FAILED means the source failed and the charge was refunded.
environmentTEST for test keys (sandbox data), LIVE for live keys.
The answer, specific to each API (see its examples). Always has found: false when the source holds no record.
errorSet when status is FAILED.
costAmount charged in KES, as a decimal string. "0" for test keys and failed verifications.
createdAtlatencyMsTime the source took to answer, in milliseconds.
completedAt