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.
Error Handling
Understand error responses, status codes, and rate limiting.