VIN Lookup API
The VIN Lookup API decodes Vehicle Identification Numbers (VINs) from vehicles built and sold anywhere in the world (North America, Europe, Asia, the Middle East, Africa, Latin America and Oceania), covering over 600 makes. It also decodes Japanese domestic chassis numbers, the identifier on Japanese used imports.
From 6,710 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 289ms | 326ms | 332ms | 674ms | 1134ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
https://api.api-ninjas.com/v1/vinlookup
Returns the manufacturer, model, body class, country and region of manufacture, and model year for a VIN or Japanese chassis number.
Parameters
vinrequired17-character VIN, or a Japanese chassis (frame) number such as
ZVW30-1234567.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
The /v1/vinlookup endpoint returns a JSON object with the following fields, or an error if the request is unsuccessful.
vinThe VIN or chassis number that was decoded.
manufacturerPremium onlyVehicle manufacturer.
modelPremium onlyVehicle model.
countryCountry in which the vehicle was manufactured.
regionGeographic region of the manufactured country (e.g.
Asia).classPremium onlyVehicle body class (e.g.
coupe).wmiWorld Manufacturer Identifier: VIN characters 1-3.
vdsVehicle Descriptor Section: VIN characters 4-9.
visVehicle Identifier Section: VIN characters 10-17.
yearModel year.
For Japanese chassis numbers, country is Japan and wmi, vds and vis are null.
Live Demo
Code Examples
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
Can I use the VIN Lookup API for commercial purposes?
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.How do I get an API key and start using the VIN Lookup API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
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.What happens if a request to the VIN Lookup API fails?
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.What information does the VIN Lookup API return for a VIN?
A single GET request to/v1/vinlookupwith thevinparameter decodes the VIN into fields such ascountry,region,year, and the structural identifierswmi,vds, andvis, whilemanufacturer,model, and bodyclassare returned as premium fields. If you also need full specifications like engine, fuel economy, or trim details, pair it with the Cars API.What format does the vin parameter need to be in?
The requiredvinparameter takes a 17-character Vehicle Identification Number, such asJH4KA7561PC008269, or a Japanese domestic chassis number, such asZVW30-1234567; other values return an error. You can browse other vehicle data endpoints in the API catalog.Does the VIN Lookup API decode VINs from outside the US?
Yes. It decodes VINs from vehicles built and sold in North America, Europe, Asia, the Middle East, Africa, Latin America and Oceania, covering over 600 makes, including European, Japanese, Korean, Chinese and Indian manufacturers and their plants worldwide. It also decodes the chassis numbers on Japanese-market vehicles and used imports, such asZVW30-1234567.What do the wmi, vds, and vis fields in the response mean?
These fields break the VIN into its three standardized sections:wmiis the World Manufacturer Identifier,vdsis the Vehicle Descriptor Section, andvisis the Vehicle Identifier Section, which together also yield the decodedcountryandyear. For electric-specific vehicle data not covered here, see the Electric Vehicle API.Which response fields require a premium plan?
Themake,model, andclass(body class) fields are marked premium and require a paid subscription, whilecountry,region,year,wmi,vds, andvisare 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.
Explore API integration use cases for recommended APIs and workflow examples.