autopicDocumentation

Référence de l'API

VIN

Décoder un VIN, en valider la structure et identifier le constructeur à partir de ses trois premiers caractères.

Décoder un VIN

POST/v1/vin/decodeClé facultative

With an API key, the full answer (`DecodeVinResponse`), counted as one billable unit. Without one, the free decoder's reduced answer (`PublicDecode`).

Sans clé, la réponse est réduite à celle du décodeur gratuit et limitée par adresse IP.

Corps de la requête

  • vinstringobligatoire
  • modelYearinteger

    Accepted but not yet applied by the decoder

Exemple de corps

{
  "vin": "VF15RSN0A51234567"
}

Réponse 200

  • vinstringobligatoire
  • validbooleanobligatoire
  • wmistring
  • yearinteger, null
  • regionstring
  • countrystring
  • makeobject
    Afficher les 3 attributs
    • idstring (uuid)
    • codestringobligatoire
    • namestringobligatoire
  • modelobject
    Afficher les 3 attributs
    • idstring (uuid)
    • codestringobligatoire
    • namestringobligatoire
  • vehicleTypeobject
    Afficher les 3 attributs
    • idstring (uuid)
    • codestringobligatoire
    • namestringobligatoire
  • fuelTypesobject[]
    Afficher les 3 attributs
    • idstring (uuid)
    • codestringobligatoire
    • namestringobligatoire
  • registryobject

    What national vehicle registers recorded for vehicles whose VIN starts like this one. Statistical evidence, not a decode: each match carries the share of registered vehicles that agree with it. Absent when no registered vehicle shares the prefix.

    Afficher les 7 attributs
    • prefixstringobligatoire

      The leading VIN characters that matched — ten, or eight as a fallback.

    • vehiclesintegerobligatoire

      Registered vehicles found under the prefix.

    • yearMininteger

      Earliest build year among the vehicles under the prefix.

    • yearMaxinteger

      Latest build year among the vehicles under the prefix.

    • modelobject

      The most common model under the prefix, whatever its engine, with the share of vehicles that carry it.

      Afficher les 5 attributs
      • makestringobligatoire
      • makeIdstring (uuid)
      • modelstringobligatoire

        Model family, the registers' spellings grouped.

      • modelIdstring (uuid)

        The catalogue model, when the family links to one.

      • sharenumber (double)obligatoire
    • matchesobject[]obligatoire

      Up to five vehicle definitions, most common first.

      Afficher les 14 attributs
      • makestringobligatoire
      • makeIdstring (uuid)
      • modelstring
      • modelIdstring (uuid)
      • engineCodestring
      • fuelstring

        Normalized fuel code.

      • hybridboolean
      • displacementCcinteger
      • powerKwnumber (double)
      • yearMininteger
      • yearMaxinteger
      • vehiclesintegerobligatoire
      • sharenumber (double)obligatoire

        Part of the vehicles under the prefix that this definition accounts for.

      • sourcesstring[]obligatoire
    • specsobject[]

      Up to three technical sheets for the type-approved versions the registers record under the prefix, most common first. The registers holding the VIN name the version (EU variant and version codes); a register describing that version, such as the Dutch RDW, supplies the figures. Figures other than the engine are the most common value among the vehicles of the version.

      Afficher les 25 attributs
      • namestring

        Commercial name

      • typeApprovalstring
      • variantstring
      • versionstring
      • fuelstring
      • hybridClassstring

        OVC-HEV for a plug-in hybrid, NOVC-HEV for a self-charging one.

      • cylindersinteger
      • displacementCcinteger
      • powerKwnumber (double)

        Combustion engine net power.

      • electricPowerKwnumber (double)
      • emissionLevelstring
      • co2Wltpinteger

        g/km

      • co2Nedcinteger

        g/km

      • electricRangeKminteger
      • massEmptyKginteger
      • massMaxKginteger
      • lengthCminteger
      • widthCminteger
      • heightCminteger
      • wheelbaseCminteger
      • seatsinteger
      • doorsinteger
      • maxSpeedKmhinteger
      • sharenumber (double)obligatoire

        Part of the vehicles under the prefix whose version this sheet describes.

      • sourcestringobligatoire
  • sourcesstring[]obligatoire
  • confidencenumber (double)obligatoire
  • rawobject, null

    Full protobuf-backed decode payload

Erreurs

  • 400Invalid request
  • 429Rate limit or monthly quota exceeded
