autopicDocumentation

Référence de l'API

Catalogue

Marques, modèles, constructeurs, types de véhicule et énergies, ainsi que les immatriculations de véhicules neufs.

Lister les marques

GET/v1/makesClé API

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête
  • qstring · requête

    Search by name

  • vehicleTypestring · requête
  • countrystring · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 9 attributs
    • 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)

  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/makes?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Lire une marque

GET/v1/makes/{makeId}Clé API

Demande une clé API.

Paramètres

  • makeIdstring (uuid) · cheminobligatoire

Réponse 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)

Erreurs

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

Lister les modèles d'une marque

GET/v1/makes/{makeId}/modelsClé API

Demande une clé API.

Paramètres

  • makeIdstring (uuid) · cheminobligatoire
  • pageinteger · requête
  • limitinteger · requête
  • qstring · requête
  • vehicleTypestring · requête
  • fuelTypestring · requête
  • yearinteger · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 19 attributs
    • 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})

      Afficher les 11 attributs
      • 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.

  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Lister les modèles

GET/v1/modelsClé API

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête
  • qstring · requête
  • makeCodestring · requête
  • vehicleTypestring · requête
  • fuelTypestring · requête
  • yearinteger · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 19 attributs
    • 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})

      Afficher les 11 attributs
      • 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.

  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/models?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Lire un modèle

GET/v1/models/{modelId}Clé API

Demande une clé API.

Paramètres

  • modelIdstring (uuid) · cheminobligatoire
  • yearinteger · requête

    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 · requête

    Maximum trims returned. Capped at 1000.

Réponse 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})

    Afficher les 11 attributs
    • 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.

Erreurs

  • 404Resource not found
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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"
}

Lister les constructeurs

GET/v1/manufacturersClé API

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 6 attributs
    • idstring (uuid)
    • codestring
    • namestring
    • countrystring, null
    • sourcestring
    • sourceIdstring, null
  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/manufacturers?limit=2 \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Lire un constructeur

GET/v1/manufacturers/{manufacturerId}Clé API

Demande une clé API.

Paramètres

  • manufacturerIdstring (uuid) · cheminobligatoire

Réponse 200

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

Erreurs

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

Lister les types de véhicule

GET/v1/vehicle-typesClé API

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 4 attributs
    • idstring (uuid)
    • codestring
    • namestring
    • sourcestring
  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/vehicle-types \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Lister les énergies

GET/v1/fuel-typesClé API

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête

Réponse 200

  • dataobject[]obligatoire
    Afficher les 4 attributs
    • idstring (uuid)
    • codestring
    • namestring
    • sourcestring
  • paginationobjectobligatoire
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire

Erreurs

  • 400Invalid request
  • 500Internal server error
Requête
curl https://api.autopic.io/v1/fuel-types \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Immatriculations de véhicules neufs par marque

GET/v1/registrationsClé API

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.

Demande une clé API.

Paramètres

  • pageinteger · requête
  • limitinteger · requête
  • yearinteger · requête
  • monthinteger · requête

    1-12. Implies monthly rows.

  • periodstring · requête

    Valeurs : year, monthly

  • vehicleClassstring · requête

    Valeurs : passenger_car, light_commercial

Réponse 200

  • dataobject[]
    Afficher les 10 attributs
    • idstring (uuid)
    • makeIdstring (uuid), null

      Null when the published brand matches no known make.

    • groupNamestring, null
    • brandstring
    • regionstring
    • vehicleClassstring

      Valeurs : passenger_car, light_commercial

    • yearinteger
    • monthinteger, null

      Absent on a yearly total.

    • unitsinteger
    • sourcestring
  • paginationobject
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire
  • availableYearsinteger[]

    Years registration data exists for, newest first.

Requête
curl https://api.autopic.io/v1/registrations \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}

Immatriculations d'une marque

GET/v1/makes/{makeId}/registrationsClé API

Demande une clé API.

Paramètres

  • makeIdstring (uuid) · cheminobligatoire
  • yearinteger · requête
  • monthinteger · requête
  • periodstring · requête

    Valeurs : year, monthly

  • vehicleClassstring · requête

    Valeurs : passenger_car, light_commercial

Réponse 200

  • dataobject[]
    Afficher les 10 attributs
    • idstring (uuid)
    • makeIdstring (uuid), null

      Null when the published brand matches no known make.

    • groupNamestring, null
    • brandstring
    • regionstring
    • vehicleClassstring

      Valeurs : passenger_car, light_commercial

    • yearinteger
    • monthinteger, null

      Absent on a yearly total.

    • unitsinteger
    • sourcestring
  • paginationobject
    Afficher les 4 attributs
    • pageintegerobligatoire
    • limitintegerobligatoire
    • totalintegerobligatoire
    • totalPagesintegerobligatoire
  • availableYearsinteger[]

    Years registration data exists for, newest first.

Requête
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations \
  -H "Authorization: Bearer $AUTOPIC_KEY"
Réponse 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
  }
}