autopicDocs

API reference

Catalog

Makes, models, manufacturers, vehicle types and fuel types, plus new-vehicle registrations.

List makes

GET/v1/makesAPI key

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query
  • qstring · query

    Search by name

  • vehicleTypestring · query
  • countrystring · query

Response 200

  • dataobject[]required
    Show 9 attributes
    • idstring (uuid)
    • codestring
    • namestring
    • sourcestring
    • sourceIdstring, null
    • activeboolean
    • sourcesstring[]

      Data sources that contributed to this make (e.g. VPIC, DVM)

    • aliasesstring[]

      Alternate names from enrichment sources

    • enrichmentstring

      Primary enrichment provider when present (e.g. DVM)

  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/makes?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "41bb596d-6b9b-4962-80f4-3383c1d5a1f3",
      "code": "102_ironworks_inc",
      "name": "102 IRONWORKS, INC.",
      "source": "VPIC",
      "sourceId": "11257",
      "active": true,
      "sources": [
        "VPIC"
      ]
    },
    {
      "id": "7c3d4729-4fc6-4a75-98dc-b0fcab52dffb",
      "code": "12832429_canada_inc",
      "name": "12832429 CANADA INC.",
      "source": "VPIC",
      "sourceId": "12255",
      "active": true,
      "sources": [
        "VPIC"
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 2,
    "total": 12051,
    "totalPages": 6026
  }
}

Retrieve a make

GET/v1/makes/{makeId}API key

Requires an API key.

Parameters

  • makeIdstring (uuid) · pathrequired

Response 200

  • idstring (uuid)
  • codestring
  • namestring
  • sourcestring
  • sourceIdstring, null
  • activeboolean
  • sourcesstring[]

    Data sources that contributed to this make (e.g. VPIC, DVM)

  • aliasesstring[]

    Alternate names from enrichment sources

  • enrichmentstring

    Primary enrichment provider when present (e.g. DVM)

Errors

  • 404Resource not found
  • 500Internal server error
Request
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "id": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
  "code": "renault",
  "name": "Renault",
  "source": "VPIC",
  "sourceId": "13647",
  "active": true,
  "sources": [
    "DVM",
    "KBA"
  ],
  "enrichment": "DVM"
}

List models of a make

GET/v1/makes/{makeId}/modelsAPI key

Requires an API key.

Parameters

  • makeIdstring (uuid) · pathrequired
  • pageinteger · query
  • limitinteger · query
  • qstring · query
  • vehicleTypestring · query
  • fuelTypestring · query
  • yearinteger · query

Response 200

  • dataobject[]required
    Show 19 attributes
    • idstring (uuid)
    • makeIdstring (uuid)
    • makeCodestring
    • makeNamestring
    • codestring
    • namestring
    • vehicleTypeCodestring, null
    • startYearinteger, null
    • endYearinteger, null
    • sourcestring
    • sourceIdstring, null
    • activeboolean
    • fuelTypeCodesstring[]
    • sourcesstring[]
    • aliasesstring[]
    • enrichmentstring
    • trimsobject[]

      Trim-level enrichments (populated on GET /models/{id})

      Show 11 attributes
      • idstring (uuid)
      • modelIdstring (uuid)
      • sourcestring
      • sourceIdstring, null
      • namestring
      • yearinteger, null
      • pricenumber, null
      • gasEmissioninteger, null
      • fuelTypeCodestring, null
      • engineSizeinteger, null
      • bodyTypestring, null
    • trimsTotalinteger

      Total trims behind a truncated `trims` list.

    • trimYearsinteger[]

      Model years that have trims, newest first.

  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "acae4fc9-3fea-4c17-a8ad-d7c69cb6aade",
      "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
      "makeCode": "renault",
      "makeName": "Renault",
      "code": "18i",
      "name": "18i",
      "source": "VPIC",
      "sourceId": "36428",
      "active": true,
      "sources": [
        "VPIC"
      ]
    },
    {
      "id": "629bf721-8339-4ee9-b436-87b40cdf73e7",
      "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
      "makeCode": "renault",
      "makeName": "Renault",
      "code": "alliance",
      "name": "Alliance",
      "source": "VPIC",
      "sourceId": "36430",
      "active": true,
      "sources": [
        "VPIC"
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 2,
    "total": 28,
    "totalPages": 14
  }
}