Requête
curl -X POST https://api.autopic.io/v1/vin/decode \
  -H "Authorization: Bearer $AUTOPIC_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vin":"VF15RSN0A51234567"}'
Réponse 200
{
  "vin": "VF15RSN0A51234567",
  "valid": true,
  "wmi": "VF1",
  "region": "EUROPE",
  "country": "FRANCE",
  "make": {
    "id": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
    "code": "renault",
    "name": "Renault"
  },
  "model": {
    "id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
    "code": "clio",
    "name": "Clio"
  },
  "registry": {
    "prefix": "VF15RSN0A5",
    "vehicles": 17835,
    "yearMin": 2014,
    "yearMax": 2024,
    "model": {
      "make": "RENAULT",
      "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
      "model": "CLIO",
      "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
      "share": 0.9900756938603869
    },
    "matches": [
      {
        "make": "RENAULT",
        "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
        "model": "CLIO",
        "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
        "fuel": "gasoline",
        "displacementCc": 1149,
        "powerKw": 54,
        "yearMin": 2015,
        "yearMax": 2023,
        "vehicles": 13675,
        "share": 0.7667507709559854,
        "sources": [
          "CZ_RSV",
          "DK_DMR"
        ]
      },
      {
        "make": "RENAULT",
        "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
        "model": "CLIO",
        "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
        "engineCode": "D4F D7",
        "fuel": "gasoline",
        "displacementCc": 1149,
        "powerKw": 54,
        "yearMin": 2014,
        "yearMax": 2018,
        "vehicles": 3238,
        "share": 0.18155312587608635,
        "sources": [
          "CZ_RSV",
          "SI_MZI"
        ]
      }
    ],
    "specs": [
      {
        "name": "CLIO",
        "typeApproval": "E2*2001/116*0327*75",
        "variant": "5RSN",
        "version": "5RSN0A",
        "fuel": "gasoline",
        "cylinders": 4,
        "displacementCc": 1149,
        "powerKw": 54,
        "emissionLevel": "EURO 6 W",
        "co2Wltp": 127,
        "co2Nedc": 127,
        "massEmptyKg": 952,
        "massMaxKg": 1566,
        "lengthCm": 406,
        "widthCm": 173,
        "heightCm": 145,
        "wheelbaseCm": 259,
        "seats": 5,
        "doors": 4,
        "maxSpeedKmh": 167,
        "share": 0.9817213344547239,
        "source": "NL_RDW"
      },
      {
        "name": "CLIO",
        "typeApproval": "E2*2001/116*0327*83",
        "variant": "7RSN",
        "version": "7RSN0A",
        "fuel": "gasoline",
        "cylinders": 4,
        "displacementCc": 1149,
        "powerKw": 54,
        "emissionLevel": "EURO 6 W",
        "co2Nedc": 127,
        "massEmptyKg": 1041,
        "massMaxKg": 1607,
        "lengthCm": 427,
        "widthCm": 173,
        "heightCm": 145,
        "wheelbaseCm": 259,
        "seats": 5,
        "doors": 4,
        "maxSpeedKmh": 167,
        "share": 0.0005046257359125315,
        "source": "NL_RDW"
      }
    ]
  },
  "sources": [
    "vin-go",
    "kba"
  ],
  "confidence": 0.95,
  "raw": {
    "calculatedCheckDigit": "3",
    "checkDigitValid": true,
    "country": "FRANCE",
    "manufacturer": {
      "brands": [
        "OPEL",
        "VAUXHALL"
      ],
      "country": "FRANCE",
      "dataSources": [
        "KBA",
        "VPIC"
      ],
      "kbaId": 1949,
      "region": "EUROPE",
      "vehicleTypes": [
        "PASSENGER_CAR"
      ],
      "vpicId": 1001
    },
    "modelYear": 2005,
    "region": "EUROPE",
    "value": "VF15RSN0A51234567",
    "vds": "5RSN0A",
    "vehicle": {
      "brand": "RENAULT",
      "dataSources": [
        "DEEP_RESEARCH"
      ],
      "type": "LIGHT_COMMERCIAL_VEHICLE"
    },
    "vis": "51234567",
    "wmi": "VF1"
  }
}

Décoder jusqu'à 100 VIN

POST/v1/vin/decode-batchClé API

Demande une clé API.

Corps de la requête

  • vinsobject[]obligatoire
    Afficher les 2 attributs
    • vinstringobligatoire
    • modelYearinteger

      Accepted but not yet applied by the decoder

