autopicDocs

API reference

VIN

Decode a VIN, check its structure, and identify the manufacturer from its first three characters.

Decode a VIN

POST/v1/vin/decodeKey optional

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

Without a key, the response is reduced to what the free decoder returns, and calls are rate-limited per IP address.

Request body

  • vinstringrequired
  • modelYearinteger

    Accepted but not yet applied by the decoder

Example body

{
  "vin": "VF15RSN0A51234567"
}

Response 200

  • vinstringrequired
  • validbooleanrequired
  • wmistring
  • yearinteger, null
  • regionstring
  • countrystring
  • makeobject
    Show 3 attributes
    • idstring (uuid)
    • codestringrequired
    • namestringrequired
  • modelobject
    Show 3 attributes
    • idstring (uuid)
    • codestringrequired
    • namestringrequired
  • vehicleTypeobject
    Show 3 attributes
    • idstring (uuid)
    • codestringrequired
    • namestringrequired
  • fuelTypesobject[]
    Show 3 attributes
    • idstring (uuid)
    • codestringrequired
    • namestringrequired
  • 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.

    Show 7 attributes
    • prefixstringrequired

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

    • vehiclesintegerrequired

      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.

      Show 5 attributes
      • makestringrequired
      • makeIdstring (uuid)
      • modelstringrequired

        Model family, the registers' spellings grouped.

      • modelIdstring (uuid)

        The catalogue model, when the family links to one.

      • sharenumber (double)required
    • matchesobject[]required

      Up to five vehicle definitions, most common first.

      Show 14 attributes
      • makestringrequired
      • makeIdstring (uuid)
      • modelstring
      • modelIdstring (uuid)
      • engineCodestring
      • fuelstring

        Normalized fuel code.

      • hybridboolean
      • displacementCcinteger
      • powerKwnumber (double)
      • yearMininteger
      • yearMaxinteger
      • vehiclesintegerrequired
      • sharenumber (double)required

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

      • sourcesstring[]required
    • 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.

      Show 25 attributes
      • 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)required

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

      • sourcestringrequired
  • sourcesstring[]required
  • confidencenumber (double)required
  • rawobject, null

    Full protobuf-backed decode payload

Errors

  • 400Invalid request
  • 429Rate limit or monthly quota exceeded
Request
curl -X POST https://api.autopic.io/v1/vin/decode \
  -H "Authorization: Bearer $AUTOPIC_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vin":"VF15RSN0A51234567"}'
Response 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"
  }
}

Decode up to 100 VINs

POST/v1/vin/decode-batchAPI key

Requires an API key.

Request body

  • vinsobject[]required
    Show 2 attributes
    • vinstringrequired
    • modelYearinteger

      Accepted but not yet applied by the decoder

Example body

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

Response 200

  • resultsobject[]required
    Show 14 attributes
    • vinstringrequired
    • validbooleanrequired
    • wmistring
    • yearinteger, null
    • regionstring
    • countrystring
    • makeobject
      Show 3 attributes
      • idstring (uuid)
      • codestringrequired
      • namestringrequired
    • modelobject
      Show 3 attributes
      • idstring (uuid)
      • codestringrequired
      • namestringrequired
    • vehicleTypeobject
      Show 3 attributes
      • idstring (uuid)
      • codestringrequired
      • namestringrequired
    • fuelTypesobject[]
      Show 3 attributes
      • idstring (uuid)
      • codestringrequired
      • namestringrequired
    • 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.

      Show 7 attributes
      • prefixstringrequired

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

      • vehiclesintegerrequired

        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[]required

        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[]required
    • confidencenumber (double)required
    • rawobject, null

      Full protobuf-backed decode payload

Errors

  • 400Invalid request
Request
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"}]}'
Response 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"
      }
    }
  ]
}

Validate a VIN

POST/v1/vin/validateKey optional

Without a key, the response is reduced to what the free decoder returns, and calls are rate-limited per IP address.

Request body

  • vinstringrequired

Example body

{
  "vin": "VF15RSN0A51234567"
}

Response 200

  • vinstringrequired
  • validbooleanrequired
  • messagestringrequired

Errors

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

Look up a manufacturer (WMI)

GET/v1/wmi/{wmi}API key

Requires an API key.

Parameters

  • wmistring · pathrequired

Response 200

  • wmistringrequired
  • sourcesstring[]required
  • manufacturerobject
  • cachedobject

Errors

  • 400Invalid request
Request
curl https://api.autopic.io/v1/wmi/VF1 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 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"
}