List models

GET/v1/modelsAPI key

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query
  • qstring · query
  • makeCodestring · query
  • vehicleTypestring · query
  • fuelTypestring · query
  • yearinteger · query

Response 200

  • dataobject[]required
    Show 19 attributes
    • idstring (uuid)
    • makeIdstring (uuid)
    • makeCodestring
    • makeNamestring
    • codestring
    • namestring
    • vehicleTypeCodestring, null
    • startYearinteger, null
    • endYearinteger, null
    • sourcestring
    • sourceIdstring, null
    • activeboolean
    • fuelTypeCodesstring[]
    • sourcesstring[]
    • aliasesstring[]
    • enrichmentstring
    • trimsobject[]

      Trim-level enrichments (populated on GET /models/{id})

      Show 11 attributes
      • idstring (uuid)
      • modelIdstring (uuid)
      • sourcestring
      • sourceIdstring, null
      • namestring
      • yearinteger, null
      • pricenumber, null
      • gasEmissioninteger, null
      • fuelTypeCodestring, null
      • engineSizeinteger, null
      • bodyTypestring, null
    • trimsTotalinteger

      Total trims behind a truncated `trims` list.

    • trimYearsinteger[]

      Model years that have trims, newest first.

  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/models?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "5fde18e1-9845-4111-a15c-7ab7145624fe",
      "makeId": "41bb596d-6b9b-4962-80f4-3383c1d5a1f3",
      "makeCode": "102_ironworks_inc",
      "makeName": "102 IRONWORKS, INC.",
      "code": "102_ironworks_inc",
      "name": "102 IRONWORKS, INC.",
      "source": "VPIC",
      "sourceId": "29286",
      "active": true,
      "sources": [
        "VPIC"
      ]
    },
    {
      "id": "b76dda13-ef95-4016-a7a2-4de880c0c12c",
      "makeId": "7c3d4729-4fc6-4a75-98dc-b0fcab52dffb",
      "makeCode": "12832429_canada_inc",
      "makeName": "12832429 CANADA INC.",
      "code": "12832429_canada_inc",
      "name": "12832429 CANADA INC.",
      "source": "VPIC",
      "sourceId": "31954",
      "active": true,
      "sources": [
        "VPIC"
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 2,
    "total": 31844,
    "totalPages": 15922
  }
}

Retrieve a model

GET/v1/models/{modelId}API key

Requires an API key.

Parameters

  • modelIdstring (uuid) · pathrequired
  • yearinteger · query

    Return only trims of this model year. Trims are keyed per model year, so a popular model has thousands: the Vauxhall Astra has 4,972 across 21 years.

  • trimsLimitinteger · query

    Maximum trims returned. Capped at 1000.

Response 200

  • idstring (uuid)
  • makeIdstring (uuid)
  • makeCodestring
  • makeNamestring
  • codestring
  • namestring
  • vehicleTypeCodestring, null
  • startYearinteger, null
  • endYearinteger, null
  • sourcestring
  • sourceIdstring, null
  • activeboolean
  • fuelTypeCodesstring[]
  • sourcesstring[]
  • aliasesstring[]
  • enrichmentstring
  • trimsobject[]

    Trim-level enrichments (populated on GET /models/{id})

    Show 11 attributes
    • idstring (uuid)
    • modelIdstring (uuid)
    • sourcestring
    • sourceIdstring, null
    • namestring
    • yearinteger, null
    • pricenumber, null
    • gasEmissioninteger, null
    • fuelTypeCodestring, null
    • engineSizeinteger, null
    • bodyTypestring, null
  • trimsTotalinteger

    Total trims behind a truncated `trims` list.

  • trimYearsinteger[]

    Model years that have trims, newest first.

Errors

  • 404Resource not found
  • 500Internal server error
