NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server

VIN Lookup API

The VIN Lookup API provides vehicle information by decoding any Vehicle Identification Number (VIN).

(4.1)

From 6,710 users

2,900+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
289ms326ms332ms674ms1134ms

Didn't find what you were looking for? Suggest an improvement


/v1/vinlookup GET

https://api.api-ninjas.com/v1/vinlookup

Returns key vehicle information including manufacturer, country of origin, and model year for a given VIN.

Parameters

  • vin  required

    Valid VIN to check. Must be a 17-character string.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Returns

A JSON object with the following fields or an error if the request is unsuccessful.

  • make  premium

    Vehicle manufacturer.

  • model  premium

    Vehicle model.

  • country  

    Country in which the vehicle was manufactured.

  • region  

    Geographic region of the manufactured country (e.g. Asia).

  • class  premium

    Vehicle body class (e.g. coupe).

  • wmi  

    Vehicle WMI identifier.

  • vds  

    Vehicle VDS identifier.

  • vis  

    Vehicle VIS identifier.

  • year  

    Year in which the vehicle was manufactured.

Sample Request Live Demo!

vin

Try our APIs in the API playground

Sign up for a free API key to get started — no credit card required.

https://api.api-ninjas.com/v1/vinlookup?vin=JH4KA7561PC008269

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    vin:"JH4KA7561PC008269",
    country:"Japan",
    manufacturer:"Acura",
    model:"Legend",
    class:"Sedan/Saloon",
    region:"Asia",
    wmi:"JH4",
    vds:"KA7561",
    vis:"PC008269",
    year:"1993"
}

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/vinlookup?vin=JH4KA7561PC008269" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the VIN Lookup API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • A single GET request to /v1/vinlookup with the vin parameter decodes the VIN into fields such as country, region, year, and the structural identifiers wmi, vds, and vis, while make, model, and body class are returned as premium fields. If you also need full specifications like engine, fuel economy, or trim details, pair it with the Cars API.
  • The required vin parameter must be a valid 17-character Vehicle Identification Number string, such as JH4KA7561PC008269; malformed or shorter values will return an error. You can browse other vehicle data endpoints in the API catalog.
  • These fields break the VIN into its three standardized sections: wmi is the World Manufacturer Identifier, vds is the Vehicle Descriptor Section, and vis is the Vehicle Identifier Section, which together also yield the decoded country and year. For electric-specific vehicle data not covered here, see the Electric Vehicle API.
  • The make, model, and class (body class) fields are marked premium and require a paid subscription, while country, region, year, wmi, vds, and vis are available on the free tier; see pricing for details. Note that this endpoint decodes cars and trucks rather than motorcycles, which are covered by the Motorcycles API.