Search Vehicle by Facets
The Vehicle Facets API allows you to narrow down the matching vehicle based on the vehicle's parameters. The facets available are: year, make, model, badge, series, transmission, body, body_style, fuel, engine and wheelbase.
Please note that this API is an exact match search. For clarity this means that a search as follows ("Raptor"):
year=2023&make=Ford&model=Ranger&badge=RaptorWill not return any results.
However a search as follows ("RAPTOR"):
year=2023&make=Ford&model=Ranger&badge=RAPTORWill return a result set.
Subsequently it is important to utilise the Facet Search to identify the appropriate facet descriptors.
Search for a vehicle by facet, return matching vehicles
The build year of the vehicle
2009The make of the vehicle
NissanThe model of the vehicle
SkylineThe badge of the vehicle
370GT Type SPThe series of the vehicle
V36The specific transmission type (e.g. Sports Automatic, Automated Manual, etc...)
Sports AutomaticThe basic transmission type (i.e. Automatic, Manual or Reduction Gear)
AutomaticThe body type of the vehicle (e.g. Hatchback, Sedan, etc...)
SedanThe fuel type of the vehicle (e.g. Petrol, Diesel, etc...)
PetrolThe specific drive type (e.g. AWD, 4WD, 4x4 Dual Range, etc...)
RWDThe basic drive type of the vehicle (e.g. Front Wheel Drive, Rear Wheel Drive, etc...)
Rear Wheel DriveThe maximum number of results to return per facet query (default: 5)
5An optional reference id which will be stored against usage records if supplied
MY_REFERENCE_123Vehicle Search Response
Bad Request / Validation Failed
Resource for id cannot be found
Unknown error on the service side
GET /v1/vehicles/facets/search HTTP/1.1
Host:
Accept: */*
{
"success": true,
"vehicles": [
{
"id": 2983792384791283,
"region": "au",
"title": "2007 Mitsubishi Outlander XLS Automatic",
"year": 2007,
"make": "Mitsubishi",
"model": "Outlander",
"badge": "XLS",
"series": null,
"model_year": null,
"release_month": 1,
"release_year": 2007,
"body_type": "Wagon",
"body_config": null,
"transmission": "Continuously Variable (CVT)",
"transmission_type": "Automatic",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "AWD",
"drive_type": "Four Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 6,
"num_cylinders": 4,
"capacity_cc": 2359,
"power_kw": 127,
"torque_nm": 230,
"range": 250,
"options": []
}
],
"total": 10
}Last updated