Turkey Driving Licence (Sürücü Belgesi) OCR API

Read the Turkish sürücü belgesi from a photo and get the licence number, name, dates and classes as structured JSON. Upload an image below to test it free.

200 free credits = 100 Driver License scans, no credit card. Then from $5 for 500 credits, pay as you go. See pricing

Diagram of the API reading a Turkish sürücü belgesi and returning the fields as JSON.

What Makes the Turkish sürücü belgesi Hard to Parse

The Turkish sürücü belgesi is issued by the General Directorate of Population and Citizenship Affairs (Nüfus ve Vatandaşlık İşleri). The Turkish sürücü belgesi (ehliyet) follows the EU numbered-field layout, and field 4d carries the holder's T.C. Kimlik No. Fields 1 and 2 hold the surname and name, 3 the date and place of birth, 4a and 4b the issue and expiry dates, 5 the licence number and 9 the classes.

One API Call, Named Fields

The StructOCR Driver License OCR API returns the licence number (field 5), surname and name (fields 1 and 2), date and place of birth (field 3), issue and expiry dates (4a, 4b), T.C. Kimlik No. where printed (4d) and classes (field 9). Turkish cards print dates as DD.MM.YYYY; the API returns them as YYYY-MM-DD. Send a JPG, PNG, WebP or PDF as Base64 JSON or as a multipart upload; there is no SDK to embed in your app, although official Python and Node.js SDKs are available. Step-by-step code is in the Python guide and Node.js guide. Usage is billed per successful scan with pay-as-you-go pricing.

Live Demo: Driver License OCR Scanner

No registration required. Upload a file to test the extraction.

1
Upload
2
Results
↑

Drop files here or click to browse

JPG · PNG · PDF · TIFF  ·  up to 500 files · max 4.5 MB each

No document handy?

No files selected
Need more testing? Create a free account to get 200 free credits (equals 100 Driver License scans).

Where Teams Use It in Turkey

Araç kiralama

Aracı teslim etmeden önce ehliyet sınıfını ve geçerlilik tarihini kontrol edin.

Kurye ve teslimat platformları

Kuryelerin ehliyet bilgilerini fotoğraftan alın.

Sigorta

Sürücü bilgilerini poliçe tekliflerine otomatik doldurun.

Technical Specs

  • Endpoint: POST https://api.structocr.com/v1/driver-license
  • Input: JPG, PNG, WebP or PDF up to 4.5 MB, as Base64 JSON or multipart upload
  • Price: 2 credits per successful scan; new accounts get 200 free credits (100 scans)
  • Retention: Images and results are kept for at most 24 hours for quality spot-checks, then deleted

Key Features

  • Named fields: The licence number (field 5), surname and name (fields 1 and 2), date and place of birth (field 3), issue and expiry dates (4a, 4b), T.C. Kimlik No. where printed (4d) and classes (field 9).
  • Normalized dates: Turkish cards print dates as DD.MM.YYYY; the API returns them as YYYY-MM-DD.
  • Good to know: The T.C. Kimlik No. is sensitive. Mask or discard it unless your process needs it.

Integration & AI Prompts

Install the official SDK and pass a photo of the licence. Full request and response details are in the driver license API reference.

# pip install structocr
import os
from structocr import StructOCR

client = StructOCR(api_key=os.environ["STRUCTOCR_API_KEY"])
result = client.scan_driver_license("licence.jpg")

if result.get("success"):
    data = result["data"]
    print(data["document_number"], data["surname"], data["date_of_expiry"])

Standardized JSON Output

An illustrative response for a Turkish sürücü belgesi, with fictional values.

{
  "success": true,
  "data": {
    "type": "drivers_license",
    "country_code": "TUR",
    "region": null,
    "document_number": "123456",
    "personal_number": null,
    "surname": "YILMAZ",
    "given_names": "AYŞE",
    "sex": null,
    "date_of_birth": "1993-09-09",
    "place_of_birth": "İSTANBUL",
    "date_of_issue": "2022-01-20",
    "date_of_expiry": "2032-01-20",
    "date_of_first_issue": null,
    "issuing_authority": null,
    "address": null,
    "vehicle_class": "B"
  }
}

Frequently Asked Questions

Can I test the Turkish sürücü belgesi scan for free?

Yes. Upload a photo in the live demo on this page without an account, or create an account to get 200 free credits, enough for 100 licence scans through the API.

Is the T.C. Kimlik No. returned?

When field 4d is legible it can be returned as personal_number. Treat it as sensitive.

Are Turkish characters kept?

Yes. Names are returned as printed, with Turkish characters.

Do I need an SDK?

No. It is a plain REST API that accepts Base64 JSON or a multipart upload. Official Python and Node.js SDKs are available if you prefer them.

Explore More Driver License OCR Solutions

SOLUTION

UAE Driving Licence OCR API

Extract the licence number, the holder's name, nationality where printed, date of birth, issue and expiry dates, the issuing authority and the permitted vehicle categories from the UAE driving licence as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

UK Driving Licence OCR API

Extract name, licence number (field 5), address (field 8), dates and categories from UK DVLA driving licences as JSON. Free upload test and 100 free API scans.

Driver License OCR
SOLUTION

US Driver License Scanner API & SDK

Scan US driver's licenses from all 50 states with a REST API or our Python and Node SDKs. Extract name, DOB, address and the Document Discriminator (DD). 100 free scans.

Driver License OCR
SOLUTION

Vape and Tobacco Shop ID Verification with PDF417

Scan US driver licenses and state ID cards for vape and tobacco retailers. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR
SOLUTION

Vehicle Test-Drive License Scanning with PDF417

Use PDF417 and AAMVA parsing for automotive dealerships. Pre-fill document_number, given_names, surname, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR
SOLUTION

Vietnam Driving Licence (Giấy Phép Lái Xe) OCR API

Extract the licence number, the holder's name, date of birth, nationality, address, issue and expiry dates and licence class from the Vietnamese driving licence (giấy phép lái xe) as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

Visitor Management with Driver License PDF417 Data

Use PDF417 and AAMVA parsing for visitor registration. Pre-fill given_names, surname, document_number, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR
SOLUTION

Age Verification Data Capture with a PDF417 API

Use PDF417 and AAMVA parsing for age-gated commerce. Pre-fill date_of_birth, date_of_expiry, document_number, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR
SOLUTION

Alcohol Delivery Age Checks with an ID Barcode API

Scan US driver licenses and state ID cards for alcohol delivery. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR
SOLUTION

Apartment Leasing Form Prefill from Driver License PDF417

Use PDF417 and AAMVA parsing for property leasing. Pre-fill given_names, surname, address, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR

Technical Comparisons & Integrations

Explore platform integrations and competitive analysis

From tutorial to production in 5 minutes.

You've seen the code. Now get your API key, grab your 200 free credits, and see it work with your own images. No credit card required.

Instant Access Cancel Anytime No Credit Card