Vietnam Driving Licence Class Checker
The 15 driving-licence classes of the 2024 Road Traffic Safety Law: class needed for a vehicle, old B2 / C / D / E conversion, expiry and re-tests.
Result
Press “Run” to see the result.
Rules of the Law on Road Traffic Order and Safety 36/2024/QH15 (in force 1/1/2025): Article 57 (classes A1, A, B1, B, C1, C, D1, D2, D, BE, C1E, CE, D1E, D2E, DE and their validity), Article 59 (minimum age 18 / 21 / 24 / 27, age limit 57 men / 55 women for buses over 29 seats) and Article 89 (licences issued before 2025: continued use and exchange — A1 → A restricted under 175 cm³, B1 / B2 → B or C1, D → D2, E → D, FC → CE…).
Modes: vehicle (motorcycle with cc / kw, car / bus with seats excluding the driver, truck / special with gvw design gross weight, trailer_kg, tractor_unit, articulated_bus, moped) returns the minimum class; class returns what it allows; class + vehicle checks if the licence covers the vehicle; class + issued (+ birth, sex) computes the expiry and what a renewal needs today: no test if expired under 30 days, theory test from 30 days to under 1 year, theory and practical tests from 1 year (Circular 108/2026/TT-BCA, in force 1/7/2026).
Old classes are recognised (old=1 for A1 / B1 / C / D issued before 2025, or an issued date before 2025); their printed expiry date prevails. No personal licence is looked up.
Use this in your code
curl "https://apibox.io.vn/v1/vn-license-class?class=B2&issued=2016-05-10&vehicle=truck&gvw=5000&date=2026-11-11" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-license-class?class=B2&issued=2016-05-10&vehicle=truck&gvw=5000&date=2026-11-11', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-license-class?class=B2&issued=2016-05-10&vehicle=truck&gvw=5000&date=2026-11-11",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-license-class?class=B2&issued=2016-05-10&vehicle=truck&gvw=5000&date=2026-11-11');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Do I have to exchange my old B2 licence?
No. Licences issued before 1/1/2025 stay valid until the printed expiry date; when exchanged, B2 becomes B or C1 (Article 89).
My licence expired 2 months ago – do I re-take the test?
From 30 days to under 1 year after expiry you re-take the theory test; from 1 year, theory and practical tests; under 30 days, no test.
Which class do I need for a 7-seat car with a 1-tonne trailer?
BE: class B vehicles towing a trailer over 750 kg.