Search-cars
search-carsFull Description
Retrieve a list of cars available on Autotrader the leading UK marketplace for cars. The input is a natural language query describing the type of car the user is looking for, and the output is a list of matching cars with details.
Parameters (1 required, 1 optional)
querystringA natural language search query to find cars.Example supported filters: categories (All-rounders, Big boots, cheaper insurance, cheaper to run, classic cars, family cars, family cars xl, first cars, luxury cars, omg, small cars, small suvs, sports cars),Make (and optionally model) - only a single make/model combination, price range, age (including new), mileage, fuel type (Petrol/Diesel/Electric/Hybrid), gearbox (Automatic/Manual), body type (Convertible/Coupe/Estate/Hatchback/MPV/Pickup/Saloon/SUV/Camper), color, distance in miles (defaults to national radius) E.g. "small car under £20,000 up to 50 miles away"
postcodestringThe postcode to use for the search, which can influence the results based on location. If not specified, they will not be able to search by distance and will be prompted to enter postcode if they navigate to Autotrader.