Dekoder VIN API

Czy prowadzisz działalność, w której potrzebujesz sprawdzać setki pojazdów dziennie? Jeśli skorzystasz z naszego interfejsu API, będziesz mógł pobierać raporty hurtowo..

Raporty uzyskane poprzez API są identyczne, jak te które zamawia się bezpośrednio na naszej stronie. Data amount for each vehicle may vary based on the market and make, so feel free to use VIN Decode Info first.

Poproś o klucz API

1. VIN Decode Info

2. VIN Decode

Ilość Cena za raport
1000 €0.17
5000 €0.13
25000 €0.07

Poproś o klucz API

Zapytanie

Wywołanie API odbywa się za pomocą prostej usługi REST. Wystarczy zbudować URL przy użyciu 3 parametrów:

Where ID is different based on the action you make:

Liczbę kontrolną oblicza się na podstawie 10 pierwszych znaków SHA1:

End point usługi API dostępny jest na https://api.vindecoder.eu/3.1.

Dokumentacja

Poproś o klucz API

1. VIN Decode Info

https://api.vindecoder.eu/3.1/API_KEY/CONTROL_SUM/decode/info/XXXDEF1GH23456789.json

Przykładowe zapytanie w PHP

<?php

$apiPrefix = "https://api.vindecoder.eu/3.1";
$apikey = "YOUR_API_KEY";   // Your API key
$secretkey = "YOUR_API_SECRET";  // Your secret key
$id = "info";
$vin = "XXXDEF1GH23456789";

$controlsum = substr(sha1("{$vin}|{$id}|{$apikey}|{$secretkey}"), 0, 10);

$data = file_get_contents("{$apiPrefix}/{$apikey}/{$controlsum}/decode/info/{$vin}.json", false);
$result = json_decode($data);

Przykładowa odpowiedź w JSON

{
    "decode": [
        "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",
        "Wheelbase (mm)",
        "Engine Position",
        "Fuel Capacity",
        "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",
        "Engine Compression Ratio",
        "Steering Type",
        "Engine Stroke",
        "Engine Cylinder Bore",
        "Minimum volume of Luggage (trunk)",
        "Max Weight (kg)",
        "Production Stopped",
        "Production Started",
        "Front Suspension",
        "Rear Suspension",
        "Fuel Consumption l\/100km (Urban)",
        "Fuel Consumption l\/100km (Extra Urban)",
        "Fuel Consumption l\/100km (Combined)",
        "Number of Gears",
        "Valve Train",
        "Power Steering",
        "Maximum volume of Luggage (trunk)",
        "Wheel Rims Size",
        "Engine Turbine",
        "Minimum turning circle (turning diameter)",
        "Emission Standard",
        "CO2 Emission",
        "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",
        "Odometer (km)"
    ]
}

2. VIN Decode

https://api.vindecoder.eu/3.1/API_KEY/CONTROL_SUM/decode/XXXDEF1GH23456789.json

Przykładowe zapytanie w PHP

<?php

$apiPrefix = "https://api.vindecoder.eu/3.1";
$apikey = "YOUR_API_KEY";   // Your API key
$secretkey = "YOUR_API_SECRET";  // Your secret key
$id = "decode";
$vin = "XXXDEF1GH23456789";

$controlsum = substr(sha1("{$vin}|{$id}|{$apikey}|{$secretkey}"), 0, 10);

$data = file_get_contents("{$apiPrefix}/{$apikey}/{$controlsum}/decode/{$vin}.json", false);
$result = json_decode($data);

Przykładowa odpowiedź w JSON