Exemple de corps

{
  "vins": [
    {
      "vin": "VF15RSN0A51234567"
    },
    {
      "vin": "WVWZZZ1KZ8W123456"
    }
  ]
}

Réponse 200

  • resultsobject[]obligatoire
    Afficher les 14 attributs
    • vinstringobligatoire
    • validbooleanobligatoire
    • wmistring
    • yearinteger, null
    • regionstring
    • countrystring
    • makeobject
      Afficher les 3 attributs
      • idstring (uuid)
      • codestringobligatoire
      • namestringobligatoire
    • modelobject
      Afficher les 3 attributs
      • idstring (uuid)
      • codestringobligatoire
      • namestringobligatoire
    • vehicleTypeobject
      Afficher les 3 attributs
      • idstring (uuid)
      • codestringobligatoire
      • namestringobligatoire
    • fuelTypesobject[]
      Afficher les 3 attributs
      • idstring (uuid)
      • codestringobligatoire
      • namestringobligatoire
    • registryobject

      What national vehicle registers recorded for vehicles whose VIN starts like this one. Statistical evidence, not a decode: each match carries the share of registered vehicles that agree with it. Absent when no registered vehicle shares the prefix.

      Afficher les 7 attributs
      • prefixstringobligatoire

        The leading VIN characters that matched — ten, or eight as a fallback.

      • vehiclesintegerobligatoire

        Registered vehicles found under the prefix.

      • yearMininteger

        Earliest build year among the vehicles under the prefix.

      • yearMaxinteger

        Latest build year among the vehicles under the prefix.

      • modelobject

        The most common model under the prefix, whatever its engine, with the share of vehicles that carry it.

      • matchesobject[]obligatoire

        Up to five vehicle definitions, most common first.

      • specsobject[]

        Up to three technical sheets for the type-approved versions the registers record under the prefix, most common first. The registers holding the VIN name the version (EU variant and version codes); a register describing that version, such as the Dutch RDW, supplies the figures. Figures other than the engine are the most common value among the vehicles of the version.

    • sourcesstring[]obligatoire
    • confidencenumber (double)obligatoire
    • rawobject, null

      Full protobuf-backed decode payload

Erreurs

  • 400Invalid request
Requête
curl -X POST https://api.autopic.io/v1/vin/decode-batch \
  -H "Authorization: Bearer $AUTOPIC_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vins":[{"vin":"VF15RSN0A51234567"},{"vin":"WVWZZZ1KZ8W123456"}]}'
