This service provides information on the insurance status of a vehicle in Peru. It returns details including the insurance company name, policy start and end dates, vehicle plate number, policy number, usage type, vehicle class, and policy status.
Parameters
Name |
Type |
¿Required? |
Description |
Example |
plate |
String |
True |
Plate number to consult, without spaces or points. |
ABC123 |
Implementation
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/pe/vehiculo/soat>',
params: {plate: 'ABC123'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Response 200 - (Successful response)
{
"data": {
"plate": "ABC123",
"soat": {
"ConsultarSoatResult": {
"NombreCompania": "Interseguro",
"FechaInicio": "27/04/2022",
"FechaFin": "27/04/2023",
"Placa": "ABC123",
"NúmeroPoliza": "000000000000000000001",
"NombreUsovehiculo": "PARTICULAR",
"NombreClasevehiculo": "AUTOMOVIL",
"Estado": "VIGENTE",
"CodigoUnicoPoliza": "0000000000000000000000008",
"CodigoSBSAseguradora": "001",
"FechaControlPolicial": "26/04/2022"
}
}
},
"signature": {
"dateTime": "July 19, 2022 3:08 PM",
"message": "Certified by Verifik.co"
}
}
Other responses
|
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 plate\n" |
|
|
|
} |
|
|
|