{
    "decode": [
        {
            "label": "Make",
            "value": "Audi"
        },
        {
            "label": "Manufacturer",
            "value": "Audi AG"
        },
        {
            "label": "Plant Country",
            "value": "GERMANY"
        },
        {
            "label": "Product Type",
            "value": "Passenger Car"
        },
        {
            "label": "Manufacturer Address",
            "value": "Felix Wankel Strasse, 74148 Neckarsulm, Germany"
        },
        {
            "label": "Check Digit",
            "value": 2
        },
        {
            "label": "Valid Check Digit",
            "value": 2
        },
        {
            "label": "Check Digit Validity",
            "value": "valid"
        },
        {
            "label": "Sequential Number",
            "value": 330924
        },
        {
            "label": "Body",
            "value": "Sedan\/Saloon"
        },
        {
            "label": "Engine Cylinders",
            "value": 6
        },
        {
            "label": "Engine Displacement (ccm)",
            "value": 2967
        },
        {
            "label": "Number of Doors",
            "value": 4
        },
        {
            "label": "Engine Model",
            "value": "Audi"
        },
        {
            "label": "Engine Power (kW)",
            "value": 224
        },
        {
            "label": "Fuel Type - Primary",
            "value": "Gasoline"
        },
        {
            "label": "Model",
            "value": "A6"
        },
        {
            "label": "Model Year",
            "value": 2011
        },
        {
            "label": "Plant City",
            "value": "NECKARSULM"
        },
        {
            "label": "Series",
            "value": "Prestige Quattro"
        },
        {
            "label": "Transmission",
            "value": "Automatic"
        },
        {
            "label": "Engine (full)",
            "value": "3.0 TFSI BV6 (300 Hp) quattro S tronic"
        },
        {
            "label": "Number of Seats",
            "value": 5
        },
        {
            "label": "Engine Cylinders Position",
            "value": "V engine"
        },
        {
            "label": "Drive",
            "value": "4x4 - Four-wheel drive"
        },
        {
            "label": "Length (mm)",
            "value": 4915
        },
        {
            "label": "Height (mm)",
            "value": 1468
        },
        {
            "label": "Width (mm)",
            "value": 1874
        },
        {
            "label": "Fuel System",
            "value": "Direct injection"
        },
        {
            "label": "Engine Torque",
            "value": 440
        },
        {
            "label": "Wheelbase (mm)",
            "value": 2912
        },
        {
            "label": "Engine Position",
            "value": "Front, longitudinal"
        },
        {
            "label": "Fuel Capacity",
            "value": 75
        },
        {
            "label": "Front Breaks",
            "value": "Ventilated discs"
        },
        {
            "label": "Rear Breaks",
            "value": "Disc"
        },
        {
            "label": "Valves per Cylinder",
            "value": 4
        },
        {
            "label": "Track Front (mm)",
            "value": 1627
        },
        {
            "label": "Track Rear (mm)",
            "value": 1618
        },
        {
            "label": "Max Speed (km\/h)",
            "value": 250
        },
        {
            "label": "ABS",
            "value": 1
        },
        {
            "label": "Wheel Size",
            "value": "225\/55 R17 97W"
        },
        {
            "label": "Acceleration 0-100 km\/h",
            "value": 5.5
        },
        {
            "label": "Engine Compression Ratio",
            "value": 10.3
        },
        {
            "label": "Steering Type",
            "value": "Steering rack"
        },
        {
            "label": "Engine Stroke",
            "value": 89
        },
        {
            "label": "Engine Cylinder Bore",
            "value": 84.5
        },
        {
            "label": "Minimum volume of Luggage (trunk)",
            "value": 530
        },
        {
            "label": "Max Weight (kg)",
            "value": 2350
        },
        {
            "label": "Production Stopped",
            "value": 2014
        },
        {
            "label": "Production Started",
            "value": 2011
        },
        {
            "label": "Front Suspension",
            "value": "Multi-link suspension"
        },
        {
            "label": "Rear Suspension",
            "value": "Independent on trapezoidal lever"
        },
        {
            "label": "Fuel Consumption l\/100km (Urban)",
            "value": 10.8
        },
        {
            "label": "Fuel Consumption l\/100km (Extra Urban)",
            "value": 6.6
        },
        {
            "label": "Fuel Consumption l\/100km (Combined)",
            "value": 8.2
        },
        {
            "label": "Number of Gears",
            "value": 7
        },
        {
            "label": "Valve Train",
            "value": "DOHC"
        },
        {
            "label": "Power Steering",
            "value": "Electric Steering"
        },
        {
            "label": "Maximum volume of Luggage (trunk)",
            "value": 995
        },
        {
            "label": "Wheel Rims Size",
            "value": "8J X R17"
        },
        {
            "label": "Engine Turbine",
            "value": "Turbo \/ Intercooler (Turbocharging \/ Intercooler)"
        },
        {
            "label": "Minimum turning circle (turning diameter)",
            "value": 11.9
        },
        {
            "label": "Emission Standard",
            "value": "Euro 5"
        },
        {
            "label": "CO2 Emission",
            "value": 190
        },
        {
            "label": "Drag Coefficient",
            "value": 0.28
        },
        {
            "label": "Permitted trailer load without brakes (kg)",
            "value": 750
        },
        {
            "label": "Width including mirrors (mm)",
            "value": 2086
        },
        {
            "label": "Max roof load (kg)",
            "value": 100
        },
        {
            "label": "Permitted towbar download (kg)",
            "value": 85
        },
        {
            "label": "Rear Overhang (mm)",
            "value": 1091
        },
        {
            "label": "Front Overhang (mm)",
            "value": 912
        },
        {
            "label": "Permitted trailer load with brakes 8% (kg)",
            "value": 2100
        },
        {
            "label": "Engine Oil Capacity (l)",
            "value": 6.8
        },
        {
            "label": "Engine Coolant (l)",
            "value": 12
        },
        {
            "label": "Engine Max Speed (rpm)",
            "value": 6500
        },
        {
            "label": "Wheelbase Array (mm)",
            "value": [
                2912
            ]
        },
        {
            "label": "Wheel Size Array",
            "value": [
                "225\/55 R17 97W",
                "225\/55 R17 98Y"
            ]
        },
        {
            "label": "Wheel Rims Size Array",
            "value": [
                "8J X R17"
            ]
        },
        {
            "label": "Odometer (km)",
            "value": 219859
        }
    ]
}