Réponse 200
{
  "results": [
    {
      "vin": "VF15RSN0A51234567",
      "valid": true,
      "wmi": "VF1",
      "region": "EUROPE",
      "country": "FRANCE",
      "make": {
        "id": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
        "code": "renault",
        "name": "Renault"
      },
      "model": {
        "id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
        "code": "clio",
        "name": "Clio"
      },
      "registry": {
        "prefix": "VF15RSN0A5",
        "vehicles": 17835,
        "yearMin": 2014,
        "yearMax": 2024,
        "model": {
          "make": "RENAULT",
          "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
          "model": "CLIO",
          "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
          "share": 0.9900756938603869
        },
        "matches": [
          {
            "make": "RENAULT",
            "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
            "model": "CLIO",
            "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
            "fuel": "gasoline",
            "displacementCc": 1149,
            "powerKw": 54,
            "yearMin": 2015,
            "yearMax": 2023,
            "vehicles": 13675,
            "share": 0.7667507709559854,
            "sources": [
              "CZ_RSV",
              "DK_DMR"
            ]
          },
          {
            "make": "RENAULT",
            "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
            "model": "CLIO",
            "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
            "engineCode": "D4F D7",
            "fuel": "gasoline",
            "displacementCc": 1149,
            "powerKw": 54,
            "yearMin": 2014,
            "yearMax": 2018,
            "vehicles": 3238,
            "share": 0.18155312587608635,
            "sources": [
              "CZ_RSV",
              "SI_MZI"
            ]
          }
        ],
        "specs": [
          {
            "name": "CLIO",
            "typeApproval": "E2*2001/116*0327*75",
            "variant": "5RSN",
            "version": "5RSN0A",
            "fuel": "gasoline",
            "cylinders": 4,
            "displacementCc": 1149,
            "powerKw": 54,
            "emissionLevel": "EURO 6 W",
            "co2Wltp": 127,
            "co2Nedc": 127,
            "massEmptyKg": 952,
            "massMaxKg": 1566,
            "lengthCm": 406,
            "widthCm": 173,
            "heightCm": 145,
            "wheelbaseCm": 259,
            "seats": 5,
            "doors": 4,
            "maxSpeedKmh": 167,
            "share": 0.9817213344547239,
            "source": "NL_RDW"
          },
          {
            "name": "CLIO",
            "typeApproval": "E2*2001/116*0327*83",
            "variant": "7RSN",
            "version": "7RSN0A",
            "fuel": "gasoline",
            "cylinders": 4,
            "displacementCc": 1149,
            "powerKw": 54,
            "emissionLevel": "EURO 6 W",
            "co2Nedc": 127,
            "massEmptyKg": 1041,
            "massMaxKg": 1607,
            "lengthCm": 427,
            "widthCm": 173,
            "heightCm": 145,
            "wheelbaseCm": 259,
            "seats": 5,
            "doors": 4,
            "maxSpeedKmh": 167,
            "share": 0.0005046257359125315,
            "source": "NL_RDW"
          }
        ]
      },
      "sources": [
        "vin-go",
        "kba"
      ],
      "confidence": 0.95,
      "raw": {
        "calculatedCheckDigit": "3",
        "checkDigitValid": true,
        "country": "FRANCE",
        "manufacturer": {
          "brands": [
            "OPEL",
            "VAUXHALL"
          ],
          "country": "FRANCE",
          "dataSources": [
            "KBA",
            "VPIC"
          ],
          "kbaId": 1949,
          "region": "EUROPE",
          "vehicleTypes": [
            "PASSENGER_CAR"
          ],
          "vpicId": 1001
        },
        "modelYear": 2005,
        "region": "EUROPE",
        "value": "VF15RSN0A51234567",
        "vds": "5RSN0A",
        "vehicle": {
          "brand": "RENAULT",
          "dataSources": [
            "DEEP_RESEARCH"
          ],
          "type": "LIGHT_COMMERCIAL_VEHICLE"
        },
        "vis": "51234567",
        "wmi": "VF1"
      }
    },
    {
      "vin": "WVWZZZ1KZ8W123456",
      "valid": true,
      "wmi": "WVW",
      "year": 2008,
      "region": "EUROPE",
      "country": "GERMANY",
      "make": {
        "id": "02c47c40-f043-471d-849b-69943cad60a4",
        "code": "volkswagen",
        "name": "Volkswagen"
      },
      "vehicleType": {
        "code": "passenger_car",
        "name": "Passenger Car"
      },
      "attributes": [
        {
          "element": "Plant City",
          "code": "PlantCity",
          "group": "General",
          "value": "WOLFSBURG"
        },
        {
          "element": "Plant Country",
          "code": "PlantCountry",
          "group": "General",
          "value": "GERMANY"
        }
      ],
      "registry": {
        "prefix": "WVWZZZ1KZ8",
        "vehicles": 23094,
        "yearMin": 1984,
        "yearMax": 2025,
        "model": {
          "make": "VOLKSWAGEN",
          "makeId": "02c47c40-f043-471d-849b-69943cad60a4",
          "model": "GOLF",
          "modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
          "share": 0.7638347622759158
        },
        "matches": [
          {
            "make": "VOLKSWAGEN",
            "makeId": "02c47c40-f043-471d-849b-69943cad60a4",
            "model": "GOLF",
            "modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
            "fuel": "diesel",
            "displacementCc": 1896,
            "powerKw": 77,
            "yearMin": 1984,
            "yearMax": 2021,
            "vehicles": 2782,
            "share": 0.12046418983285702,
            "sources": [
              "CZ_RSV",
              "DK_DMR"
            ]
          },
          {
            "make": "VOLKSWAGEN",
            "makeId": "02c47c40-f043-471d-849b-69943cad60a4",
            "model": "GOLF",
            "modelId": "d9f49857-70bf-4558-b85b-6b118a042c1b",
            "engineCode": "BLS",
            "fuel": "diesel",
            "displacementCc": 1896,
            "powerKw": 77,
            "yearMin": 2007,
            "yearMax": 2020,
            "vehicles": 2461,
            "share": 0.10656447562137351,
            "sources": [
              "CZ_RSV"
            ]
          }
        ],
        "specs": [
          {
            "name": "GOLF",
            "typeApproval": "E1*2001/116*0328*08",
            "variant": "ACBSE",
            "version": "FM5FM5AF0060GGN1",
            "fuel": "gasoline",
            "cylinders": 4,
            "displacementCc": 1595,
            "powerKw": 75,
            "emissionLevel": "EURO 4",
            "co2Nedc": 176,
            "massEmptyKg": 1253,
            "massMaxKg": 1900,
            "widthCm": 178,
            "wheelbaseCm": 257,
            "seats": 5,
            "doors": 4,
            "maxSpeedKmh": 184,
            "share": 0.03139343552437863,
            "source": "NL_RDW"
          },
          {
            "name": "GOLF",
            "typeApproval": "E1*2001/116*0242*22",
            "variant": "ACBSEX0",
            "version": "FM5FM5AF006N0GGN1",
            "fuel": "gasoline",
            "cylinders": 4,
            "displacementCc": 1595,
            "powerKw": 75,
            "emissionLevel": "EURO 4",
            "co2Nedc": 176,
            "massEmptyKg": 1148,
            "massMaxKg": 1800,
            "lengthCm": 420,
            "widthCm": 176,
            "heightCm": 146,
            "wheelbaseCm": 257,
            "seats": 5,
            "doors": 4,
            "maxSpeedKmh": 184,
            "share": 0.022430068416038798,
            "source": "NL_RDW"
          }
        ]
      },
      "sources": [
        "vin-go",
        "kba"
      ],
      "confidence": 0.95,
      "raw": {
        "calculatedCheckDigit": "6",
        "checkDigitValid": true,
        "country": "GERMANY",
        "manufacturer": {
          "brands": [
            "VOLKSWAGEN",
            "AUDI"
          ],
          "country": "GERMANY",
          "dataSources": [
            "KBA",
            "VPIC"
          ],
          "kbaId": 600,
          "region": "EUROPE",
          "vehicleTypes": [
            "PASSENGER_CAR"
          ],
          "vpicId": 1148
        },
        "modelYear": 2008,
        "region": "EUROPE",
        "value": "WVWZZZ1KZ8W123456",
        "vds": "ZZZ1KZ",
        "vehicle": {
          "brand": "VOLKSWAGEN",
          "dataSources": [
            "DEEP_RESEARCH"
          ],
          "type": "PASSENGER_CAR"
        },
        "vis": "8W123456",
        "wmi": "WVW"
      }
    }
  ]
}

