DocsOCR SIM API

OCR SIM API

Extract detailed personal identity, driver class classification, and expiry metadata from Indonesian Driving Licenses (SIM).

POSThttp://178.105.157.85:3000/api/ocr?type=SIM

Request 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

NameTypeRequiredDescription
imageFileYesSIM card image file (JPG, PNG)
enhanceBooleanNoEnable image brightness/contrast enhancement

Headers

NameTypeRequiredDescription
AuthorizationStringYesBearer YOUR_API_KEY (Optional for local sandbox)
Content-TypeStringYesmultipart/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.