🇨🇴 Driver's LicenseService to check driving licenses using the identification document.
Colombian Driver's License Verification
GET - https://api.verifik.co/v2/co/runt/conductor
The Driver License Information service provides comprehensive details about driver's license holders in Colombia. By using this service, you can access information such as the document type and number, full name, expiration date, status, and category of the license. It also allows you to verify whether the license is active, suspended, or canceled, and includes details about any transit taxes and related information.
This service is particularly useful for organizations that need to validate driver's license information for purposes such as insurance, employment, and regulatory compliance.
Implementation
Headers
Query Parameters
Name Type Required? Description Example Document Type: Allowed values are: CC, CE, PA, RC.
Driver's document number, without spaces or periods.
Request
JavaScript Python Swift PHP
Copy import axios from 'axios' ;
const options = {
method : 'GET' ,
url : '<https://api.verifik.co/v2/co/runt/conductor>' ,
params : {documentType : 'CC' , documentNumber : '123456789' } ,
headers : {
Accept : 'application/json' ,
Authorization : 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios .request (options);
console .log (data);
} catch (error) {
console .error (error);
}
Copy import http . client
conn = http . client . HTTPSConnection ( "api.verifik.co" )
payload = ''
headers = {}
conn . request ( "GET" , "/v2/co/runt/conductor?documentType=CC&documentNumber=" , payload, headers)
res = conn . getresponse ()
data = res . read ()
print (data. decode ( "utf-8" ))
Copy var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/co/runt/conductor?documentType=CC&documentNumber=")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared. dataTask ( with : request ) { data, response, error in
guard let data = data else {
print ( String ( describing : error ))
return
}
print ( String ( data : data, encoding : . utf8 ) ! )
}
task. resume ()
Copy <? php
require_once 'HTTP/Request2.php' ;
$request = new HTTP_Request2 ();
$request -> setUrl ( 'https://api.verifik.co/v2/co/runt/conductor?documentType=CC&documentNumber=' ) ;
$request -> setMethod ( HTTP_Request2 :: METHOD_GET ) ;
$request -> setConfig ( array (
'follow_redirects' => TRUE
) ) ;
try {
$response = $request -> send () ;
if ($response -> getStatus () == 200 ) {
echo $response -> getBody () ;
}
else {
echo 'Unexpected HTTP status: ' . $response -> getStatus () . ' ' .
$response -> getReasonPhrase () ;
}
}
catch ( HTTP_Request2_Exception $e) {
echo 'Error: ' . $e -> getMessage () ;
}
Response
200 404 409 409
Copy {
"data" : {
"documentType" : "CC" ,
"documentNumber" : "123456789" ,
"fullName" : "MATEO VERIFIK" ,
"totallicencias" : 1 ,
"licencias" : [
{
"licenceNumber" : "123456789" ,
"dueDate" : "20/03/2025" ,
"expeditionDate" : "03/12/2015" ,
"category" : "B1" ,
"status" : "ACTIVA" ,
"substratum" : "LC01007028952"
}
] ,
"transitTaxes" : {
"paceAndSafe" : "SI" ,
"paceAndSafeNumber" : "5541366484066" ,
"transitTaxesNumber" : "0" ,
"suspensionStatus" : "NO" ,
"suspensionDate" : "No Reporta" ,
"cancellationStatus" : "NO" ,
"cancellationDate" : "No Reporta"
} ,
"consultationDateTime" : "2022-08-30T19:15:46.631Z"
} ,
"signature" : {
"dateTime" : "August 30, 2022 2:15 PM" ,
"message" : "Certified by Verifik.co"
}
}
Copy {
"code" : "NotFound" ,
"message" : "Record not found." ,
"signature" : {
"dateTime" : "August 31, 2022 3:24 PM" ,
"message" : "Certified by Verifik.co"
}
}
Copy {
"code" : "MissingParameter" ,
"message" : "missing documentType\n. missing documentNumber\n"
}
Copy {
"code" : "MissingParameter" ,
"message" : "documentType must be one of: [CC]"
}