Valider la structure d'un VIN

POST/v1/vin/validateClé facultative

Sans clé, la réponse est réduite à celle du décodeur gratuit et limitée par adresse IP.

Corps de la requête

  • vinstringobligatoire

Exemple de corps

{
  "vin": "VF15RSN0A51234567"
}

Réponse 200

  • vinstringobligatoire
  • validbooleanobligatoire
  • messagestringobligatoire

Erreurs

  • 400Invalid request
Requête
curl -X POST https://api.autopic.io/v1/vin/validate \
  -H "Authorization: Bearer $AUTOPIC_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vin":"VF15RSN0A51234567"}'
Réponse 200
{
  "message": "",
  "valid": true,
  "vin": "VF15RSN0A51234567"
}

Identifier un constructeur (WMI)

GET/v1/wmi/{wmi}Clé API

Demande une clé API.

Paramètres

  • wmistring · cheminobligatoire

Réponse 200

  • wmistringobligatoire
  • sourcesstring[]obligatoire
  • manufacturerobject
  • cachedobject

Erreurs

  • 400Invalid request
Requête
curl https://api.autopic.io/v1/wmi/VF1 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 200
{
  "cached": {
    "id": "5ebd22ef-e901-446e-9f5b-99148b40c5aa",
    "wmi": "VF1",
    "manufacturerId": "43e3a3f3-ee14-430e-af93-28e82d00d387",
    "makeId": "2b219624-3455-4dce-a591-f9cf2ddf82cb",
    "country": "France",
    "vehicleTypeCode": "passenger_car",
    "source": "VPIC"
  },
  "manufacturer": {
    "brands": [
      "OPEL",
      "VAUXHALL"
    ],
    "country": "FRANCE",
    "dataSources": [
      "KBA",
      "VPIC"
    ],
    "kbaId": 1949,
    "region": "EUROPE",
    "vehicleTypes": [
      "PASSENGER_CAR"
    ],
    "vpicId": 1001
  },
  "sources": [
    "vin-go",
    "VPIC"
  ],
  "wmi": "VF1"
}