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.
- GET
/v1/search - GET
/v1/makes - GET
/v1/makes/{makeId} - GET
/v1/makes/{makeId}/models - GET
/v1/models - GET
/v1/models/{modelId} - GET
/v1/manufacturers - GET
/v1/manufacturers/{manufacturerId} - GET
/v1/vehicle-types - GET
/v1/fuel-types - GET
/v1/registrations - GET
/v1/makes/{makeId}/registrations
Rechercher dans le catalogue
GET/v1/searchClé API
Search makes, models, manufacturers, and WMIs.
Demande une clé API.
Paramètres
qstring · requêteobligatoireSearch query
limitinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 8 attributs
typestringobligatoireValeurs :
make,model,manufacturer,wmiidstring (uuid)obligatoirecodestringobligatoirenamestringobligatoirescorenumber (float)obligatoiresourcesstring[]aliasesstring[]enrichmentstring
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/search?q=clio&limit=2 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/search?q=clio&limit=2', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/search?q=clio&limit=2",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/search?q=clio&limit=2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"data": [
{
"type": "model",
"id": "0bd5e8d0-96ce-4456-9ddd-136f61f76802",
"code": "clio",
"name": "Clio",
"score": 1,
"sources": [
"DVM",
"VPIC"
],
"enrichment": "DVM"
}
]
}Lister les marques
GET/v1/makesClé API
Demande une clé API.
Paramètres
pageinteger · requêtelimitinteger · requêteqstring · requêteSearch by name
vehicleTypestring · requêtecountrystring · requête
Réponse 200
dataobject[]obligatoireAfficher les 9 attributs
idstring (uuid)codestringnamestringsourcestringsourceIdstring, nullactivebooleansourcesstring[]Data sources that contributed to this make (e.g. VPIC, DVM)
aliasesstring[]Alternate names from enrichment sources
enrichmentstringPrimary enrichment provider when present (e.g. DVM)
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/makes?limit=2 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/makes?limit=2', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/makes?limit=2",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/makes?limit=2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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)codestringnamestringsourcestringsourceIdstring, nullactivebooleansourcesstring[]Data sources that contributed to this make (e.g. VPIC, DVM)
aliasesstring[]Alternate names from enrichment sources
enrichmentstringPrimary enrichment provider when present (e.g. DVM)
Erreurs
404Resource not found500Internal server error
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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) · cheminobligatoirepageinteger · requêtelimitinteger · requêteqstring · requêtevehicleTypestring · requêtefuelTypestring · requêteyearinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 19 attributs
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Afficher les 11 attributs
idstring (uuid)modelIdstring (uuid)sourcestringsourceIdstring, nullnamestringyearinteger, nullpricenumber, nullgasEmissioninteger, nullfuelTypeCodestring, nullengineSizeinteger, nullbodyTypestring, null
trimsTotalintegerTotal trims behind a truncated `trims` list.
trimYearsinteger[]Model years that have trims, newest first.
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/models?limit=2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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êtelimitinteger · requêteqstring · requêtemakeCodestring · requêtevehicleTypestring · requêtefuelTypestring · requêteyearinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 19 attributs
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Afficher les 11 attributs
idstring (uuid)modelIdstring (uuid)sourcestringsourceIdstring, nullnamestringyearinteger, nullpricenumber, nullgasEmissioninteger, nullfuelTypeCodestring, nullengineSizeinteger, nullbodyTypestring, null
trimsTotalintegerTotal trims behind a truncated `trims` list.
trimYearsinteger[]Model years that have trims, newest first.
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/models?limit=2 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/models?limit=2', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/models?limit=2",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/models?limit=2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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) · cheminobligatoireyearinteger · requêteReturn 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êteMaximum trims returned. Capped at 1000.
Réponse 200
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Afficher les 11 attributs
idstring (uuid)modelIdstring (uuid)sourcestringsourceIdstring, nullnamestringyearinteger, nullpricenumber, nullgasEmissioninteger, nullfuelTypeCodestring, nullengineSizeinteger, nullbodyTypestring, null
trimsTotalintegerTotal trims behind a truncated `trims` list.
trimYearsinteger[]Model years that have trims, newest first.
Erreurs
404Resource not found500Internal server error
curl https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/models/0bd5e8d0-96ce-4456-9ddd-136f61f76802');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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êtelimitinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 6 attributs
idstring (uuid)codestringnamestringcountrystring, nullsourcestringsourceIdstring, null
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/manufacturers?limit=2 \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/manufacturers?limit=2', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/manufacturers?limit=2",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/manufacturers?limit=2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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)codestringnamestringcountrystring, nullsourcestringsourceIdstring, null
Erreurs
404Resource not found500Internal server error
curl https://api.autopic.io/v1/manufacturers/415e98f9-9080-4947-90a5-0a538ccdadcf \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/manufacturers/415e98f9-9080-4947-90a5-0a538ccdadcf', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/manufacturers/415e98f9-9080-4947-90a5-0a538ccdadcf",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/manufacturers/415e98f9-9080-4947-90a5-0a538ccdadcf');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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êtelimitinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 4 attributs
idstring (uuid)codestringnamestringsourcestring
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/vehicle-types \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/vehicle-types', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/vehicle-types",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/vehicle-types');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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êtelimitinteger · requête
Réponse 200
dataobject[]obligatoireAfficher les 4 attributs
idstring (uuid)codestringnamestringsourcestring
paginationobjectobligatoireAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
Erreurs
400Invalid request500Internal server error
curl https://api.autopic.io/v1/fuel-types \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/fuel-types', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/fuel-types",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/fuel-types');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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êtelimitinteger · requêteyearinteger · requêtemonthinteger · requête1-12. Implies monthly rows.
periodstring · requêteValeurs :
year,monthlyvehicleClassstring · requêteValeurs :
passenger_car,light_commercial
Réponse 200
dataobject[]Afficher les 10 attributs
idstring (uuid)makeIdstring (uuid), nullNull when the published brand matches no known make.
groupNamestring, nullbrandstringregionstringvehicleClassstringValeurs :
passenger_car,light_commercialyearintegermonthinteger, nullAbsent on a yearly total.
unitsintegersourcestring
paginationobjectAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
availableYearsinteger[]Years registration data exists for, newest first.
curl https://api.autopic.io/v1/registrations \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/registrations', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/registrations",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/registrations');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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) · cheminobligatoireyearinteger · requêtemonthinteger · requêteperiodstring · requêteValeurs :
year,monthlyvehicleClassstring · requêteValeurs :
passenger_car,light_commercial
Réponse 200
dataobject[]Afficher les 10 attributs
idstring (uuid)makeIdstring (uuid), nullNull when the published brand matches no known make.
groupNamestring, nullbrandstringregionstringvehicleClassstringValeurs :
passenger_car,light_commercialyearintegermonthinteger, nullAbsent on a yearly total.
unitsintegersourcestring
paginationobjectAfficher les 4 attributs
pageintegerobligatoirelimitintegerobligatoiretotalintegerobligatoiretotalPagesintegerobligatoire
availableYearsinteger[]Years registration data exists for, newest first.
curl https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations \
-H "Authorization: Bearer $AUTOPIC_KEY"const res = await fetch('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.AUTOPIC_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations",
headers={"Authorization": f"Bearer {os.environ['AUTOPIC_KEY']}"},
)
data = res.json()<?php
$ch = curl_init('https://api.autopic.io/v1/makes/f92cf3e2-9d1c-4b90-a9d8-0840a6626652/registrations');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AUTOPIC_KEY')],
]);
$data = json_decode(curl_exec($ch), true);{
"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
}
}