Request
curl https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
  "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
  "makeCode": "renault",
  "makeName": "Renault",
  "code": "clio",
  "name": "Clio",
  "vehicleTypeCode": "hatchback",
  "startYear": 1998,
  "endYear": 2019,
  "source": "DVM",
  "sourceId": "75_2",
  "active": true,
  "fuelTypeCodes": [
    "diesel",
    "gasoline"
  ],
  "sources": [
    "DVM"
  ],
  "trims": [
    {
      "id": "62b2dd8f-d259-4321-96bc-81a8da878dbe",
      "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
      "source": "DVM",
      "sourceId": "75_2:Iconic dCi 90 EDC auto 5d:2019",
      "name": "Iconic dCi 90 EDC auto 5d",
      "year": 2019,
      "price": 17875,
      "gasEmission": 107,
      "fuelTypeCode": "diesel",
      "engineSize": 1461
    },
    {
      "id": "468a896b-ae03-4a94-bef8-2dd1cc506161",
      "modelId": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
      "source": "DVM",
      "sourceId": "75_2:Clio HatchbackDynamique Nav 1.2 16V 75 5d:2018",
      "name": "Clio HatchbackDynamique Nav 1.2 16V 75 5d",
      "year": 2018,
      "price": 14730,
      "gasEmission": 127,
      "fuelTypeCode": "gasoline",
      "engineSize": 1149
    }
  ],
  "trimsTotal": 1862,
  "trimYears": [
    2019,
    2018
  ],
  "enrichment": "DVM"
}

List manufacturers

GET/v1/manufacturersAPI key

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query

Response 200

  • dataobject[]required
    Show 6 attributes
    • idstring (uuid)
    • codestring
    • namestring
    • countrystring, null
    • sourcestring
    • sourceIdstring, null
  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/manufacturers?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "415e98f9-9080-4947-90a5-0a538ccdadcf",
      "code": "03_industries_llc",
      "name": "03 INDUSTRIES LLC",
      "source": "VPIC",
      "sourceId": "9493"
    },
    {
      "id": "7446f23d-2f21-44f3-9906-da24180999dd",
      "code": "04_06_kawasaki_kfx400_atv_made_by_suzuki",
      "name": "'04-'06 Kawasaki KFX400 ATV made by Suzuki",
      "source": "WIKIBOOKS",
      "sourceId": "JSL"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 2,
    "total": 28024,
    "totalPages": 14012
  }
}

Retrieve a manufacturer

GET/v1/manufacturers/{manufacturerId}API key

Requires an API key.

Parameters

  • manufacturerIdstring (uuid) · pathrequired

Response 200

  • idstring (uuid)
  • codestring
  • namestring
  • countrystring, null
  • sourcestring
  • sourceIdstring, null

Errors

  • 404Resource not found
  • 500Internal server error
Request
curl https://api.autopic.io/v1/manufacturers/415e98f9-9080-4947-90a5-0a538ccdadcf \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "id": "415e98f9-9080-4947-90a5-0a538ccdadcf",
  "code": "03_industries_llc",
  "name": "03 INDUSTRIES LLC",
  "source": "VPIC",
  "sourceId": "9493"
}

List vehicle types

GET/v1/vehicle-typesAPI key

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query

Response 200

  • dataobject[]required
    Show 4 attributes
    • idstring (uuid)
    • codestring
    • namestring
    • sourcestring
  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/vehicle-types \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "b1a96cb9-3cf8-4aea-8358-5cc3763c6de8",
      "code": "bus",
      "name": "Bus",
      "source": "VPIC"
    },
    {
      "id": "5267c661-5890-4de4-9383-e183fc51ecc2",
      "code": "incomplete_vehicle",
      "name": "Incomplete Vehicle",
      "source": "VPIC"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 9,
    "totalPages": 1
  }
}

List fuel types

GET/v1/fuel-typesAPI key

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query

Response 200

  • dataobject[]required
    Show 4 attributes
    • idstring (uuid)
    • codestring
    • namestring
    • sourcestring
  • paginationobjectrequired
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired

Errors

  • 400Invalid request
  • 500Internal server error
Request
curl https://api.autopic.io/v1/fuel-types \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "data": [
    {
      "id": "b9f2130c-7f07-4145-8c99-80a9e5f498b8",
      "code": "compressed_hydrogen_hydrogen",
      "name": "Compressed Hydrogen/Hydrogen",
      "source": "VPIC"
    },
    {
      "id": "7b6e783d-44fc-4fa5-a3df-ef69768db61e",
      "code": "compressed_natural_gas_cng",
      "name": "Compressed Natural Gas (CNG)",
      "source": "VPIC"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 16,
    "totalPages": 1
  }
}

