Decode a VIN
Changed onTurns a VIN into the vehicle it identifies: year, make, model, trim, body and more. Each attribute also comes as a ref, an ID such as model-year:toyota/rav4/2021 that you pass to other endpoints. links lists the next calls for this VIN: recalls, specs, prices, listings and history.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
17-character VIN
Query parameters
vpic answers in NHTSA vPIC's response shape, so code written for vPIC works unchanged; a malformed VIN is then answered the way vPIC answers it, and not billed. On batch, vPIC's form body (data=VIN1;VIN2) is accepted too. See the vPIC migration guide. Leave it out for the normal response.
Name the build as this market's maker does. With CA, a Hyundai Tucson the US sells as SEL comes back as Preferred, and trimMarket is CA. When the market has no name of its own on file, trim is the neutral name and trimMarket is null. Omit for the neutral, US-filed name. catalogueTrim and names (every market's name) are returned either way.
Response
The decoded vehicle
Changes
- info
added the new optional
queryrequest parametermarket - info
added the optional property
oneOf[#/components/schemas/VinIdentity]/catalogueTrimto the response with the status - info
added the optional property
oneOf[#/components/schemas/VinIdentity]/namesto the response with the status
2 more changes in this revision
- info