+1 (844) 268 – 5991
6807 NE 79th ct Ste B Portland OR 97218
Back To API Subscriber Page
Affiliate

VIN Decode API

VIN Decode API provides access to the ClearVin proprietary VIN decoded and recall data. Our VIN decoder breaks the VIN number down into dozens of data points concerning the manufacture of the vehicle. Recall data will provide information on what recalls were made for this vehicle and if any are outstanding.

Please Note: VIN information is captured at the time of manufacture and will not reflect changes such as paint color, aftermarket engine or suspension modifications.

VIEW DEMO

Authorization

You will need to use email and password to get the access token using this URL:
POST https://www.clearvin.com/rest/vendor/login
Request must be from a registered IP address.
The payload should be:
{
    "email" : “example@example.com”,
    "password": "11111111"
}
Response:
ELEMENT DESCRIPTION FORMAT
status States whether the request was handled successfully, or ended with an error String error or ok
message Contains details about the result if status is error String
token JSON web token. The token expires in 10 minutes String


If email and password are correct the token will be returned response with token as follows:
{
    "status": "ok",
    "token": " I6MTgxLCJpYXQiOjE1MDk1NTg4MTksIm4cCI6MTUwOTU1OTQxOX0.ACV0t3UyHXs0"
}


Report

After you receive this token you can use it to access reports using this URL:
GET https://www.clearvin.com/rest/vendor/report?vin=5UXFA13544LU21050
To use this endpoint, you need to provide HTTP header with the supplied token as follows:
Authorization: Bearer I6MTgxLCJpYXQiOjE1MDk1NTg4MTksIm4cCI6MTUwOTU1OTQxOX0.ACV0t3UyHXs0
Response:
ELEMENT DESCRIPTION TYPE
status States whether the request was handled successfully, or ended with an error String error or ok
Message Contains details about the result if status is error String
Report id Contains current report id String
Report vin Requested vin String
Report report Contains full information about the vehicle JSON object

Auth success

Request
curl -X POST \
    https://www.clearvin.com/rest/vendor/login \
    -H 'Content-Type: application/json' \
    -d '{
        "email": "test@domain.com",
        "password": "yourpassword"
} '
Response success
{
    "status": "ok",
    "token": "I6MTgxLCJpYXQiOjE1MDk1NTg4MTksIm4cCI6MTUwOTU1OTQxOX0.ACV0t3UyHXs0"
}
Response error
{
    "status": "error",
    "message": "Wrong username or password"
}


Report

Request
curl - X GET\ 'https://www.clearvin.com/rest/vendor/report?vin=WBAFR7C57CC811956'\ -
    H 'Authorization: Bearer I6MTgxLCJpYXQiOjE1MDk1NTg4MTksIm4cCI6MTUwOTU1OTQxOX0.ACV0t3UyHXs0'\ -
    H 'Content-Type: application/json'
Response
{
    "status": "ok",
    "result": {
        "id": "3646F9E2",
        "vin": "WBAFR7C57CC811956",
        "report": {
            "decoder": {
                "vin": "WBAFR7C57CC811956",
                "year": "2012 ",
                "make": "BMW ",
                "model": "5-Series ",
                "trim": "535i ",
                "madeIn": "GERMANY ",
                "style": "SEDAN 4-DR ",
                "engine": "3.0L L6 DOHC 24V ",
                "fuelTank": "18.50 gallon",
                "cityMileage": "19 - 21 miles/gallon",
                "highwayMileage": "29 - 31 miles/gallon",
                "antiBrakeSystem": "4-Wheel ABS ",
                "steeringType": "R&P ",
                "standardSeating": "5 ",
                "optionalSeating": ""
            }
        }
    }
}