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. Standalone OCR

Kenya ๐Ÿ‡ฐ๐Ÿ‡ช

Verify if a Kenyan ID document is legit through OCR

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

Last updated 3 years ago

How It Works

The endpoint is constructed as follows.

https://api.appruve.co/v1/ocr_jobs/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/ocr_jobs/ke/passport' \
--header 'Authorization: Bearer TOKEN' \
--form 'id_image=@"/path/ke_passport.jpg"'

An example response is given below.

{
    "id_details": {
        "front_id": {
            "id_number": "12345678",
            "first_name": "John",
            "middle_name": "",
            "last_name": "Doe",
            "date_of_birth": "1993-05-02",
            "gender": "M",
            "issue_date": "2020-03-11",
            "expiry_date": "2025-05-02",
        },
        "back_id": null
    },
    "front_id_submitted": "URL",
    "back_id_submitted": null,
    "front_id_face_photo": "URL",
    "document_analyses": [
        {
            "type": "TEMPLATE_MATCHING",
            "is_check_successful": true,
            "data": null
        },
        {
            "type": "MRZ_CHECK",
            "is_check_successful": true,
            "data": {
                "is_first_name_match": true,
                "is_last_name_match": true,
                "first_name": "John",
                "last_name": "Doe",
                "country": "KEN",
                "nationality": "KEN"
            }
        }
    ],
    "id_confidence_score": 100
}
File Object