DocsOCR SIM API
OCR SIM API
Extract detailed personal identity, driver class classification, and expiry metadata from Indonesian Driving Licenses (SIM).
POST
http://178.105.157.85:3000/api/ocr?type=SIMRequest Example
cURL
curl -X POST \
"http://178.105.157.85:3000/api/ocr?type=SIM" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "image=@/path/to/document.jpg"Authentication Header
Authorization: Bearer YOUR_API_KEY
Generate an API key from your Dashboard → API Keys panel. For testing server/sandbox local environments, key verification is bypassed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
image | File | Yes | SIM card image file (JPG, PNG) |
enhance | Boolean | No | Enable image brightness/contrast enhancement |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | String | Yes | Bearer YOUR_API_KEY (Optional for local sandbox) |
Content-Type | String | Yes | multipart/form-data |
Response Example
JSON
{
"success": true,
"data": {
"golongan": "A",
"nomor_sim": "980712938450",
"nama": "JESSICA CLARA",
"alamat": "JL. KEMANG RAYA NO. 12",
"tempat_lahir": "BANDUNG",
"tanggal_lahir": "20-11-1999",
"pekerjaan": "MAHASISWA",
"penerbit": "POLRESTABES BANDUNG",
"berlaku_hingga": "20-11-2030"
},
"confidence": 92.45,
"processing_time": 0.45
}Rate Limit
Depending on your plan. Check your dashboard for current limits.