VIN Decode

Decode any VIN to get comprehensive vehicle specifications

GET Request
~150ms response
1 credit per request

Endpoint

GET https://api.carapi.dev/v1/vin-decode/{vin}

Parameters

ParameterTypeRequiredDescription
vinstringRequired17-character Vehicle Identification Number (URL path parameter)
tokenstringRequiredAPI authentication token (query parameter)

Request Examples

cURL

curl -X GET \
  "https://api.carapi.dev/v1/vin-decode/WBAKU210X00R62021?token=YOUR_API_KEY"

JavaScript

// Using fetch API
const response = await fetch('https://api.carapi.dev/v1/vin-decode/WBAKU210X00R62021?token=YOUR_API_KEY', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);

Python

import requests

url = "https://api.carapi.dev/v1/vin-decode/WBAKU210X00R62021"
params = {
    "token": "YOUR_API_KEY"
}

response = requests.get(url, params=params)
data = response.json()
print(data)

Response Examples

Success Response (200)

{
  "vin": "WBAKU210X00R62021",
  "specifications": {
    "make": "BMW",
    "model": "X6",
    "fuel": "petrol",
    "transmission": "automatic",
    "enginePower": 225,
    "enginePowerUnit": "kW",
    "bodyStyle": "SUV",
    "drivetrain": "ALL_WHEEL_DRIVE",
    "color": "GRAY",
    "registrationDate": "2016-05-04T00:00:00.000Z"
  },
  "manufacturer": {
    "name": "BMW AG",
    "region": "Europe",
    "country": "Germany"
  },
  "features": [
    { "name": "ABS", "category": "SAFETY_SYSTEM" },
    { "name": "ESP", "category": "SAFETY_SYSTEM" },
    { "name": "BLIND_SPOT_MONITOR", "category": "SAFETY_SYSTEM" },
    { "name": "ADAPTIVE_CRUISE_CONTROL", "category": "ASSISTANCE_SYSTEM" },
    { "name": "PARKING_CAMERA", "category": "ASSISTANCE_SYSTEM" },
    { "name": "CENTRAL_LOCKING", "category": "VEHICLE_SECURITY" },
    { "name": "LEATHER_UPHOLSTERY", "category": "INTERIOR_FEATURE" },
    { "name": "SUNROOF", "category": "INTERIOR_FEATURE" }
  ],
  "plateNumber": null
}

Error Response (400)

{
  "error": "Invalid VIN: VIN must be exactly 17 characters long (got 16)."
}

Response Fields

FieldTypeDescription
vinstringThe original VIN number provided
specificationsobjectVehicle specifications object
specifications.makestringVehicle manufacturer (e.g., Honda, Toyota)
specifications.modelstringVehicle model name (e.g., Civic, Camry)
specifications.fuelstringPrimary fuel type (petrol, diesel, electric, hybrid)
specifications.transmissionstringTransmission type (manual, automatic)
specifications.enginePowernumber|nullEngine power in kilowatts (kW). Null when unknown.
specifications.enginePowerUnitstring|nullUnit for enginePower — always "kW" when present, otherwise null
specifications.bodyStylestring|nullBody style. One of: HATCHBACK, CABRIOLET, COMBI, COUPE, MPV, PICK_UP, SEDAN, SUV, VAN, MOTORCYCLE, TRUCK, BUS, OTHER
specifications.drivetrainstring|nullDrivetrain. One of: FRONT_WHEEL_DRIVE, REAR_WHEEL_DRIVE, ALL_WHEEL_DRIVE, OTHER
specifications.colorstring|nullExterior color. One of: BEIGE, WHITE, BLACK, RED, PURPLE, BROWN, BLUE, ORANGE, PINK, SILVER, GRAY, BURGUNDY, GREEN, YELLOW, OTHER
specifications.registrationDatestringFirst registration date (ISO 8601 format)
manufacturerobject|nullManufacturer details derived from the VIN World Manufacturer Identifier (first 3 characters)
manufacturer.namestring|nullManufacturer name (e.g., Audi AG)
manufacturer.regionstringManufacturing region (e.g., Europe, North America)
manufacturer.countrystringManufacturing country (e.g., Germany)
featuresarrayArray of vehicle features. Each item is an object with name and category.
features[].namestringFeature identifier (e.g., ABS, SUNROOF, ADAPTIVE_CRUISE_CONTROL)
features[].categorystring|nullFeature category. One of: SAFETY_SYSTEM, ASSISTANCE_SYSTEM, VEHICLE_SECURITY, INTERIOR_FEATURE
plateNumberobject|nullAssociated plate number information (if available)
plateNumber.countrystringCountry code of the plate
plateNumber.plateNumberstringLicense plate number

Error Codes

400

Bad Request

Invalid VIN format or missing required parameters

403

Forbidden

Invalid or missing API token

404

Not Found

VIN not found in database

500

Internal Server Error

Server encountered an error processing the request

Important Notes

  • VIN must be exactly 17 characters long and contain only alphanumeric characters (except I, O, and Q)
  • Response times are typically under 150ms with global CDN caching
  • Each successful request consumes 1 API credit from your monthly allowance
  • Data is sourced from official manufacturer databases and updated regularly