API reference
Catalog
Makes, models, manufacturers, vehicle types and fuel types, plus new-vehicle registrations.
- 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
Search the catalog
GET/v1/searchAPI key
Search makes, models, manufacturers, and WMIs.
Requires an API key.
Parameters
qstring · queryrequiredSearch query
limitinteger · query
Response 200
dataobject[]requiredShow 8 attributes
typestringrequiredValues:
make,model,manufacturer,wmiidstring (uuid)requiredcodestringrequirednamestringrequiredscorenumber (float)requiredsourcesstring[]aliasesstring[]enrichmentstring
Errors
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"
}
]
}List makes
GET/v1/makesAPI key
Requires an API key.
Parameters
pageinteger · querylimitinteger · queryqstring · querySearch by name
vehicleTypestring · querycountrystring · query
Response 200
dataobject[]requiredShow 9 attributes
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)
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}Retrieve a make
GET/v1/makes/{makeId}API key
Requires an API key.
Parameters
makeIdstring (uuid) · pathrequired
Response 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)
Errors
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"
}List models of a make
GET/v1/makes/{makeId}/modelsAPI key
Requires an API key.
Parameters
makeIdstring (uuid) · pathrequiredpageinteger · querylimitinteger · queryqstring · queryvehicleTypestring · queryfuelTypestring · queryyearinteger · query
Response 200
dataobject[]requiredShow 19 attributes
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Show 11 attributes
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.
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}List models
GET/v1/modelsAPI key
Requires an API key.
Parameters
pageinteger · querylimitinteger · queryqstring · querymakeCodestring · queryvehicleTypestring · queryfuelTypestring · queryyearinteger · query
Response 200
dataobject[]requiredShow 19 attributes
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Show 11 attributes
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.
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}Retrieve a model
GET/v1/models/{modelId}API key
Requires an API key.
Parameters
modelIdstring (uuid) · pathrequiredyearinteger · queryReturn 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 · queryMaximum trims returned. Capped at 1000.
Response 200
idstring (uuid)makeIdstring (uuid)makeCodestringmakeNamestringcodestringnamestringvehicleTypeCodestring, nullstartYearinteger, nullendYearinteger, nullsourcestringsourceIdstring, nullactivebooleanfuelTypeCodesstring[]sourcesstring[]aliasesstring[]enrichmentstringtrimsobject[]Trim-level enrichments (populated on GET /models/{id})
Show 11 attributes
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.
Errors
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"
}List manufacturers
GET/v1/manufacturersAPI key
Requires an API key.
Parameters
pageinteger · querylimitinteger · query
Response 200
dataobject[]requiredShow 6 attributes
idstring (uuid)codestringnamestringcountrystring, nullsourcestringsourceIdstring, null
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}Retrieve a manufacturer
GET/v1/manufacturers/{manufacturerId}API key
Requires an API key.
Parameters
manufacturerIdstring (uuid) · pathrequired
Response 200
idstring (uuid)codestringnamestringcountrystring, nullsourcestringsourceIdstring, null
Errors
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"
}List vehicle types
GET/v1/vehicle-typesAPI key
Requires an API key.
Parameters
pageinteger · querylimitinteger · query
Response 200
dataobject[]requiredShow 4 attributes
idstring (uuid)codestringnamestringsourcestring
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}List fuel types
GET/v1/fuel-typesAPI key
Requires an API key.
Parameters
pageinteger · querylimitinteger · query
Response 200
dataobject[]requiredShow 4 attributes
idstring (uuid)codestringnamestringsourcestring
paginationobjectrequiredShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
Errors
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
}
}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 · querylimitinteger · queryyearinteger · querymonthinteger · query1-12. Implies monthly rows.
periodstring · queryValues:
year,monthlyvehicleClassstring · queryValues:
passenger_car,light_commercial
Response 200
dataobject[]Show 10 attributes
idstring (uuid)makeIdstring (uuid), nullNull when the published brand matches no known make.
groupNamestring, nullbrandstringregionstringvehicleClassstringValues:
passenger_car,light_commercialyearintegermonthinteger, nullAbsent on a yearly total.
unitsintegersourcestring
paginationobjectShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
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
}
}Registrations of a make
GET/v1/makes/{makeId}/registrationsAPI key
Requires an API key.
Parameters
makeIdstring (uuid) · pathrequiredyearinteger · querymonthinteger · queryperiodstring · queryValues:
year,monthlyvehicleClassstring · queryValues:
passenger_car,light_commercial
Response 200
dataobject[]Show 10 attributes
idstring (uuid)makeIdstring (uuid), nullNull when the published brand matches no known make.
groupNamestring, nullbrandstringregionstringvehicleClassstringValues:
passenger_car,light_commercialyearintegermonthinteger, nullAbsent on a yearly total.
unitsintegersourcestring
paginationobjectShow 4 attributes
pageintegerrequiredlimitintegerrequiredtotalintegerrequiredtotalPagesintegerrequired
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
}
}