API reference
VIN
Decode a VIN, check its structure, and identify the manufacturer from its first three characters.
Decode a VIN
POST/v1/vin/decodeKey optional
With an API key, the full answer (`DecodeVinResponse`), counted as one billable unit. Without one, the free decoder's reduced answer (`PublicDecode`).
Without a key, the response is reduced to what the free decoder returns, and calls are rate-limited per IP address.
Request body
vinstringrequiredmodelYearintegerAccepted but not yet applied by the decoder
Example body
{
"vin": "VF15RSN0A51234567"
}Response 200
vinstringrequiredvalidbooleanrequiredwmistringyearinteger, nullregionstringcountrystringmakeobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
modelobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
vehicleTypeobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
fuelTypesobject[]Show 3 attributes
idstring (uuid)codestringrequirednamestringrequired
registryobjectWhat national vehicle registers recorded for vehicles whose VIN starts like this one. Statistical evidence, not a decode: each match carries the share of registered vehicles that agree with it. Absent when no registered vehicle shares the prefix.
Show 7 attributes
prefixstringrequiredThe leading VIN characters that matched — ten, or eight as a fallback.
vehiclesintegerrequiredRegistered vehicles found under the prefix.
yearMinintegerEarliest build year among the vehicles under the prefix.
yearMaxintegerLatest build year among the vehicles under the prefix.
modelobjectThe most common model under the prefix, whatever its engine, with the share of vehicles that carry it.
Show 5 attributes
makestringrequiredmakeIdstring (uuid)modelstringrequiredModel family, the registers' spellings grouped.
modelIdstring (uuid)The catalogue model, when the family links to one.
sharenumber (double)required
matchesobject[]requiredUp to five vehicle definitions, most common first.
Show 14 attributes
makestringrequiredmakeIdstring (uuid)modelstringmodelIdstring (uuid)engineCodestringfuelstringNormalized fuel code.
hybridbooleandisplacementCcintegerpowerKwnumber (double)yearMinintegeryearMaxintegervehiclesintegerrequiredsharenumber (double)requiredPart of the vehicles under the prefix that this definition accounts for.
sourcesstring[]required
specsobject[]Up to three technical sheets for the type-approved versions the registers record under the prefix, most common first. The registers holding the VIN name the version (EU variant and version codes); a register describing that version, such as the Dutch RDW, supplies the figures. Figures other than the engine are the most common value among the vehicles of the version.
Show 25 attributes
namestringCommercial name
typeApprovalstringvariantstringversionstringfuelstringhybridClassstringOVC-HEV for a plug-in hybrid, NOVC-HEV for a self-charging one.
cylindersintegerdisplacementCcintegerpowerKwnumber (double)Combustion engine net power.
electricPowerKwnumber (double)emissionLevelstringco2Wltpintegerg/km
co2Nedcintegerg/km
electricRangeKmintegermassEmptyKgintegermassMaxKgintegerlengthCmintegerwidthCmintegerheightCmintegerwheelbaseCmintegerseatsintegerdoorsintegermaxSpeedKmhintegersharenumber (double)requiredPart of the vehicles under the prefix whose version this sheet describes.
sourcestringrequired
sourcesstring[]requiredconfidencenumber (double)requiredrawobject, nullFull protobuf-backed decode payload
Errors
400Invalid request429Rate limit or monthly quota exceeded
curl -X POST https://api.autopic.io/v1/vin/decode \
-H "Authorization: Bearer $AUTOPIC_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"VF15RSN0A51234567"}'const res = await fetch('https://api.autopic.io/v1/vin/decode', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"vin": "VF15RSN0A51234567"
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.autopic.io/v1/vin/decode",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
json={"vin":"VF15RSN0A51234567"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/vin/decode');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"vin":"VF15RSN0A51234567"}',
]);
$data = json_decode(curl_exec($ch), true);{
"vin": "VF15RSN0A51234567",
"valid": true,
"wmi": "VF1",
"region": "EUROPE",
"country": "FRANCE",
"make": {
"id": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"code": "renault",
"name": "Renault"
},
"model": {
"id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"code": "clio",
"name": "Clio"
},
"registry": {
"prefix": "VF15RSN0A5",
"vehicles": 17835,
"yearMin": 2014,
"yearMax": 2024,
"model": {
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"share": 0.9900756938603869
},
"matches": [
{
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"fuel": "gasoline",
"displacementCc": 1149,
"powerKw": 54,
"yearMin": 2015,
"yearMax": 2023,
"vehicles": 13675,
"share": 0.7667507709559854,
"sources": [
"CZ_RSV",
"DK_DMR"
]
},
{
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"engineCode": "D4F D7",
"fuel": "gasoline",
"displacementCc": 1149,
"powerKw": 54,
"yearMin": 2014,
"yearMax": 2018,
"vehicles": 3238,
"share": 0.18155312587608635,
"sources": [
"CZ_RSV",
"SI_MZI"
]
}
],
"specs": [
{
"name": "CLIO",
"typeApproval": "E2*2001/116*0327*75",
"variant": "5RSN",
"version": "5RSN0A",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1149,
"powerKw": 54,
"emissionLevel": "EURO 6 W",
"co2Wltp": 127,
"co2Nedc": 127,
"massEmptyKg": 952,
"massMaxKg": 1566,
"lengthCm": 406,
"widthCm": 173,
"heightCm": 145,
"wheelbaseCm": 259,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 167,
"share": 0.9817213344547239,
"source": "NL_RDW"
},
{
"name": "CLIO",
"typeApproval": "E2*2001/116*0327*83",
"variant": "7RSN",
"version": "7RSN0A",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1149,
"powerKw": 54,
"emissionLevel": "EURO 6 W",
"co2Nedc": 127,
"massEmptyKg": 1041,
"massMaxKg": 1607,
"lengthCm": 427,
"widthCm": 173,
"heightCm": 145,
"wheelbaseCm": 259,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 167,
"share": 0.0005046257359125315,
"source": "NL_RDW"
}
]
},
"sources": [
"vin-go",
"kba"
],
"confidence": 0.95,
"raw": {
"calculatedCheckDigit": "3",
"checkDigitValid": true,
"country": "FRANCE",
"manufacturer": {
"brands": [
"OPEL",
"VAUXHALL"
],
"country": "FRANCE",
"dataSources": [
"KBA",
"VPIC"
],
"kbaId": 1949,
"region": "EUROPE",
"vehicleTypes": [
"PASSENGER_CAR"
],
"vpicId": 1001
},
"modelYear": 2005,
"region": "EUROPE",
"value": "VF15RSN0A51234567",
"vds": "5RSN0A",
"vehicle": {
"brand": "RENAULT",
"dataSources": [
"DEEP_RESEARCH"
],
"type": "LIGHT_COMMERCIAL_VEHICLE"
},
"vis": "51234567",
"wmi": "VF1"
}
}Decode up to 100 VINs
POST/v1/vin/decode-batchAPI key
Requires an API key.
Request body
vinsobject[]requiredShow 2 attributes
vinstringrequiredmodelYearintegerAccepted but not yet applied by the decoder
Example body
{
"vins": [
{
"vin": "VF15RSN0A51234567"
},
{
"vin": "WVWZZZ1KZ8W123456"
}
]
}Response 200
resultsobject[]requiredShow 14 attributes
vinstringrequiredvalidbooleanrequiredwmistringyearinteger, nullregionstringcountrystringmakeobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
modelobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
vehicleTypeobjectShow 3 attributes
idstring (uuid)codestringrequirednamestringrequired
fuelTypesobject[]Show 3 attributes
idstring (uuid)codestringrequirednamestringrequired
registryobjectWhat national vehicle registers recorded for vehicles whose VIN starts like this one. Statistical evidence, not a decode: each match carries the share of registered vehicles that agree with it. Absent when no registered vehicle shares the prefix.
Show 7 attributes
prefixstringrequiredThe leading VIN characters that matched — ten, or eight as a fallback.
vehiclesintegerrequiredRegistered vehicles found under the prefix.
yearMinintegerEarliest build year among the vehicles under the prefix.
yearMaxintegerLatest build year among the vehicles under the prefix.
modelobjectThe most common model under the prefix, whatever its engine, with the share of vehicles that carry it.
matchesobject[]requiredUp to five vehicle definitions, most common first.
specsobject[]Up to three technical sheets for the type-approved versions the registers record under the prefix, most common first. The registers holding the VIN name the version (EU variant and version codes); a register describing that version, such as the Dutch RDW, supplies the figures. Figures other than the engine are the most common value among the vehicles of the version.
sourcesstring[]requiredconfidencenumber (double)requiredrawobject, nullFull protobuf-backed decode payload
Errors
400Invalid request
curl -X POST https://api.autopic.io/v1/vin/decode-batch \
-H "Authorization: Bearer $AUTOPIC_KEY" \
-H "Content-Type: application/json" \
-d '{"vins":[{"vin":"VF15RSN0A51234567"},{"vin":"WVWZZZ1KZ8W123456"}]}'const res = await fetch('https://api.autopic.io/v1/vin/decode-batch', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"vins": [
{
"vin": "VF15RSN0A51234567"
},
{
"vin": "WVWZZZ1KZ8W123456"
}
]
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.autopic.io/v1/vin/decode-batch",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
json={"vins":[{"vin":"VF15RSN0A51234567"},{"vin":"WVWZZZ1KZ8W123456"}]},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/vin/decode-batch');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"vins":[{"vin":"VF15RSN0A51234567"},{"vin":"WVWZZZ1KZ8W123456"}]}',
]);
$data = json_decode(curl_exec($ch), true);{
"results": [
{
"vin": "VF15RSN0A51234567",
"valid": true,
"wmi": "VF1",
"region": "EUROPE",
"country": "FRANCE",
"make": {
"id": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"code": "renault",
"name": "Renault"
},
"model": {
"id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"code": "clio",
"name": "Clio"
},
"registry": {
"prefix": "VF15RSN0A5",
"vehicles": 17835,
"yearMin": 2014,
"yearMax": 2024,
"model": {
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"share": 0.9900756938603869
},
"matches": [
{
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"fuel": "gasoline",
"displacementCc": 1149,
"powerKw": 54,
"yearMin": 2015,
"yearMax": 2023,
"vehicles": 13675,
"share": 0.7667507709559854,
"sources": [
"CZ_RSV",
"DK_DMR"
]
},
{
"make": "RENAULT",
"makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
"model": "CLIO",
"modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"engineCode": "D4F D7",
"fuel": "gasoline",
"displacementCc": 1149,
"powerKw": 54,
"yearMin": 2014,
"yearMax": 2018,
"vehicles": 3238,
"share": 0.18155312587608635,
"sources": [
"CZ_RSV",
"SI_MZI"
]
}
],
"specs": [
{
"name": "CLIO",
"typeApproval": "E2*2001/116*0327*75",
"variant": "5RSN",
"version": "5RSN0A",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1149,
"powerKw": 54,
"emissionLevel": "EURO 6 W",
"co2Wltp": 127,
"co2Nedc": 127,
"massEmptyKg": 952,
"massMaxKg": 1566,
"lengthCm": 406,
"widthCm": 173,
"heightCm": 145,
"wheelbaseCm": 259,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 167,
"share": 0.9817213344547239,
"source": "NL_RDW"
},
{
"name": "CLIO",
"typeApproval": "E2*2001/116*0327*83",
"variant": "7RSN",
"version": "7RSN0A",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1149,
"powerKw": 54,
"emissionLevel": "EURO 6 W",
"co2Nedc": 127,
"massEmptyKg": 1041,
"massMaxKg": 1607,
"lengthCm": 427,
"widthCm": 173,
"heightCm": 145,
"wheelbaseCm": 259,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 167,
"share": 0.0005046257359125315,
"source": "NL_RDW"
}
]
},
"sources": [
"vin-go",
"kba"
],
"confidence": 0.95,
"raw": {
"calculatedCheckDigit": "3",
"checkDigitValid": true,
"country": "FRANCE",
"manufacturer": {
"brands": [
"OPEL",
"VAUXHALL"
],
"country": "FRANCE",
"dataSources": [
"KBA",
"VPIC"
],
"kbaId": 1949,
"region": "EUROPE",
"vehicleTypes": [
"PASSENGER_CAR"
],
"vpicId": 1001
},
"modelYear": 2005,
"region": "EUROPE",
"value": "VF15RSN0A51234567",
"vds": "5RSN0A",
"vehicle": {
"brand": "RENAULT",
"dataSources": [
"DEEP_RESEARCH"
],
"type": "LIGHT_COMMERCIAL_VEHICLE"
},
"vis": "51234567",
"wmi": "VF1"
}
},
{
"vin": "WVWZZZ1KZ8W123456",
"valid": true,
"wmi": "WVW",
"year": 2008,
"region": "EUROPE",
"country": "GERMANY",
"make": {
"id": "02c47c40-f043-471d-849b-69943cad60a4",
"code": "volkswagen",
"name": "Volkswagen"
},
"vehicleType": {
"code": "passenger_car",
"name": "Passenger Car"
},
"attributes": [
{
"element": "Plant City",
"code": "PlantCity",
"group": "General",
"value": "WOLFSBURG"
},
{
"element": "Plant Country",
"code": "PlantCountry",
"group": "General",
"value": "GERMANY"
}
],
"registry": {
"prefix": "WVWZZZ1KZ8",
"vehicles": 23094,
"yearMin": 1984,
"yearMax": 2025,
"model": {
"make": "VOLKSWAGEN",
"makeId": "02c47c40-f043-471d-849b-69943cad60a4",
"model": "GOLF",
"modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
"share": 0.7638347622759158
},
"matches": [
{
"make": "VOLKSWAGEN",
"makeId": "02c47c40-f043-471d-849b-69943cad60a4",
"model": "GOLF",
"modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
"fuel": "diesel",
"displacementCc": 1896,
"powerKw": 77,
"yearMin": 1984,
"yearMax": 2021,
"vehicles": 2782,
"share": 0.12046418983285702,
"sources": [
"CZ_RSV",
"DK_DMR"
]
},
{
"make": "VOLKSWAGEN",
"makeId": "02c47c40-f043-471d-849b-69943cad60a4",
"model": "GOLF",
"modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
"engineCode": "BLS",
"fuel": "diesel",
"displacementCc": 1896,
"powerKw": 77,
"yearMin": 2007,
"yearMax": 2020,
"vehicles": 2461,
"share": 0.10656447562137351,
"sources": [
"CZ_RSV"
]
}
],
"specs": [
{
"name": "GOLF",
"typeApproval": "E1*2001/116*0328*08",
"variant": "ACBSE",
"version": "FM5FM5AF0060GGN1",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1595,
"powerKw": 75,
"emissionLevel": "EURO 4",
"co2Nedc": 176,
"massEmptyKg": 1253,
"massMaxKg": 1900,
"widthCm": 178,
"wheelbaseCm": 257,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 184,
"share": 0.03139343552437863,
"source": "NL_RDW"
},
{
"name": "GOLF",
"typeApproval": "E1*2001/116*0242*22",
"variant": "ACBSEX0",
"version": "FM5FM5AF006N0GGN1",
"fuel": "gasoline",
"cylinders": 4,
"displacementCc": 1595,
"powerKw": 75,
"emissionLevel": "EURO 4",
"co2Nedc": 176,
"massEmptyKg": 1148,
"massMaxKg": 1800,
"lengthCm": 420,
"widthCm": 176,
"heightCm": 146,
"wheelbaseCm": 257,
"seats": 5,
"doors": 4,
"maxSpeedKmh": 184,
"share": 0.022430068416038798,
"source": "NL_RDW"
}
]
},
"sources": [
"vin-go",
"kba"
],
"confidence": 0.95,
"raw": {
"calculatedCheckDigit": "6",
"checkDigitValid": true,
"country": "GERMANY",
"manufacturer": {
"brands": [
"VOLKSWAGEN",
"AUDI"
],
"country": "GERMANY",
"dataSources": [
"KBA",
"VPIC"
],
"kbaId": 600,
"region": "EUROPE",
"vehicleTypes": [
"PASSENGER_CAR"
],
"vpicId": 1148
},
"modelYear": 2008,
"region": "EUROPE",
"value": "WVWZZZ1KZ8W123456",
"vds": "ZZZ1KZ",
"vehicle": {
"brand": "VOLKSWAGEN",
"dataSources": [
"DEEP_RESEARCH"
],
"type": "PASSENGER_CAR"
},
"vis": "8W123456",
"wmi": "WVW"
}
}
]
}Validate a VIN
POST/v1/vin/validateKey optional
Without a key, the response is reduced to what the free decoder returns, and calls are rate-limited per IP address.
Request body
vinstringrequired
Example body
{
"vin": "VF15RSN0A51234567"
}Response 200
vinstringrequiredvalidbooleanrequiredmessagestringrequired
Errors
400Invalid request
curl -X POST https://api.autopic.io/v1/vin/validate \
-H "Authorization: Bearer $AUTOPIC_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"VF15RSN0A51234567"}'const res = await fetch('https://api.autopic.io/v1/vin/validate', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"vin": "VF15RSN0A51234567"
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.autopic.io/v1/vin/validate",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
json={"vin":"VF15RSN0A51234567"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/vin/validate');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY'), 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"vin":"VF15RSN0A51234567"}',
]);
$data = json_decode(curl_exec($ch), true);{
"message": "",
"valid": true,
"vin": "VF15RSN0A51234567"
}Look up a manufacturer (WMI)
GET/v1/wmi/{wmi}API key
Requires an API key.
Parameters
wmistring · pathrequired
Response 200
wmistringrequiredsourcesstring[]requiredmanufacturerobjectcachedobject
Errors
400Invalid request
curl https://api.autopic.io/v1/wmi/VF1 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/wmi/VF1', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/wmi/VF1",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/wmi/VF1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"cached": {
"id": "5ebd22ef-e901-446e-9f5b-99148b40c5aa",
"wmi": "VF1",
"manufacturerId": "43e3a3f3-ee14-430e-af93-28e82d00d387",
"makeId": "2b219624-3455-4dce-a591-f9cf2ddf82cb",
"country": "France",
"vehicleTypeCode": "passenger_car",
"source": "VPIC"
},
"manufacturer": {
"brands": [
"OPEL",
"VAUXHALL"
],
"country": "FRANCE",
"dataSources": [
"KBA",
"VPIC"
],
"kbaId": 1949,
"region": "EUROPE",
"vehicleTypes": [
"PASSENGER_CAR"
],
"vpicId": 1001
},
"sources": [
"vin-go",
"VPIC"
],
"wmi": "VF1"
}