VIN Lookup API
The VIN Lookup API provides vehicle information by decoding any Vehicle Identification Number (VIN).
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
/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
vinrequiredValid VIN to check. Must be a 17-character string.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Returns
A JSON object with the following fields or an error if the request is unsuccessful.
makepremiumVehicle manufacturer.
modelpremiumVehicle model.
countryCountry in which the vehicle was manufactured.
regionGeographic region of the manufactured country (e.g.
Asia).classpremiumVehicle body class (e.g.
coupe).wmiVehicle WMI identifier.
vdsVehicle VDS identifier.
visVehicle VIS identifier.
yearYear in which the vehicle was manufactured.
Sample Request Live Demo!
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=JH4KA7561PC008269Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
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
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, whilemake,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 must be a valid 17-character Vehicle Identification Number string, such asJH4KA7561PC008269; malformed or shorter values will return an error. You can browse other vehicle data endpoints in the API catalog.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.