3. VIN Stolen Check

https://api.vindecoder.eu/3.1/API_KEY/CONTROL_SUM/stolen-check/XXXDEF1GH23456789.json

Przykładowe zapytanie w PHP

<?php

$apiPrefix = "https://api.vindecoder.eu/3.1";
$apikey = "YOUR_API_KEY";   // Your API key
$secretkey = "YOUR_API_SECRET";  // Your secret key
$id = "stolen-check";
$vin = "XXXDEF1GH23456789";

$controlsum = substr(sha1("{$vin}|{$id}|{$apikey}|{$secretkey}"), 0, 10);

$data = file_get_contents("{$apiPrefix}/{$apikey}/{$controlsum}/stolen-check/{$vin}.json", false);
$result = json_decode($data);

Przykładowa odpowiedź w JSON

{
    {
        "code": string,
        "status": "stolen"|"not-stolen"|"could-not-verify"
    },
    ...
}

4. Sprawdź stan konta

https://api.vindecoder.eu/3.1/API_KEY/CONTROL_SUM/balance.json

Przykładowe zapytanie w PHP

<?php

$apiPrefix = "https://api.vindecoder.eu/3.1";
$apikey = "YOUR_API_KEY";   // Your API key
$secretkey = "YOUR_API_SECRET";  // Your secret key
$id = "balance";

$controlsum = substr(sha1("{$id}|{$apikey}|{$secretkey}"), 0, 10);

$data = file_get_contents("{$apiPrefix}/{$apikey}/{$controlsum}/balance.json", false);
$result = json_decode($data);

Przykładowa odpowiedź w JSON

{
    "API Decode": 35000
}

Poproś o klucz API

Pomoc

Jeśli podczas instalacji API key napotkasz na problemy, napisz do nas. Z przyjemnością pomożemy.

© VIN Decoder by Vincario

Ludzie ludziom z ♥

Vincario