vin

Turns 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.

get/v2/vin/{vin}

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

vin, string required

17-character VIN

Query parameters

profile, 'vpic'

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.

market, 'CA' | 'US'

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

union required
VinIdentity required
OR
VpicDecodeVinValues required

Changes

    • info

      added the new optional query request parameter market

    • info

      added the optional property oneOf[#/components/schemas/VinIdentity]/catalogueTrim to the response with the status

    • info

      added the optional property oneOf[#/components/schemas/VinIdentity]/names to the response with the status

    2 more changes in this revision