π§π΄ Bolivia - Vehicle Information
The Vehicle Information Service in Bolivia allows you to retrieve precise details about a vehicle registered in the country. By providing the license plate number, the service returns information such as the vehicle's policy number, brand, class (e.g., work motorcycle), registration location, service type (e.g., private), and model.
Endpointβ
GET https://api.verifik.co/v2/bo/vehicle
Headersβ
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parametersβ
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
plate | string | Yes | Vehicle license plate to be consulted. | ABC1234 |
Requestβ
- JavaScript
- Python
- PHP
- Swift
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/bo/vehicle',
params: {
plate: 'ABC1234'
},
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <tu_token>'
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {}
conn.request("GET", "/v2/bo/vehicle?plate=ABC1234", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.verifik.co/v2/bo/vehicle?plate=ABC1234');
$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();
}
?>
var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/bo/vehicle?plate=ABC1234")!,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()
Responseβ
- 200
- 404
- 409
- 500
{
"data": {
"Policy": "180680443",
"brand": "BAJAJ",
"clase": "MOTOCICLETA - TRABAJO",
"declaratory": "GRAL. SAAVEDRA",
"plate": "1234ZYL",
"service": "PARTICULAR",
"type": "BOXER 150"
},
"signature": {
"dateTime": "July 26, 2024 4:55 PM",
"message": "Certified by Verifik.co"
},
"id": "ZX35K"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate\n"
}
{
"code": "InternalServerError",
"message": "Server error."
}
Featuresβ
- Vehicle Information Retrieval: Get comprehensive vehicle details from Bolivian vehicle registry
- License Plate Validation: Verify vehicle license plates registered in Bolivia
- Policy Information: Retrieve vehicle insurance policy numbers
- Vehicle Classification: Get detailed vehicle class information (e.g., work motorcycle)
- Registration Location: Access vehicle registration location details
- Service Type: Determine if vehicle is private, commercial, or other service type
- Brand and Model: Get vehicle manufacturer and model information
- Multiple Programming Languages: Support for JavaScript, Python, PHP, and Swift
- Real-time Data: Access current and up-to-date vehicle information
- Comprehensive Error Handling: Detailed error responses for various scenarios