🇨🇱 智利 — 车辆信息
智利车辆核验服务可提供完善的车辆信息核验能力,可用于获取在智利登记车辆的详细信息。
车辆信息查询
Endpoint
https://api.verifik.co/v2/cl/vehicle
通过 车牌(plate,不含空格或圆点)查询。返回字段通常包含 品牌、车型、年份、VIN/底盘号、发动机号、颜色、车辆类型、罚款汇总,并在登记数据公开时返回 车主 RUT —— 适用于 车队接入、抵押核查 与 理赔 工作流。
请求头(Headers)
| 名称 | 取值 |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数(Parameters)
| 名称 | 类型 | 必填 | 描述 | 示例 |
|---|---|---|---|---|
plate | string | 是 | 待查询的车牌,不含空格或圆点。 | ABC123 |
请求(Request)
- Node.js
- JavaScript
- Python
- PHP
- Swift
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/cl/vehicle", {
params: { plate: "BB985" },
headers: { Accept: "application/json", Authorization: `Bearer ${process.env.VERIFIK_TOKEN}` },
});
console.log(data);
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/cl/vehicle',
params: {
plate: 'BB985'
},
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 = {
"Accept": "application/json",
"Authorization": "Bearer <tu_token>",
}
conn.request("GET", "/v2/cl/vehicle?plate=BB985", 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/cl/vehicle?plate=BB985');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setHeader('Accept', 'application/json');
$request->setHeader('Authorization', 'Bearer <tu_token>');
$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/cl/vehicle?plate=BB985")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
request.setValue("application/json", forHTTPHeaderField: "Accept")
request.setValue("Bearer <tu_token>", forHTTPHeaderField: "Authorization")
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": {
"chasisNumber": "ME1KG0447E2066723",
"color": "NEGRO",
"engineNumber": "1ES3032465",
"fines": "NO POSEE MULTAS",
"manufacturer": "NO DISPONIBLE",
"mark": "YAMAHA",
"model": "FZ 16",
"orderTheft": "NO DISPONIBLE",
"origin": "NO DISPONIBLE",
"owner": "",
"plate": "BB985",
"publicTrans": "NO DISPONIBLE",
"revision": "NO DISPONIBLE",
"rut": "26043542-6",
"type": "MOTO",
"typeTransPub": "NO DISPONIBLE",
"year": "2014"
},
"signature": {
"dateTime": "April 21, 2023 8:32 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate\n"
}
{
"code": "InternalServerError",
"message": "Server error."
}
功能特性
车辆信息查询
- 车辆登记:核验智利车辆登记信息。
- 技术参数:获取底盘号、发动机号、制造商与车型。
- 车辆详情:获取年份、颜色与类型信息。
- 车主信息:获取车主 RUT 与相关详情。
- 罚款状态:检查与车辆相关的未结罚款。
- 盗抢状态:核验车辆是否存在盗抢记录。
- 公共交通:查询公共交通分类信息。
通用特性
- 多语言支持:兼容 JavaScript、Python、PHP 与 Swift。
- 实时数据:访问最新信息。
- 完善错误处理:针对多种场景返回详细错误响应。
- 结构化响应:JSON 响应格式规整且带有签名校验。
- 智利登记接入:直接对接智利官方车辆数据库。