Decode vin batch
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vins": [
{
"vin": "1HGCM82633A004352"
},
{
"model_year": 2011,
"vin": "5UXWX7C5*BA"
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch"
payload = { "vins": [
{ "vin": "1HGCM82633A004352" },
{
"model_year": 2011,
"vin": "5UXWX7C5*BA"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({vins: [{vin: '1HGCM82633A004352'}, {model_year: 2011, vin: '5UXWX7C5*BA'}]})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'vins' => [
[
'vin' => '1HGCM82633A004352'
],
[
'model_year' => 2011,
'vin' => '5UXWX7C5*BA'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch"
payload := strings.NewReader("{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"decoded_count": 2,
"observed_at_ms": 1790269130147,
"requested": 2,
"vehicles": [
{
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVINValuesBatch/",
"attributes": {
"AirBagLocCurtain": "1st and 2nd Rows",
"AirBagLocFront": "1st Row (Driver and Passenger)",
"AirBagLocSide": "1st Row (Driver and Passenger)",
"BedType": "Not Applicable",
"BodyCabType": "Not Applicable",
"BodyClass": "Coupe",
"BusFloorConfigType": "Not Applicable",
"BusType": "Not Applicable",
"CustomMotorcycleType": "Not Applicable",
"DisplacementCC": "2998.832712",
"DisplacementCI": "183",
"DisplacementL": "2.998832712",
"Doors": "2",
"EngineConfiguration": "V-Shaped",
"EngineCylinders": "6",
"EngineHP": "240",
"EngineModel": "J30A4",
"ErrorCode": "0",
"ErrorText": "0 - VIN decoded clean. Check Digit (9th position) is correct",
"FuelTypePrimary": "Gasoline",
"GVWR": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"GVWR_to": "Class 1: 6,000 lb or less (2,722 kg or less)",
"Make": "HONDA",
"MakeID": "474",
"Manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"ManufacturerId": "988",
"Model": "Accord",
"ModelID": "1861",
"ModelYear": "2003",
"MotorcycleChassisType": "Not Applicable",
"MotorcycleSuspensionType": "Not Applicable",
"OtherRestraintSystemInfo": "Seat Belt (Rr center position)",
"PlantCity": "MARYSVILLE",
"PlantCountry": "UNITED STATES (USA)",
"PlantState": "OHIO",
"SeatBeltsAll": "Manual",
"TrailerBodyType": "Not Applicable",
"TrailerType": "Not Applicable",
"TransmissionSpeeds": "5",
"TransmissionStyle": "Automatic",
"Trim": "EX-V6",
"VIN": "1HGCM82633A004352",
"ValveTrainDesign": "Single Overhead Cam (SOHC)",
"VehicleDescriptor": "1HGCM826*3A",
"VehicleType": "PASSENGER CAR"
},
"base_price": null,
"battery_kwh": null,
"body_cab_type": "Not Applicable",
"body_class": "Coupe",
"decoded": true,
"decoded_clean": true,
"destination_market": null,
"displacement_cc": "2998.832712",
"displacement_l": "2.998832712",
"doors": "2",
"drive_type": null,
"electrification_level": null,
"engine_configuration": "V-Shaped",
"engine_cylinders": "6",
"engine_hp": "240",
"engine_kw": null,
"engine_manufacturer": null,
"engine_model": "J30A4",
"error_codes": [
"0"
],
"error_text": "0 - VIN decoded clean. Check Digit (9th position) is correct",
"fuel_type_primary": "Gasoline",
"fuel_type_secondary": null,
"gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"make": "HONDA",
"make_id": 474,
"manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"manufacturer_id": 988,
"model": "Accord",
"model_id": 1861,
"model_year": 2003,
"ncsa_body_type": null,
"ncsa_make": null,
"ncsa_model": null,
"plant_city": "MARYSVILLE",
"plant_company_name": null,
"plant_country": "UNITED STATES (USA)",
"plant_state": "OHIO",
"seat_rows": null,
"seats": null,
"series": null,
"series2": null,
"source_url": "https://vpic.nhtsa.dot.gov/decoder/VinDecoder?VIN=1HGCM82633A004352",
"suggested_vin": null,
"transmission_speeds": "5",
"transmission_style": "Automatic",
"trim": "EX-V6",
"trim2": null,
"vehicle_descriptor": "1HGCM826*3A",
"vehicle_type": "PASSENGER CAR",
"vin": "1HGCM82633A004352"
},
{
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVINValuesBatch/",
"attributes": {
"AirBagLocFront": "1st Row (Driver and Passenger)",
"AirBagLocSide": "1st Row (Driver and Passenger)",
"BodyClass": "Sport Utility Vehicle [SUV]/Multipurpose Vehicle [MPV]",
"BusFloorConfigType": "Not Applicable",
"BusType": "Not Applicable",
"CustomMotorcycleType": "Not Applicable",
"DisplacementCC": "2979.1682352",
"DisplacementCI": "181.8",
"DisplacementL": "3.0",
"Doors": "4",
"DriveType": "AWD/All-Wheel Drive",
"EngineCylinders": "6",
"EngineHP": "300",
"ErrorCode": "6",
"ErrorText": "6 - Incomplete VIN",
"FuelTypePrimary": "Gasoline",
"GVWR": "Class 1D: 5,001 - 6,000 lb (2,268 - 2,722 kg)",
"Make": "BMW",
"MakeID": "452",
"Manufacturer": "BMW MANUFACTURER CORPORATION / BMW NORTH AMERICA",
"ManufacturerId": "968",
"Model": "X3",
"ModelID": "1719",
"ModelYear": "2011",
"MotorcycleChassisType": "Not Applicable",
"MotorcycleSuspensionType": "Not Applicable",
"OtherRestraintSystemInfo": "Head Inflatable Restraint for Driver, Front Passenger, Rear Outboard Driver-side and Rear Outboard Passenger-side. Knee Inflatable Restraint for Driver. Pretensioners for Driver and Front Passenger.",
"PlantCity": "MUNICH",
"PlantCountry": "GERMANY",
"Pretensioner": "Yes",
"SeatBeltsAll": "Manual",
"TPMS": "Direct",
"TrailerBodyType": "Not Applicable",
"TrailerType": "Not Applicable",
"Trim": "xDrive35i",
"VIN": "5UXWX7C5*BA",
"VehicleDescriptor": "5UXWX7C5*BA",
"VehicleType": "MULTIPURPOSE PASSENGER VEHICLE (MPV)"
},
"base_price": null,
"battery_kwh": null,
"body_cab_type": null,
"body_class": "Sport Utility Vehicle [SUV]/Multipurpose Vehicle [MPV]",
"decoded": true,
"decoded_clean": false,
"destination_market": null,
"displacement_cc": "2979.1682352",
"displacement_l": "3.0",
"doors": "4",
"drive_type": "AWD/All-Wheel Drive",
"electrification_level": null,
"engine_configuration": null,
"engine_cylinders": "6",
"engine_hp": "300",
"engine_kw": null,
"engine_manufacturer": null,
"engine_model": null,
"error_codes": [
"6"
],
"error_text": "6 - Incomplete VIN",
"fuel_type_primary": "Gasoline",
"fuel_type_secondary": null,
"gvwr": "Class 1D: 5,001 - 6,000 lb (2,268 - 2,722 kg)",
"make": "BMW",
"make_id": 452,
"manufacturer": "BMW MANUFACTURER CORPORATION / BMW NORTH AMERICA",
"manufacturer_id": 968,
"model": "X3",
"model_id": 1719,
"model_year": 2011,
"ncsa_body_type": null,
"ncsa_make": null,
"ncsa_model": null,
"plant_city": "MUNICH",
"plant_company_name": null,
"plant_country": "GERMANY",
"plant_state": null,
"seat_rows": null,
"seats": null,
"series": null,
"series2": null,
"source_url": "https://vpic.nhtsa.dot.gov/decoder/VinDecoder?VIN=5UXWX7C5*BA",
"suggested_vin": null,
"transmission_speeds": null,
"transmission_style": null,
"trim": "xDrive35i",
"trim2": null,
"vehicle_descriptor": "5UXWX7C5*BA",
"vehicle_type": "MULTIPURPOSE PASSENGER VEHICLE (MPV)",
"vin": "5UXWX7C5*BA"
}
]
}NHTSA vPIC vehicle decoder
Decode vin batch
Bulk inventory or fleet intake. NHTSA asks that large batches run at night US Eastern time or on weekends.
POST
https://api.aisa.one
/
apis
/
v1
/
vpic-nhtsa-dot-gov
/
vehicles
/
decode-vin-batch
Decode vin batch
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vins": [
{
"vin": "1HGCM82633A004352"
},
{
"model_year": 2011,
"vin": "5UXWX7C5*BA"
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch"
payload = { "vins": [
{ "vin": "1HGCM82633A004352" },
{
"model_year": 2011,
"vin": "5UXWX7C5*BA"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({vins: [{vin: '1HGCM82633A004352'}, {model_year: 2011, vin: '5UXWX7C5*BA'}]})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'vins' => [
[
'vin' => '1HGCM82633A004352'
],
[
'model_year' => 2011,
'vin' => '5UXWX7C5*BA'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch"
payload := strings.NewReader("{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"vins\": [\n {\n \"vin\": \"1HGCM82633A004352\"\n },\n {\n \"model_year\": 2011,\n \"vin\": \"5UXWX7C5*BA\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"decoded_count": 2,
"observed_at_ms": 1790269130147,
"requested": 2,
"vehicles": [
{
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVINValuesBatch/",
"attributes": {
"AirBagLocCurtain": "1st and 2nd Rows",
"AirBagLocFront": "1st Row (Driver and Passenger)",
"AirBagLocSide": "1st Row (Driver and Passenger)",
"BedType": "Not Applicable",
"BodyCabType": "Not Applicable",
"BodyClass": "Coupe",
"BusFloorConfigType": "Not Applicable",
"BusType": "Not Applicable",
"CustomMotorcycleType": "Not Applicable",
"DisplacementCC": "2998.832712",
"DisplacementCI": "183",
"DisplacementL": "2.998832712",
"Doors": "2",
"EngineConfiguration": "V-Shaped",
"EngineCylinders": "6",
"EngineHP": "240",
"EngineModel": "J30A4",
"ErrorCode": "0",
"ErrorText": "0 - VIN decoded clean. Check Digit (9th position) is correct",
"FuelTypePrimary": "Gasoline",
"GVWR": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"GVWR_to": "Class 1: 6,000 lb or less (2,722 kg or less)",
"Make": "HONDA",
"MakeID": "474",
"Manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"ManufacturerId": "988",
"Model": "Accord",
"ModelID": "1861",
"ModelYear": "2003",
"MotorcycleChassisType": "Not Applicable",
"MotorcycleSuspensionType": "Not Applicable",
"OtherRestraintSystemInfo": "Seat Belt (Rr center position)",
"PlantCity": "MARYSVILLE",
"PlantCountry": "UNITED STATES (USA)",
"PlantState": "OHIO",
"SeatBeltsAll": "Manual",
"TrailerBodyType": "Not Applicable",
"TrailerType": "Not Applicable",
"TransmissionSpeeds": "5",
"TransmissionStyle": "Automatic",
"Trim": "EX-V6",
"VIN": "1HGCM82633A004352",
"ValveTrainDesign": "Single Overhead Cam (SOHC)",
"VehicleDescriptor": "1HGCM826*3A",
"VehicleType": "PASSENGER CAR"
},
"base_price": null,
"battery_kwh": null,
"body_cab_type": "Not Applicable",
"body_class": "Coupe",
"decoded": true,
"decoded_clean": true,
"destination_market": null,
"displacement_cc": "2998.832712",
"displacement_l": "2.998832712",
"doors": "2",
"drive_type": null,
"electrification_level": null,
"engine_configuration": "V-Shaped",
"engine_cylinders": "6",
"engine_hp": "240",
"engine_kw": null,
"engine_manufacturer": null,
"engine_model": "J30A4",
"error_codes": [
"0"
],
"error_text": "0 - VIN decoded clean. Check Digit (9th position) is correct",
"fuel_type_primary": "Gasoline",
"fuel_type_secondary": null,
"gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"make": "HONDA",
"make_id": 474,
"manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"manufacturer_id": 988,
"model": "Accord",
"model_id": 1861,
"model_year": 2003,
"ncsa_body_type": null,
"ncsa_make": null,
"ncsa_model": null,
"plant_city": "MARYSVILLE",
"plant_company_name": null,
"plant_country": "UNITED STATES (USA)",
"plant_state": "OHIO",
"seat_rows": null,
"seats": null,
"series": null,
"series2": null,
"source_url": "https://vpic.nhtsa.dot.gov/decoder/VinDecoder?VIN=1HGCM82633A004352",
"suggested_vin": null,
"transmission_speeds": "5",
"transmission_style": "Automatic",
"trim": "EX-V6",
"trim2": null,
"vehicle_descriptor": "1HGCM826*3A",
"vehicle_type": "PASSENGER CAR",
"vin": "1HGCM82633A004352"
},
{
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVINValuesBatch/",
"attributes": {
"AirBagLocFront": "1st Row (Driver and Passenger)",
"AirBagLocSide": "1st Row (Driver and Passenger)",
"BodyClass": "Sport Utility Vehicle [SUV]/Multipurpose Vehicle [MPV]",
"BusFloorConfigType": "Not Applicable",
"BusType": "Not Applicable",
"CustomMotorcycleType": "Not Applicable",
"DisplacementCC": "2979.1682352",
"DisplacementCI": "181.8",
"DisplacementL": "3.0",
"Doors": "4",
"DriveType": "AWD/All-Wheel Drive",
"EngineCylinders": "6",
"EngineHP": "300",
"ErrorCode": "6",
"ErrorText": "6 - Incomplete VIN",
"FuelTypePrimary": "Gasoline",
"GVWR": "Class 1D: 5,001 - 6,000 lb (2,268 - 2,722 kg)",
"Make": "BMW",
"MakeID": "452",
"Manufacturer": "BMW MANUFACTURER CORPORATION / BMW NORTH AMERICA",
"ManufacturerId": "968",
"Model": "X3",
"ModelID": "1719",
"ModelYear": "2011",
"MotorcycleChassisType": "Not Applicable",
"MotorcycleSuspensionType": "Not Applicable",
"OtherRestraintSystemInfo": "Head Inflatable Restraint for Driver, Front Passenger, Rear Outboard Driver-side and Rear Outboard Passenger-side. Knee Inflatable Restraint for Driver. Pretensioners for Driver and Front Passenger.",
"PlantCity": "MUNICH",
"PlantCountry": "GERMANY",
"Pretensioner": "Yes",
"SeatBeltsAll": "Manual",
"TPMS": "Direct",
"TrailerBodyType": "Not Applicable",
"TrailerType": "Not Applicable",
"Trim": "xDrive35i",
"VIN": "5UXWX7C5*BA",
"VehicleDescriptor": "5UXWX7C5*BA",
"VehicleType": "MULTIPURPOSE PASSENGER VEHICLE (MPV)"
},
"base_price": null,
"battery_kwh": null,
"body_cab_type": null,
"body_class": "Sport Utility Vehicle [SUV]/Multipurpose Vehicle [MPV]",
"decoded": true,
"decoded_clean": false,
"destination_market": null,
"displacement_cc": "2979.1682352",
"displacement_l": "3.0",
"doors": "4",
"drive_type": "AWD/All-Wheel Drive",
"electrification_level": null,
"engine_configuration": null,
"engine_cylinders": "6",
"engine_hp": "300",
"engine_kw": null,
"engine_manufacturer": null,
"engine_model": null,
"error_codes": [
"6"
],
"error_text": "6 - Incomplete VIN",
"fuel_type_primary": "Gasoline",
"fuel_type_secondary": null,
"gvwr": "Class 1D: 5,001 - 6,000 lb (2,268 - 2,722 kg)",
"make": "BMW",
"make_id": 452,
"manufacturer": "BMW MANUFACTURER CORPORATION / BMW NORTH AMERICA",
"manufacturer_id": 968,
"model": "X3",
"model_id": 1719,
"model_year": 2011,
"ncsa_body_type": null,
"ncsa_make": null,
"ncsa_model": null,
"plant_city": "MUNICH",
"plant_company_name": null,
"plant_country": "GERMANY",
"plant_state": null,
"seat_rows": null,
"seats": null,
"series": null,
"series2": null,
"source_url": "https://vpic.nhtsa.dot.gov/decoder/VinDecoder?VIN=5UXWX7C5*BA",
"suggested_vin": null,
"transmission_speeds": null,
"transmission_style": null,
"trim": "xDrive35i",
"trim2": null,
"vehicle_descriptor": "5UXWX7C5*BA",
"vehicle_type": "MULTIPURPOSE PASSENGER VEHICLE (MPV)",
"vin": "5UXWX7C5*BA"
}
]
}Request contract
- Method and path: POST /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch
{
"operationId": "vpic-nhtsa-dot-gov.vehicles.decode-vin-batch",
"method": "POST",
"path": "/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"vins": [
{
"vin": "1HGCM82633A004352"
},
{
"model_year": 2011,
"vin": "5UXWX7C5*BA"
}
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"vins": {
"description": "vins",
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
}
},
"required": [
"vins"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Response
Decode up to 50 VINs in one vPIC request (DecodeVINValuesBatch). Each VIN may carry its own model year. Records come back in input order with the same fields as decode_vin; a VIN vPIC could not attribute to any manufacturer stays in the list with decoded: false and its error codes.
The response contains the tool result directly.
The provider identifies vehicles as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
additional_error_text | string | |
api_url | string | The vPIC API request that produced this record. |
attributes | object | Every vPIC decode variable that carried a non-empty value, keyed by vPIC's own variable name (e.g. ABS, TPMS, WheelBaseShort, AirBagLocFront). vPIC publishes ~145 variables (list_variables); only the populated ones pass through here, always as strings. |
base_price | string | Manufacturer-reported base price in USD as a plain number string, when NHTSA has it. |
battery_kwh | string | |
body_cab_type | string | |
body_class | string | |
decoded | boolean | true when vPIC identified at least the manufacturer or make for this VIN. |
decoded_clean | boolean | true only when vPIC's ErrorCode is 0 (clean decode, check digit correct). |
destination_market | string | |
displacement_cc | string | |
displacement_l | string | Litres, as vPIC states it (may carry many decimals). |
doors | string | |
drive_type | string | |
electrification_level | string | |
engine_configuration | string | |
engine_cylinders | string | |
engine_hp | string | |
engine_kw | string | |
engine_manufacturer | string | |
engine_model | string | |
error_codes | string[] | vPIC ErrorCode split on commas: 0 clean; 1 check digit; 6 incomplete VIN; 7 manufacturer not registered with NHTSA; 11 model year position invalid; 400 invalid characters. Full list: list_variables with variable Error Code. |
error_text | string | |
fuel_type_primary | string | |
fuel_type_secondary | string | |
gvwr | string | Gross vehicle weight rating class as vPIC states it, e.g. Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg). |
make | string | |
make_id | number | vPIC MakeID; input to list_models. |
manufacturer | string | |
manufacturer_id | number | vPIC ManufacturerId; input to get_manufacturer, list_makes and list_wmis. |
model | string | |
model_id | number | |
model_year | number | |
ncsa_body_type | string | |
ncsa_make | string | |
ncsa_model | string | |
plant_city | string | |
plant_company_name | string | |
plant_country | string | |
plant_state | string | |
seat_rows | string | |
seats | string | |
series | string | |
series2 | string | |
source_url | string | NHTSA's own web decoder page for this VIN. |
suggested_vin | string | vPIC's corrected VIN when it flagged invalid characters; ! marks the doubtful positions. |
transmission_speeds | string | |
transmission_style | string | |
trim | string | |
trim2 | string | |
vehicle_descriptor | string | The VIN pattern vPIC matched, e.g. 1HGCM826*3A. |
vehicle_type | string | |
vin | string | The VIN as vPIC echoed it (uppercase; * marks unknown positions in a partial VIN). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.