Verify Driving Licence (v2)
curl --request POST \
--url https://bgv.konnectnxt.com/api/v2/verification/driving-licence \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dl_number": "MH0920220028511",
"dob": "05-05-2000"
}
'import requests
url = "https://bgv.konnectnxt.com/api/v2/verification/driving-licence"
payload = {
"dl_number": "MH0920220028511",
"dob": "05-05-2000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dl_number: 'MH0920220028511', dob: '05-05-2000'})
};
fetch('https://bgv.konnectnxt.com/api/v2/verification/driving-licence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bgv.konnectnxt.com/api/v2/verification/driving-licence",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dl_number' => 'MH0920220028511',
'dob' => '05-05-2000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bgv.konnectnxt.com/api/v2/verification/driving-licence"
payload := strings.NewReader("{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bgv.konnectnxt.com/api/v2/verification/driving-licence")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bgv.konnectnxt.com/api/v2/verification/driving-licence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"code": 200,
"message": "Operation completed successfully",
"data": {
"state": "West Bengal",
"status": "id_found",
"user_dob": "19-02-2002",
"dl_number": "WB0120240098453",
"user_image": "",
"expiry_date": "19-02-2042",
"issued_date": "22-08-2024",
"endorse_date": "NA",
"user_address": {
"pin": "700091",
"type": "Permanent",
"state": "West Bengal",
"country": "India",
"district": "Kolkata",
"addressLine1": "Flat 4B, Salt Lake Sector V",
"completeAddress": "Flat 4B, Salt Lake Sector V, Kolkata, West Bengal, 700091"
},
"endorse_number": "NA",
"status_details": {
"to": "",
"from": "",
"remarks": ""
},
"user_full_name": "ARJUN DEV ROY",
"name_match_score": "88.50",
"user_blood_group": "O+",
"father_or_husband": "BISWAJIT ROY",
"transport_validity": {
"to": "NA",
"from": "NA"
},
"non_transport_validity": {
"to": "19-02-2042",
"from": "22-08-2024"
},
"vehicle_category_details": [
{
"cov": "LMV-NT",
"covType": "non-transport",
"issueDate": "22-08-2024",
"expiryDate": "19-02-2042"
},
{
"cov": "MCWG",
"covType": "non-transport",
"issueDate": "22-08-2024",
"expiryDate": "19-02-2042"
}
]
},
"credits_used": 7,
"credits_remaining": 492
}Driving Licence
Driving Licence Verification v2
Verify Driving Licence details with comprehensive information including address and class of vehicle.
POST
/
v2
/
verification
/
driving-licence
Verify Driving Licence (v2)
curl --request POST \
--url https://bgv.konnectnxt.com/api/v2/verification/driving-licence \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dl_number": "MH0920220028511",
"dob": "05-05-2000"
}
'import requests
url = "https://bgv.konnectnxt.com/api/v2/verification/driving-licence"
payload = {
"dl_number": "MH0920220028511",
"dob": "05-05-2000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dl_number: 'MH0920220028511', dob: '05-05-2000'})
};
fetch('https://bgv.konnectnxt.com/api/v2/verification/driving-licence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bgv.konnectnxt.com/api/v2/verification/driving-licence",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dl_number' => 'MH0920220028511',
'dob' => '05-05-2000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bgv.konnectnxt.com/api/v2/verification/driving-licence"
payload := strings.NewReader("{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bgv.konnectnxt.com/api/v2/verification/driving-licence")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bgv.konnectnxt.com/api/v2/verification/driving-licence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dl_number\": \"MH0920220028511\",\n \"dob\": \"05-05-2000\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"code": 200,
"message": "Operation completed successfully",
"data": {
"state": "West Bengal",
"status": "id_found",
"user_dob": "19-02-2002",
"dl_number": "WB0120240098453",
"user_image": "",
"expiry_date": "19-02-2042",
"issued_date": "22-08-2024",
"endorse_date": "NA",
"user_address": {
"pin": "700091",
"type": "Permanent",
"state": "West Bengal",
"country": "India",
"district": "Kolkata",
"addressLine1": "Flat 4B, Salt Lake Sector V",
"completeAddress": "Flat 4B, Salt Lake Sector V, Kolkata, West Bengal, 700091"
},
"endorse_number": "NA",
"status_details": {
"to": "",
"from": "",
"remarks": ""
},
"user_full_name": "ARJUN DEV ROY",
"name_match_score": "88.50",
"user_blood_group": "O+",
"father_or_husband": "BISWAJIT ROY",
"transport_validity": {
"to": "NA",
"from": "NA"
},
"non_transport_validity": {
"to": "19-02-2042",
"from": "22-08-2024"
},
"vehicle_category_details": [
{
"cov": "LMV-NT",
"covType": "non-transport",
"issueDate": "22-08-2024",
"expiryDate": "19-02-2042"
},
{
"cov": "MCWG",
"covType": "non-transport",
"issueDate": "22-08-2024",
"expiryDate": "19-02-2042"
}
]
},
"credits_used": 7,
"credits_remaining": 492
}Overview
The Driving Licence Verification v2 API validates Driving Licence details using Driving Licence number, full name, and date of birth. It returns comprehensive information including personal details, registered address, current status, and class of vehicle.Key Features
- Complete Verification: Validates Driving Licence number, name, and date of birth
- Comprehensive Details: Returns full name, address, contact information
- Real-time Validation: Instant verification in under 2 seconds
- Masked Data: Secure display of sensitive information
What’s New in v2
- Enhanced Data: More comprehensive personal and address details
- Better Validation: Full name and DOB matching for accuracy
- Vehicle Response: Optimized for quicker verification
- Consistent Format: Unified response structure across all v2 APIs
Data Availability: Driving Licence status and cardholder name are always returned.
Additional details such as address, contact information, and vehicle class
status are provided when available in the records.
Authorizations
API key issued by KonnectNXT. Pass as Authorization: Bearer <your_api_key>.
Body
application/json
Response
Successful response with Driving Licence details.
Overall status of the API
Available options:
success, error HTTP status code
Example:
400
Description of the response or error
Example:
"Invalid request parameters"
Show child attributes
Show child attributes
Represents the total number of credits used in this request.
Example:
3
Represents the remaining credits available for use.
Example:
4040
Was this page helpful?

