Main API Docs
  • Welcome!
  • General
    • Introduction
    • Authentication
    • Personal Access Tokens
    • Test IDs
    • Check Wallet Balance
  • Appruve Identity
    • Introduction
    • Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
      • Verify Ghana TIN
      • Verify Ghana Driver License
      • Verify Ghana SSNIT ID
      • Verify Ghana Passport
      • Verify Ghana Voter ID
      • Verify Ghana Digital Address
    • Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
      • Verify Nigeria TIN
      • Verify Nigeria Driver License
      • Verify Nigeria NIN
      • Verify Nigeria vNIN
      • Verify Nigeria Voter ID
      • Verify Nigeria BVN
    • Kenya ๐Ÿ‡ฐ๐Ÿ‡ช
      • Verify Kenya KRA PIN
      • Verify Kenya National ID
    • Uganda ๐Ÿ‡บ๐Ÿ‡ฌ
      • Verify Uganda Voter ID
      • Verify Uganda Telco Subscriber
      • BulK Uganda Telco Subscriber Verification
  • Appruve Business
    • Introduction
    • Business Lookups
      • Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
        • Lookup with CAC number
        • Lookup using Tax ID (TIN)
      • Uganda Business Lookup ๐Ÿ‡บ๐Ÿ‡ฌ
      • Ghana Business Lookup ๐Ÿ‡ฌ๐Ÿ‡ญ
    • Business Beneficial Ownership
      • Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
  • Appruve Agency
    • OCR For Sequential Verification
      • Senegal ๐Ÿ‡ธ๐Ÿ‡ณ
      • Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
      • Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
      • Kenya ๐Ÿ‡ฐ๐Ÿ‡ช
      • Cรดte d'Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ
      • Cameroon ๐Ÿ‡จ๐Ÿ‡ฒ
    • Standalone OCR
      • Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
      • Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
      • Kenya ๐Ÿ‡ฐ๐Ÿ‡ช
      • Cรดte d'Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ
      • Cameroon ๐Ÿ‡จ๐Ÿ‡ฒ
      • Senegal ๐Ÿ‡ธ๐Ÿ‡ณ
    • Perform Face Matching
    • Upload Selfie Photo
    • Get Liveness Detection Challenge
    • Verify Liveness Detection Challenge
    • Confirm Extracted ID Number
    • Verify Business Document By OCR
    • Verify Nigeria vNIN with selfie
  • Guides
    • Webhooks
    • ID Document to Selfie Matching
  • Mobile Sdks
    • Android SDK
    • iOS SDK
  • Resources
    • Country Codes
    • ID Types
    • Face Liveness Check
Powered by GitBook
On this page
  1. Appruve Agency
  2. OCR For Sequential Verification

Kenya ๐Ÿ‡ฐ๐Ÿ‡ช

Extract PII data from Kenyan ID documents

PreviousGhana ๐Ÿ‡ฌ๐Ÿ‡ญNextCรดte d'Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ

Last updated 3 years ago

How It Works

Appruve's OCR API allows you to extract the Personally identifiable information from a Kenyan ID document including the ID face photo. The endpoint is constructed as follows.

https://api.appruve.co/v1/verifications/selfie_image/ocr/ke/{id_type}

id_type should be replaced with the specific ID type. Supported ID types are passport, and, national_id .

The request is a multipart POST request as shown in the example below. The id_image parameter is required and the value could be a or a web URL.

curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ke/national_id' \
--header 'Authorization: Bearer TOKEN' \
--form 'id_image=@"/path/ke_national_id.jpg"'

An example response is given below.

{
    "id_details": {
        "first_name": "John",
        "last_name": "Doe",
        "id_number": "1234567",
        "date_of_birth": "1991-06-14",
        "issue_date": "2016-12-20",
        "expiry_date": "",
        "gender": "F",
        "id_photo": "Signed URL of the extracted id face photo"
    },
    "transaction_reference": "dd8ad095-3f46-48d7-bdb6-adc5c8fc41cd",
    "face_sharpness": 46.03,
    "face_brightness": 34.77,
    "is_reenrollment": true
}

The returned transaction_reference value should be used for the endpoint.

File Object
Upload Selfie