Skip to main content

VIN Decoder is a simple tool for decoding vehicle identification numbers. It returns the make, model, and more of the vehicle.

Project description

VIN Decoder API

VIN Decoder is a simple tool for decoding vehicle identification numbers. It returns the make, model, and more of the vehicle.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the VIN Decoder API


Installation

pip install apiverve-vindecoder

Configuration

Before using the vindecoder API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The VIN Decoder API documentation is found here: https://docs.apiverve.com/api/vindecoder.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_vindecoder.apiClient import VindecoderAPIClient

# Initialize the client with your APIVerve API key
api = VindecoderAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = { "vin": "1HGCM82633A004352" }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "make": "HONDA",
    "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
    "model": "Accord",
    "options": {
      "abs": "",
      "activesafetysysnote": "",
      "adaptivecruisecontrol": "",
      "adaptivedrivingbeam": "",
      "adaptiveheadlights": "",
      "additionalerrortext": "",
      "airbagloccurtain": "1st and 2nd Rows",
      "airbaglocfront": "1st Row (Driver and Passenger)",
      "airbaglocknee": "",
      "airbaglocseatcushion": "",
      "airbaglocside": "1st Row (Driver and Passenger)",
      "automaticpedestrianalertingsound": "",
      "autoreversesystem": "",
      "axleconfiguration": "",
      "axles": "",
      "baseprice": "",
      "batterya": "",
      "batterya_to": "",
      "batterycells": "",
      "batteryinfo": "",
      "batterykwh": "",
      "batterykwh_to": "",
      "batterymodules": "",
      "batterypacks": "",
      "batterytype": "",
      "batteryv": "",
      "batteryv_to": "",
      "bedlengthin": "",
      "bedtype": "Not Applicable",
      "blindspotintervention": "",
      "blindspotmon": "",
      "bodycabtype": "Not Applicable",
      "bodyclass": "Coupe",
      "brakesystemdesc": "",
      "brakesystemtype": "",
      "busfloorconfigtype": "Not Applicable",
      "buslength": "",
      "bustype": "Not Applicable",
      "can_aacn": "",
      "cashforclunkers": "",
      "chargerlevel": "",
      "chargerpowerkw": "",
      "cib": "",
      "coolingtype": "",
      "curbweightlb": "",
      "custommotorcycletype": "Not Applicable",
      "daytimerunninglight": "",
      "destinationmarket": "",
      "displacementcc": "2998.832712",
      "displacementci": "183",
      "displacementl": "2.998832712",
      "doors": "2",
      "driverassist": "",
      "drivetype": "",
      "dynamicbrakesupport": "",
      "edr": "",
      "electrificationlevel": "",
      "engineconfiguration": "V-Shaped",
      "enginecycles": "",
      "enginecylinders": "6",
      "enginehp": "240",
      "enginehp_to": "",
      "enginekw": "",
      "enginemanufacturer": "",
      "enginemodel": "J30A4",
      "entertainmentsystem": "",
      "errorcode": "0",
      "errortext": "0 - VIN decoded clean. Check Digit (9th position) is correct",
      "esc": "",
      "evdriveunit": "",
      "forwardcollisionwarning": "",
      "fuelinjectiontype": "",
      "fueltypeprimary": "Gasoline",
      "fueltypesecondary": "",
      "gcwr": "",
      "gcwr_to": "",
      "gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
      "gvwr_to": "Class 1: 6,000 lb or less (2,722 kg or less)",
      "keylessignition": "",
      "lanecenteringassistance": "",
      "lanedeparturewarning": "",
      "lanekeepsystem": "",
      "lowerbeamheadlamplightsource": "",
      "makeid": "474",
      "manufacturerid": "988",
      "modelid": "1861",
      "motorcyclechassistype": "Not Applicable",
      "motorcyclesuspensiontype": "Not Applicable",
      "ncsabodytype": "",
      "ncsamake": "",
      "ncsamapexcapprovedby": "",
      "ncsamapexcapprovedon": "",
      "ncsamappingexception": "",
      "ncsamodel": "",
      "ncsanote": "",
      "nonlanduse": "",
      "note": "",
      "otherbusinfo": "",
      "otherengineinfo": "",
      "othermotorcycleinfo": "",
      "otherrestraintsysteminfo": "Seat Belt (Rr center position)",
      "othertrailerinfo": "",
      "parkassist": "",
      "pedestrianautomaticemergencybraking": "",
      "plantcity": "MARYSVILLE",
      "plantcompanyname": "",
      "plantcountry": "UNITED STATES (USA)",
      "plantstate": "OHIO",
      "possiblevalues": "",
      "pretensioner": "",
      "rearautomaticemergencybraking": "",
      "rearcrosstrafficalert": "",
      "rearvisibilitysystem": "",
      "saeautomationlevel": "",
      "saeautomationlevel_to": "",
      "seatbeltsall": "Manual",
      "seatrows": "",
      "seats": "",
      "semiautomaticheadlampbeamswitching": "",
      "series": "",
      "series2": "",
      "steeringlocation": "",
      "suggestedvin": "",
      "topspeedmph": "",
      "tpms": "",
      "trackwidth": "",
      "tractioncontrol": "",
      "trailerbodytype": "Not Applicable",
      "trailerlength": "",
      "trailertype": "Not Applicable",
      "transmissionspeeds": "5",
      "transmissionstyle": "Automatic",
      "trim": "EX-V6",
      "trim2": "",
      "turbo": "",
      "valvetraindesign": "Single Overhead Cam (SOHC)",
      "vehicledescriptor": "1HGCM826*3A",
      "vehicletype": "PASSENGER CAR",
      "wheelbaselong": "",
      "wheelbaseshort": "",
      "wheelbasetype": "",
      "wheels": "",
      "wheelsizefront": "",
      "wheelsizerear": "",
      "windows": ""
    },
    "trim": "EX-V6",
    "vin": "1HGCM82633A004352",
    "year": "2003"
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_vindecoder-1.1.5.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

apiverve_vindecoder-1.1.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file apiverve_vindecoder-1.1.5.tar.gz.

File metadata

  • Download URL: apiverve_vindecoder-1.1.5.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for apiverve_vindecoder-1.1.5.tar.gz
Algorithm Hash digest
SHA256 c47a385fce026583cb3861c8d7ce231849f56bf83830531805ac2c367ade89cd
MD5 59ed27b352576f217fb9d1bbc6e2d403
BLAKE2b-256 b82b7bea088a6abaf496f115960b70aca99850793ba9bf491e8e31f6b9cd17db

See more details on using hashes here.

File details

Details for the file apiverve_vindecoder-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_vindecoder-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1e200395687585c4e825bc7b5ecef4655f462305e253c4de8b2cadb3680f1369
MD5 57a3452b00a712587d4327db338da590
BLAKE2b-256 879e83f2a28467f98a00f7ce3f9c9f3afd8d20f7ef1190e501c9115ab186c57c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page