The Quebec Driver's License service allows you to retrieve essential information about a driver's license in the province of Quebec, Canada. By providing the document number, you can access details such as the license class, issuance date, status, and any applicable conditions. The response will include specific license classes and their corresponding descriptions, such as "5 - Automobile," "8 - Tractors," and "6D - Moped or scooter."
Use this service to efficiently verify and validate Quebec driver's licenses, ensuring the accuracy and validity of the provided license information.
Name | Type | ¿Required? | Description | Example |
---|---|---|---|---|
documentNumber | String | True |
Driver's license to consult, all data must be entered exactly as found in this document. | T1234-567890-12 |
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/ca/quebec/driver-license>',
params: {documentNumber: 'T1234-567890-12'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
{
"data": {
"classLicense": {
"5": "5 - Automobile",
"8": "8 - Tractors",
"6D": "6D - Moped or scooter"
},
"condition": "string",
"confirmationNumber": "123456789",
"dateOfIssue": "2021-05-25",
"documentNumber": "T1234-567890-12",
"status": "Validity"
},
"signature": {
"dateTime": "July 19, 2023 2:43 PM",
"message": "Certified by Verifik.co"
},
"notification": {
"message": "Important: Our API pricing will be updated on June 1st. The new starting price will be $0.20 USD. Please review the updated pricing table at <https://app.verifik.co/pricing> to learn more about our new pricing plans and features.",
"pricingTableLink": "<https://app.verifik.co/pricing>"
}
}
Code | Description | Response Body | |
---|---|---|---|
404 |
Not Found | Information not found. | { |
"code": "NotFound", | |||
"message": "Record not found.", | |||
"signature": { | |||
"dateTime": "August 31, 2022 3:24 PM", | |||
"message": "Certified by Verifik.co" | |||
} | |||
} | |||
409 |
Conflict | Some parameters are missing. | { |
"code": "MissingParameter", | |||
"message": "missing documentNumber\n" | |||
} |