The VIN Lookup API provides vehicle information by decoding any Vehicle Identification Number (VIN).
https://api.api-ninjas.com/v1/vinlookup
Returns key vehicle information including manufacturer, country of origin, and model year for a given VIN.
vin
requiredValid VIN to check. Must be a 17-character string.
X-Api-Key
requiredAPI Key associated with your account.
make
premiumVehicle manufacturer.
model
premiumVehicle model.
country
Country in which the vehicle was manufactured.
region
Geographic region of the manufactured country (e.g. Asia
).
class
premiumVehicle 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.
https://api.api-ninjas.com/v1/vinlookup?vin=JH4KA7561PC008269
Headers
X-Api-Key
Log in or sign up to get your API Key
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"
}
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.