Decode vin
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vin": "1HGCM82633A004352"
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin"
payload = { "vin": "1HGCM82633A004352" }
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({vin: '1HGCM82633A004352'})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin', 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",
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([
'vin' => '1HGCM82633A004352'
]),
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"
payload := strings.NewReader("{\n \"vin\": \"1HGCM82633A004352\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"vin\": \"1HGCM82633A004352\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin")
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 \"vin\": \"1HGCM82633A004352\"\n}"
response = http.request(request)
puts response.read_body{
"model_year_hint": null,
"observed_at_ms": 1790269118685,
"vehicle": {
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/1HGCM82633A004352?format=json",
"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"
},
"vin": "1HGCM82633A004352"
}NHTSA vPIC vehicle decoder
Decode vin
Dealer inventory intake, title or listing checks: turn a 17-character VIN into structured vehicle identity. Pass model_year for partial VINs or when the 10th character is ambiguous.
POST
https://api.aisa.one
/
apis
/
v1
/
vpic-nhtsa-dot-gov
/
vehicles
/
decode-vin
Decode vin
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vin": "1HGCM82633A004352"
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin"
payload = { "vin": "1HGCM82633A004352" }
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({vin: '1HGCM82633A004352'})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin', 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",
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([
'vin' => '1HGCM82633A004352'
]),
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"
payload := strings.NewReader("{\n \"vin\": \"1HGCM82633A004352\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"vin\": \"1HGCM82633A004352\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin")
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 \"vin\": \"1HGCM82633A004352\"\n}"
response = http.request(request)
puts response.read_body{
"model_year_hint": null,
"observed_at_ms": 1790269118685,
"vehicle": {
"additional_error_text": null,
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/1HGCM82633A004352?format=json",
"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"
},
"vin": "1HGCM82633A004352"
}Request contract
- Method and path: POST /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin
{
"operationId": "vpic-nhtsa-dot-gov.vehicles.decode-vin",
"method": "POST",
"path": "/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin",
"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": {
"vin": "1HGCM82633A004352"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"extended": {
"description": "Use DecodeVinValuesExtended, which adds NCSA mapping fields and additional error details.",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"model_year": {
"description": "Model year hint sent as vPIC's `modelyear`; improves partial decodes and disambiguates the 10th VIN character.\n\nProvider reference: minimum 1900; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1900
}
},
"vin": {
"description": "Full 17-character VIN, or a partial VIN with `*` in unknown positions (e.g. `5UXWX7C5*BA`). Case-insensitive. Pattern: ^[A-Za-z0-9*]{5,17}$.",
"type": "string"
}
},
"required": [
"vin"
],
"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
Body
application/json
Response
Decode one VIN (full or partial with * wildcards) into make, model, model year, trim, series, body class, vehicle type, manufacturer, assembly plant, engine and every other populated vPIC variable. vPIC's error codes are returned, not hidden: an incomplete VIN still decodes with code 6.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
model_year_hint | number | |
observed_at_ms | number | |
vehicle | object | One decoded VIN as vPIC DecodeVinValues returns it. Every string field is null when vPIC returned an empty value; per NHTSA's own note, a missing value means NHTSA has no data on that variable, not that the feature is absent. |
vin | string | The normalized (uppercase) VIN that was sent. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.