🇺🇸 アメリカ合衆国 — 車両(VIN)
米国市場向け車両の 17 桁 VIN をデコードし、メーカー・車種・年式・エンジン・ボディクラスなど、NHTSA VPIC 系データで取得できる属性を返します。
エンドポイント
GET https://api.verifik.co/v2/usa/vehicle-by-vin
クエリ vin(17 文字)を指定して照会します。統合が許可する場合、force でキャッシュを使わず再デコードできます。
ヘッダー
| 名前 | 値 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
パラメーター
| 名前 | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
vin | string | はい | 17 桁の VIN(英数字、スペースなし)。 | 1G3AK47A7CM535209 |
force | string | いいえ | true のとき、保存済み一致を使わず再デコード(利用可能な場合)。 | true |
リクエスト
- JavaScript
- Python
- PHP
- Swift
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/usa/vehicle-by-vin',
params: {
vin: '1G3AK47A7CM535209'
},
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <your_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/usa/vehicle-by-vin?vin=1G3AK47A7CM535209", 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/usa/vehicle-by-vin?vin=1G3AK47A7CM535209');
$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/usa/vehicle-by-vin?vin=1G3AK47A7CM535209")!,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()
レスポンス
- 200
- 404
- 409
- 500
{
"data": {
"make": "OLDSMOBILE",
"model": "Cutlass",
"modelYear": "1982",
"vehicleType": "PASSENGER CAR",
"vin": "1G3AK47A7CM535209"
},
"signature": {
"dateTime": "October 10, 2025 7:10 PM",
"message": "Certified by Verifik.co"
},
"id": "KFOFL"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "Validation error message for VIN."
}
{
"code": "InternalServerError",
"message": "Server error."
}