# Basic VIN Decoder API

Canonical URL: https://developers.marketcheck.com/apis/vin-decoder

Updated: Nov 16, 2026

This is the Markdown version of https://developers.marketcheck.com/apis/vin-decoder. Every page of this site has one at its own address with .md added (the home page's is https://developers.marketcheck.com/index.md). The prices are at https://developers.marketcheck.com/pricing.md.

> One GET turns a 17-character VIN into year, make, model and trim, with body type, engine, drivetrain and fuel economy. Recorded requests, responses and screens.

Turn a 17-character VIN into the vehicle it names: year, make, model, trim and the core specs, in one call.

- Endpoint: `GET https://api.marketcheck.com/v2/decode/car/{vin}/specs`, with `api_key` as a query parameter
- Regions: United States
- Docs: https://docs.marketcheck.com/docs/api/cars/vehicle-specs/basic
- This page: https://developers.marketcheck.com/apis/vin-decoder

## Good to know
- The docs list a 400 for a malformed VIN and a 422 for an invalid VIN or a decode that is not possible.
- `overall_length`, `overall_width`, `overall_height` and `std_seating` arrive as strings, so convert them before you do arithmetic.
- `fuel_type` names only what goes in the tank, so a hybrid can read like any gasoline car there; `powertrain_type` tells them apart.
- A `model` can begin with its make, so a name joined from `make` and `model` can say the make twice.

## Use cases

### Fill a listing form from a VIN
A seller types the VIN and the form fills in year, make, model and trim, then body_type, drivetrain, transmission, fuel_type and engine, once is_valid says the VIN decoded. What a VIN cannot know stays with the seller: the mileage and the listed price.

Request: Decode VIN 4T3RWRFV3NU052190.
```bash
curl "https://api.marketcheck.com/v2/decode/car/4T3RWRFV3NU052190/specs?api_key=YOUR_API_KEY"
```

Response (recorded Nov 13, 2026):
```json
{
  "is_valid": true,
  "decode_mode": "fullVIN",
  "year": 2022,
  "make": "Toyota",
  "model": "RAV4",
  "trim": "XLE",
  "body_type": "SUV",
  "vehicle_type": "Truck",
  "transmission": "CVT",
  "drivetrain": "AWD",
  "fuel_type": "Unleaded",
  "engine": "2.5L I4",
  "engine_size": 2.5,
  "engine_block": "I",
  "doors": 5,
  "cylinders": 4,
  "made_in": "USA",
  "overall_height": "67",
  "overall_length": "180.9",
  "overall_width": "73",
  "std_seating": "5",
  "highway_mpg": 38,
  "city_mpg": 41,
  "powertrain_type": "HEV"
}
```

### Start a quote from a VIN
Decode the VIN at the first step of a quote and the applicant confirms one vehicle instead of choosing it from year, make and model menus. The recorded response also carries body_subtype, a field this endpoint's docs schema does not list, beside doors and std_seating.

Request: Decode VIN 1C6RR6KG8GS268309.
```bash
curl "https://api.marketcheck.com/v2/decode/car/1C6RR6KG8GS268309/specs?api_key=YOUR_API_KEY"
```

Response (recorded Nov 13, 2026). Showing the fields a quote intake uses.
```json
{
  "year": 2016,
  "make": "RAM",
  "model": "Ram 1500 Pickup",
  "trim": "Tradesman",
  "body_type": "Pickup",
  "body_subtype": "Crew",
  "engine": "3.6L V6",
  "transmission": "Automatic",
  "drivetrain": "RWD",
  "fuel_type": "E85 / Unleaded",
  "doors": 4,
  "std_seating": "6"
}
```

### A spec sheet for service and parts
overall_length, overall_width and overall_height are the box the vehicle fits in, and the docs name no unit for them. For the parts desk the engine comes as engine, engine_size and cylinders, and the fuel economy as city_mpg and highway_mpg.

Request: Decode VIN 4T4BF1FK5ER407769.
```bash
curl "https://api.marketcheck.com/v2/decode/car/4T4BF1FK5ER407769/specs?api_key=YOUR_API_KEY"
```

Response (recorded Nov 13, 2026). Showing the dimensions and capacities.
```json
{
  "year": 2014,
  "make": "Toyota",
  "model": "Camry",
  "trim": "LE",
  "engine": "2.5L I4",
  "engine_size": 2.5,
  "cylinders": 4,
  "doors": 4,
  "std_seating": "5",
  "overall_height": "57.9",
  "overall_length": "189.2",
  "overall_width": "71.7",
  "city_mpg": 25,
  "highway_mpg": 35
}
```

## Key parameters
- `vin` (string, required): The 17-character VIN of the vehicle to decode.
- `api_key` (string, required): Your MarketCheck API authentication key. Required for every request, unless OAuth is used.

## Questions

### What does the MarketCheck Basic VIN Decoder API return?
The MarketCheck Basic VIN Decoder API returns the vehicle that a 17-character VIN names. Its endpoint, /v2/decode/car/{vin}/specs, answers with the year, make, model and trim and the core specs, among them body_type, engine, transmission, drivetrain, fuel_type, city_mpg and highway_mpg. The is_valid flag in the response says whether the VIN decoded.

### Does MarketCheck's Basic VIN Decoder say whether a car is for sale or what it was listed for?
No, the Basic VIN Decoder describes the vehicle and returns no listing data: its response holds specs, with no price and no seller. Two other MarketCheck calls take the same VIN. Inventory Search with the vin parameter returns the car's active listing when it has one, and History by VIN returns each listing on record with its listed price.

### How do I check whether a VIN is valid with MarketCheck's Basic VIN Decoder?
Decode the VIN and read is_valid, the flag in the Basic VIN Decoder's response that says whether it decoded. Check the HTTP status as well, because the docs list a 400 for an invalid VIN format and a 422 for an invalid VIN or a decode that is not possible.

### Can MarketCheck's Basic VIN Decoder decode a partial VIN?
The Basic VIN Decoder needs the full 17-character VIN, so a partial one will not decode. The VIN goes in the path, in upper or lower case. A squish VIN, the shortened form that leaves out the serial number, is not supported, the docs say, and a value that is not a well-formed VIN gets a 400.

## Related APIs
- NeoVIN Decoder: https://developers.marketcheck.com/apis/neovin-decoder
- MarketCheck Price: https://developers.marketcheck.com/apis/marketcheck-price
- History by VIN: https://developers.marketcheck.com/apis/vin-history
- Plate Decoder: https://developers.marketcheck.com/apis/plate-decoder

Replace YOUR_API_KEY with your key from https://developers.marketcheck.com/api-keys, and call the API from your server so the key stays private.
