VIN Lookup API

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

/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

  • 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
https://api.api-ninjas.com/v1/vinlookup?vin=JH4KA7561PC008269

Sample Response

JSON
1 2 3 4 5 6 7 8 9 10 11 12 { "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 3 4 5 6 7 8 9 import requests vin = 'JH4KA7561PC008269' api_url = 'https://api.api-ninjas.com/v1/vinlookup?vin={}'.format(vin) response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'}) if response.status_code == requests.codes.ok: print(response.text) else: print("Error:", response.status_code, response.text)

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.