Colombia Driving Licence (Licencia de Conducción) OCR API

Read the Colombian licencia de conducción 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 Colombian licencia de conducción and returning the fields as JSON.

What Makes the Colombian licencia de conducción Hard to Parse

The Colombian licencia de conducción is issued by local transit authorities (organismos de tránsito), with every licence registered in the national RUNT system. On the Colombian licencia de conducción the licence number is the holder's cédula number, and the card lists one or more categories (A1, A2, B1, B2, B3, C1, C2, C3) each with its own validity date. A rider app or fleet therefore needs the category it cares about and that category's expiry, not just the card's first date.

One API Call, Named Fields

The StructOCR Driver License OCR API returns the licence number (the cédula), the holder's names and surnames, date of birth, issue date and the categories printed on the card. Dates are returned 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. 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 Colombia

Plataformas de movilidad y domicilios

Registrar conductores y repartidores con su número de licencia y categorías.

Alquiler de vehículos

Verificar la categoría y la vigencia antes de entregar el vehículo.

Aseguradoras

Prellenar los datos del conductor en cotizaciones y siniestros.

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 (the cédula), the holder's names and surnames, date of birth, issue date and the categories printed on the card.
  • Normalized dates: Dates are returned as YYYY-MM-DD.
  • Good to know: Each category can have its own validity date. Check the category you need against your own rules, and confirm against RUNT where your process requires 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 Colombian licencia de conducción, with fictional values.

{
  "success": true,
  "data": {
    "type": "drivers_license",
    "country_code": "COL",
    "region": null,
    "document_number": "1020304050",
    "personal_number": null,
    "surname": "GÓMEZ RESTREPO",
    "given_names": "ANDRÉS FELIPE",
    "sex": null,
    "date_of_birth": "1994-05-09",
    "place_of_birth": null,
    "date_of_issue": "2021-08-17",
    "date_of_expiry": null,
    "date_of_first_issue": null,
    "issuing_authority": null,
    "address": null,
    "vehicle_class": "A2, B1"
  }
}

Frequently Asked Questions

Can I test the Colombian licencia de conducción 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.

¿El número de licencia es la cédula?

Sí, en las licencias colombianas el número de licencia corresponde al número de cédula del titular, y se devuelve como document_number.

Does it read every category's validity date?

The categories are returned in vehicle_class. If you need a specific category's validity, confirm it on the card or in RUNT.

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

Consumer Loan Application Prefill from ID Barcodes

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

Driver License OCR
SOLUTION

Coworking Space Member and Guest ID Registration

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

Driver License OCR
SOLUTION

CPF Extraction from Driver License API

Accurately extract the CPF (Tax ID) and RG from Brazilian driver licenses (CNH). Try our free image upload tool and integrate our fast, edge-routed OCR API.

Driver License OCR
SOLUTION

Crypto ATM and Kiosk ID Capture with a PDF417 API

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

Driver License OCR
SOLUTION

Delivery Driver Onboarding with a License Barcode API

Use PDF417 and AAMVA parsing for delivery platforms. Pre-fill given_names, surname, date_of_expiry, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR
SOLUTION

Document Discriminator (DD) Extraction API

Instantly extract the Document Discriminator (DD) and audit numbers from US driver's licenses. Test our edge-routed OCR API for free using image uploads.

Driver License OCR
SOLUTION

Driver License Verification API: What OCR Can Check

Use a driver license OCR API as the first step of verification: extract the licence fields, check expiry and class, and compare the US barcode with the front. Learn where a records check comes in.

Driver License OCR
SOLUTION

Equipment Rental License Intake with PDF417

Use PDF417 and AAMVA parsing for equipment rental. Pre-fill document_number, date_of_expiry, vehicle_class, handle unreadable barcodes, and keep API credentials server-side.

Driver License OCR
SOLUTION

EU Driving Licence OCR API

Accurately parse numbered fields (1, 4a, 9) from European driving licences. Try our fast, edge-routed OCR API with a free image upload test.

Driver License OCR
SOLUTION

Event and Concert Entry ID Scanning with PDF417

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

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