Documentation
Dokai is a REST API that extracts structured data from identity documents. Upload an image of a passport, national ID, or driver's license and get clean JSON back in seconds.
Base URL: https://api.dokai.dev
Explore the docs
Quick Start
Create an account, get an API key, and parse your first document in minutes.
Authentication
Learn about API key formats, Bearer tokens, and test vs live environments.
Parse Document
Submit a document image and receive structured JSON data back.
Retrieve Result
Fetch a previously parsed result by its ID.
Usage & Billing
Check your current plan usage, quotas, and billing period.
Scam Search
Check phone numbers, bank accounts, and company names against Malaysian scam databases.
Verify Identity
Upload a document and selfie for KYC verification with face matching and liveness detection.
Hosted Verification
Create a white-label verification URL for end-users to complete identity verification.
Error Handling
Understand error responses, status codes, and rate limiting.