New-vehicle registrations by make

GET/v1/registrationsAPI key

Market data from ACEA: new vehicle registrations across the EU, EFTA and the UK, by brand and vehicle class. Yearly totals by default. The monthly rows sum to the yearly one, so the two are never returned together: `period=monthly` returns the twelve months instead of the total, and naming a `month` implies it.

Requires an API key.

Parameters

  • pageinteger · query
  • limitinteger · query
  • yearinteger · query
  • monthinteger · query

    1-12. Implies monthly rows.

  • periodstring · query

    Values: year, monthly

  • vehicleClassstring · query

    Values: passenger_car, light_commercial

Response 200

  • dataobject[]
    Show 10 attributes
    • idstring (uuid)
    • makeIdstring (uuid), null

      Null when the published brand matches no known make.

    • groupNamestring, null
    • brandstring
    • regionstring
    • vehicleClassstring

      Values: passenger_car, light_commercial

    • yearinteger
    • monthinteger, null

      Absent on a yearly total.

    • unitsinteger
    • sourcestring
  • paginationobject
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired
  • availableYearsinteger[]

    Years registration data exists for, newest first.

Request
curl https://api.autopic.io/v1/registrations \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "availableYears": [
    2021
  ],
  "data": [
    {
      "id": "fd3480b1-4dce-4198-b986-3f40f4ab6589",
      "makeId": "02c47c40-f043-471d-849b-69943cad60a4",
      "groupName": "Volkswagen",
      "brand": "Volkswagen",
      "region": "EU_EFTA_UK",
      "vehicleClass": "passenger_car",
      "year": 2021,
      "units": 1269769,
      "source": "ACEA"
    },
    {
      "id": "6a5ce536-866b-4e3b-bb5d-5e8b9a8ed6e6",
      "makeId": "ca483b73-be08-4f88-bad2-6edf112101b3",
      "groupName": "Stellantis",
      "brand": "Peugeot",
      "region": "EU_EFTA_UK",
      "vehicleClass": "passenger_car",
      "year": 2021,
      "units": 725447,
      "source": "ACEA"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 100,
    "totalPages": 2
  }
}

Registrations of a make

GET/v1/makes/{makeId}/registrationsAPI key

Requires an API key.

Parameters

  • makeIdstring (uuid) · pathrequired
  • yearinteger · query
  • monthinteger · query
  • periodstring · query

    Values: year, monthly

  • vehicleClassstring · query

    Values: passenger_car, light_commercial

Response 200

  • dataobject[]
    Show 10 attributes
    • idstring (uuid)
    • makeIdstring (uuid), null

      Null when the published brand matches no known make.

    • groupNamestring, null
    • brandstring
    • regionstring
    • vehicleClassstring

      Values: passenger_car, light_commercial

    • yearinteger
    • monthinteger, null

      Absent on a yearly total.

    • unitsinteger
    • sourcestring
  • paginationobject
    Show 4 attributes
    • pageintegerrequired
    • limitintegerrequired
    • totalintegerrequired
    • totalPagesintegerrequired
  • availableYearsinteger[]

    Years registration data exists for, newest first.

Request
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Response 200
{
  "availableYears": [
    2021
  ],
  "data": [
    {
      "id": "e28d4f4b-5119-4989-b0bc-05038f1a9e34",
      "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
      "groupName": "Renault",
      "brand": "Renault",
      "region": "EU_EFTA_UK",
      "vehicleClass": "passenger_car",
      "year": 2021,
      "units": 678863,
      "source": "ACEA"
    },
    {
      "id": "a779ee1a-1cae-449f-b7e7-88edb36541b5",
      "makeId": "f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
      "groupName": "Renault",
      "brand": "Renault",
      "region": "EU_EFTA_UK",
      "vehicleClass": "light_commercial",
      "year": 2021,
      "units": 291039,
      "source": "ACEA"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 2,
    "totalPages": 1
  }
}