With the Search Adverts capability on Auto Trader Connect, you’ll be able to complete an unrestricted search of vehicles advertised on Auto Trader.
Here's a full list of the functionality:
- Retrieve advert details
- Filter the results
Retrieve advert details
As part of this capability, you have unrestricted access to vehicles advertised on Auto Trader.
For information on how to access the Search API, please refer to the Introduction to Search.
Filtering results
You can include a variety of parameters in your request to filter adverts that are relevant to your search. Some examples of filters for an unrestricted search might be:
- vehicleType=Car - Return all adverts with the vehicle type of cars
- advertisingLocation=locatorWebsite - Return adverts that have been set to be published on a Used Vehicle Locator (UVL)
- standardMake=Ford - Return adverts where a vehicle make is Ford
- minTotalPrice=10000 and maxTotalPrice=15000 - Return adverts with a total price between £10,000 and £15,000
- distance=50 - Return adverts within 50 miles of the postcode provided in the postcode parameter
A complete list of the available filters on the Search API is available in our developer documentation.
Check out an example of an unrestricted search on the Search API
Error handling
When using the APIs above, you may get error response codes that you need to handle. This makes sure you have a smooth service for both you, as a partner, and your end user.