Vehicle history

A vehicle's history

Last updated:

What happened to one vehicle on the public record: its crash reports, its inspections with every violation cited, and every carrier it ran under.

Identity tells you what a vehicle is. History tells you what happened to this one: every crash report, inspection and carrier observation that names its VIN.

RouteWhat it returnsSourcesGuide
GET /v2/vin/{vin}/crashesevery crash report that names the VINgov:fmcsa, gov:ny-dmvCrash reports
GET /v2/vin/{vin}/inspectionsevery inspection, with out-of-service orders and each violation citedgov:fmcsa, gov:ny-dmvInspections
GET /v2/vin/{vin}/operatorsevery motor carrier the unit was observed running undergov:fmcsaCarriers it ran under

For a company rather than a vehicle, start at From a carrier's name to its fleet: find the carrier, walk every unit observed under it, then read each unit's history here.

The rest of one VIN's record

Other routes answer about the same VIN from a different angle. They are filed with their own products, and all take the VIN as their key:

RouteWhat it tells you about this vehicleGuide
GET /v2/vin/{vin}/window-stickerhow it left the factory: options, price as built, the label itselfWindow sticker
GET /v2/vin/{vin}/recallsthe recall campaigns listed for its model year in its marketRecalls
GET /v2/vin/{vin}/listingsits listing on the market: asking price and odometerMarket data
GET /v2/vin/{vin}/instrumentthe market instrument its build trades as, for a valueMarket data

One shape, three routes

Every history route answers with the same item, one per record, most recent first:

Example

4 keys
"response": {
"vin": "3HSDZAPR3KN125464",
"items": [
0: {4 items}
],
"page": {
"limit": 100,
"nextCursor": null
},
"links": {
"identity": "/v2/vin/3HSDZAPR3KN125464",
"operators": "/v2/vin/3HSDZAPR3KN125464/operators",
"inspections": "/v2/vin/3HSDZAPR3KN125464/inspections",
"carriers": "/v2/carriers?q=3HSDZAPR3KN125464"
}
}
  • observedAt is when it happened: a day, or a year when the record carries only the year.
  • source is who recorded it.
  • value is the record as a ref (document:crash/…, document:inspection/…) or, on operators, the carrier (org:usdot/…).
  • links points at the other history routes for the same VIN, so one call leads to the rest.

Ask for the detail

Without expand, an item is only the four fields above: enough to count records and page through them, not enough to read one. Add expand=detail for the record behind each item, typed by detail.type:

expandWhat each item gains
(none, the default)nothing: id, observedAt, source, value
detailthe record as the source published it, plus the carrier operating the unit where the record names one

detail is the only value; anything else is a 400 that names it. The price is the same either way, so ask for it unless you only need counts.

Page with cursor (the previous page's page.nextCursor) until it is null; limit goes up to 500.

Crash reports and inspections

Each has its own page:

  • Crash reports: the federal crash file for commercial vehicles and New York's for every vehicle, with injuries, fatalities, tow-away, vehicles involved and the carrier.
  • Inspections: federal roadside inspections with vehicle and driver out-of-service orders and every violation cited by regulation code, and New York's safety and emissions tests.

Carriers it ran under

GET /v2/vin/{vin}/operators returns one item per day an inspection or a crash report put a motor carrier on the unit, so a truck inspected ten times under one carrier is ten items. expand=detail adds which record it was and the carrier as it stands on the register. It covers the power unit; a trailer's carriers come from GET /v2/carriers?q={vin}.

These are observed associations, not ownership: a leased unit is run by a carrier that does not own it. The walk from the other end, a carrier to every unit under it, is in From a carrier's name to its fleet.

What an empty answer means

No items means no record we read names the VIN. It does not mean the vehicle was never in a crash or never inspected:

  • The federal records cover US DOT-regulated commercial vehicles. A pickup under 10,000 lbs GVWR, or a vehicle not run under a DOT number, is outside them.
  • New York covers crashes in New York and inspections of vehicles registered there.
  • Most crashes in Canada, and most outside New York that do not involve a commercial truck, are on neither.

An empty answer does not yet say whether the VIN was outside every record's scope or inside it with nothing on file. Until it does, decode the VIN (GET /v2/vin/{vin}) and read its GVWR class: a light vehicle outside New York is outside the federal records.

Cost

Each route costs 3 credits when there is at least one item, 0 when there is none, with or without expand=detail.

In the SDK

const crashes = await client.v2.vin.crashes(vin, { expand: ["detail"] });
const inspections = await client.v2.vin.inspections(vin, { expand: ["detail"] });
const operators = await client.v2.vin.operators(vin, { expand: ["detail"] });