Developers / VIN decoder API

VIN decoder API

Send a VIN, get the vehicle back as JSON: identity, build details and the recorded history in one call, across 30+ European countries. This page shows the decode use case end to end.

There is no separate decode endpoint to learn. Decoding is the first thing every report call does, so one endpoint covers the whole ladder: identify the car, read its build, read its recorded history. You use the same call whether you want the identity or everything.

curl -X POST https://api.mrvin.com/v1/reports \
  -H "Authorization: Bearer mrvin_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"vin": "WVWZZZ1JZ3W386752"}'
{
  "reportId": "rpt_556e24b94171603dbe7cbdd443513c35",
  "status": "complete",
  "vin": "WVWZZZ1JZ3W386752",
  "report": {
    "identity": { "make": "Volkswagen", "model": "Golf", "year": 2003 }
  }
}

The report object carries more than the identity shown here: technical data and emissions, registration and import trail, equipment, mileage readings, damage records with photos, inspections, recalls, insurance, service history, valuations, listings, salvage auctions, factory data and electric vehicle figures appear as sections when they exist for the vehicle. Each section is described on What a report contains; the authoritative field list is the machine readable description at https://api.mrvin.com/v1/openapi, generated from the running service. Build your client to ignore fields it does not recognise and new sections cost you nothing.

What comes back for a European VIN

SectionWhat it holds
identityMake, model, model year: the decode itself.
technicalEngine, power, fuel, gearbox, mass and emissions (standard, CO2 cycle and class, drivetrain) where the data exists, including battery capacity for electric cars. Confirmed electric cars also get evSpec: battery, range, charging times and charging costs.
equipmentThe factory option list recorded against the VIN at build, with a category and a standard or optional tier per item, where available for the make.
history sectionsmileageHistory, accidentHistory, inspections, ownershipHistory, recalls, insurance, serviceHistory and registration (the import trail), with records from more than 30 countries where available.
coverageOne verdict per subject: HIT, CLEAN or null. Theft for a European car is the theft verdict here; the separate stolenCheck block appears only on a positive North American match.
Coverage is honest by design: a section that does not exist for a vehicle is null or empty, not padded. To know whether a subject was actually checked before showing anything to a user, read coverage.checks; sectionStatus only tells you which of the slower sections are still arriving.

Decoding at volume

Bulk decoding is a loop over the same endpoint, and three properties of the API are there to make that loop cheap:

  • Repeat lookups are not billed twice. A VIN you already bought reads back free for the access window, so re checking your own stock costs nothing.
  • Rate limits are visible. Respect X-RateLimit-Remaining and the loop never trips.
  • Re-reads by reportId are free. Store the id at purchase and never pay to display the same car again.

Dealers and marketplaces typically run the loop nightly over incoming stock and cache by VIN. If your volume is large enough that this shape does not fit, tell us what you are ingesting and we will suggest one that does.

Pricing

Accounts are set up by hand and priced per account: what you pay per call depends on volume and on which sections you actually need. Your exact price is always visible at /v1/account before you build anything on top of it. There is no subscription and no minimum.

Looking for a one off check rather than an integration? The consumer side of this decoder is free to preview at the VIN decoder pages.