openapi: 3.2.0
info:
title: VIN Decoder API
description: Break down vehicle identification number into vehicle specification
termsOfService: https://vincario.com/terms-and-conditions/
contact:
name: Vincario
url: https://vincario.com/
email: support@vincario.com
version: '3.2'
servers:
- url: https://api.vincario.com/
tags:
- name: VIN Decoder
paths:
/3.2/{API_KEY}/{CONTROL_SUM}/decode/info/{VIN}.{format}:
get:
operationId: VIN_Decode_Info
tags:
- VIN Decoder
summary: VIN Decode Info
description: VIN Decode Info returns an object with decode array of strings. Each string represents a 'variable' label that is available for given VIN when you do a 'VIN Decode' request. See variable labels that are returned here. This request is free.
parameters:
- name: API_KEY
in: path
description: Your API key
required: true
schema:
type: string
- name: CONTROL_SUM
in: path
description: 'The CONTROL_SUM for this endpoint is generated by taking the first 10 characters of the SHA1 hash of your VIN, the operation ID ''info'', API key, and secret key, concatenated in that order.
For instance: $controlSum = substr(sha1("{$vin}|info|{$apiKey}|{$secretKey}"), 0, 10);
For a complete guide, please refer to the How to create a request.
'
required: true
schema:
type: string
- name: VIN
in: path
description: Vehicle Identification Number
required: true
style: simple
schema:
maxLength: 17
minLength: 17
type: string
example: XXXDEF1GH23456789
- name: format
in: path
description: Response format (json or html)
required: true
style: simple
schema:
type: string
default: json
responses:
'200':
description: 'A successful response returns an object with decode array of strings. Each string represents a ''variable'' label that is available for given VIN when you do a ''VIN Decode'' request. See the VIN Decode Variable Labels List for a detailed list of variables, their data types, and examples.
'
content:
application/json:
schema:
description: "
{\n \"price\": float,\n \"price_currency\": string,\n \"decode\": string[]\n}\n"
examples:
Success response:
value: '{"price":0,"price_currency":"USD","decode":["VIN","Vehicle ID","Make","Manufacturer","Plant Country","Product Type","Manufacturer Address","Check Digit","Valid Check Digit","Check Digit Validity","Sequential Number","Body","Engine Cylinders","Engine Displacement (ccm)","Number of Doors","Engine Model","Engine Power (kW)","Fuel Type - Primary","Model","Model Year","Plant City","Series","Transmission","Engine (full)","Number of Seats","Engine Cylinders Position","Drive","Length (mm)","Height (mm)","Width (mm)","Fuel System","Engine Torque (RPM)","Wheelbase (mm)","Engine Position","Fuel Capacity (l)","Front Breaks","Rear Breaks","Valves per Cylinder","Track Front (mm)","Track Rear (mm)","Max Speed (km/h)","ABS","Wheel Size","Acceleration 0-100 km/h (s)","Engine Compression Ratio","Steering Type","Engine Stroke (mm)","Engine Cylinder Bore (mm)","Minimum Trunk Capacity (l)","Max Weight (kg)","Production Stopped","Production Started","Front Suspension","Rear Suspension","Fuel Consumption Urban (l/100km)","Fuel Consumption Extra Urban (l/100km)","Fuel Consumption Combined (l/100km)","Number of Gears","Valve Train","Power Steering","Maximum Trunk Capacity (l)","Wheel Rims Size","Engine Turbine","Minimum Turning Circle (m)","Emission Standard","CO2 Emission (g/km)","Drag Coefficient","Permitted trailer load without brakes (kg)","Width including mirrors (mm)","Max roof load (kg)","Permitted towbar download (kg)","Rear Overhang (mm)","Front Overhang (mm)","Permitted trailer load with brakes 8% (kg)","Engine Oil Capacity (l)","Engine Coolant (l)","Engine Max Speed (rpm)","Wheelbase Array (mm)","Wheel Size Array","Wheel Rims Size Array","Price","Odometer (km)","Make Logo"]}'
When you use an incorrect API key:
value: '{"error":true,"message":"Unknown API Key"}'
When you use an incorrect control sum:
value: '{"error":true,"message":"Invalid Control sum"}'
When you run out of prepaid lookups:
value: '{"error":true,"message":"Not Enough Lookups"}'
When you reach a limit of requests per minute:
value: '{"error":true,"message":"You''ve reached limit of 60 requests per minute. Contact us at info@vincario.com for a customized limit."}'
When VIN is not recognized:
value: '{"error":true,"message":"Not recognized"}'
When VIN can't be decoded:
description: '##### **char**: VIN contains an invalid character (I, O, Q)
##### **length**: VIN length is not 17 characters
##### **invalid**: VIN is not valid'
value: '{"error": true,"message": "invalid","reasons": ["char","invalid","length"]}'
'404':
description: The route could not be found.
'500':
description: Unexpected internal errors.
/3.2/{API_KEY}/{CONTROL_SUM}/decode/{VIN}.{format}:
get:
operationId: VIN_Decode
tags:
- VIN Decoder
summary: VIN Decode
description: VIN Decode returns an object with price, balance and decode array of objects with 'label' and 'value' properties. Each decode object represents a 'variable'. See variable labels that are returned here.
parameters:
- name: API_KEY
in: path
description: Your API key
required: true
schema:
type: string
- name: CONTROL_SUM
in: path
description: 'The CONTROL_SUM for this endpoint is generated by taking the first 10 characters of the SHA1 hash of your VIN, the operation ID ''decode'', API key, and secret key, concatenated in that order.$controlSum = substr(sha1("{$vin}|decode|{$apiKey}|{$secretKey}"), 0, 10);{\n \"price\": float,\n \"price_currency\": string,\n \"balance\": {\n \"API Decode\": integer,\n \"API Stolen Check\": integer,\n \"API Vehicle Market Value\": integer,\n \"API OEM VIN Lookup\": integer,\n \"API OEM Service History\": integer\n },\n \"decode\": [\n {\n \"label\": string,\n \"value\": string|integer|float|array\n },\n ...\n ]\n}\n"
examples:
Success response:
value: '{"price":0,"price_currency":"CZK","balance":{"API Decode":17,"API Stolen Check":4,"API Vehicle Market Value":4},"decode":[{"label":"VIN","value":"WF05XXGC055870807"},{"label":"Vehicle ID","value":1619},{"label":"Make","value":"Ford","id":30},{"label":"Model","value":"Focus","id":17779},{"label":"Model Year","value":2005},{"label":"Product Type","value":"Car","id":4},{"label":"Body","value":"Hatchback\/Liftback\/Notchback","id":5},{"label":"Series","value":"Mk2 (2004-2011)"},{"label":"Drive","value":"Front-wheel drive","id":1},{"label":"Transmission","value":"Manual\/Standard","id":6},{"label":"Number of Gears","value":5},{"label":"Emission Standard","value":"Euro 4"},{"label":"Manufacturer","value":"Ford Werke AG"},{"label":"Manufacturer Address","value":"Koeln-Niehl, Germany"},{"label":"Plant Country","value":"Germany"},{"label":"Average CO2 Emission (g\/km)","value":152.21},{"label":"Number of Axles","value":2},{"label":"Number of Doors","value":4},{"label":"Number of Seats","value":"5"},{"label":"Steering Type","value":"Steering rack and pinion"},{"label":"Wheel Size","value":"195\/65R15*205\/50R17*205\/55R16"},{"label":"Wheel Size Array","value":["195\/65R15*205\/50R17*205\/55R16"]},{"label":"Wheelbase (mm)","value":2640},{"label":"Wheelbase Array (mm)","value":[2640]},{"label":"Height (mm)","value":1497},{"label":"Length (mm)","value":4342},{"label":"Width (mm)","value":1840},{"label":"Track Front (mm)","value":1535},{"label":"Track Rear (mm)","value":1531},{"label":"Max Speed (km\/h)","value":190},{"label":"Weight Empty (kg)","value":1249},{"label":"Max Weight (kg)","value":1730},{"label":"Max roof load (kg)","value":75},{"label":"Permitted trailer load without brakes (kg)","value":620},{"label":"ABS","value":1},{"label":"Check Digit","value":"0"},{"label":"Sequential Number","value":"870807"},{"label":"Make Logo","value":"https://vindecoder.eu/img/make/ford.svg"}]}'
When you use an incorrect API key:
value: '{"error":true,"message":"Unknown API Key"}'
When you use an incorrect control sum:
value: '{"error":true,"message":"Invalid Control sum"}'
When you run out of prepaid lookups:
value: '{"error":true,"message":"Not Enough Lookups"}'
When you reach a limit of requests per minute:
value: '{"error":true,"message":"You''ve reached limit of 60 requests per minute. Contact us at info@vincario.com for a customized limit."}'
When VIN is not recognized:
value: '{"error":true,"message":"Not recognized"}'
When VIN can't be decoded:
description: '##### **char**: VIN contains an invalid character (I, O, Q)
##### **length**: VIN length is not 17 characters
##### **invalid**: VIN is not valid'
value: '{"error": true,"message": "invalid","reasons": ["char","invalid","length"]}'
'404':
description: The route could not be found.
'500':
description: Unexpected internal errors.
externalDocs:
description: Vincario API Documentation
url: https://vincario.com/api-docs/3.2/