AutoTrader UK Search API

GET   /api/v1/search?engine=autotrader_uk_search

The AutoTrader UK Search API returns the cars for sale on AutoTrader UK around a UK postcode, 20 a page in AutoTrader's order. Paid placements, marked is_promoted, come inline as additional rows, leaving out a paid copy of one of the page's 20 cars, so a page can hold more than 20 cars: search_information.results_on_page counts them, and pagination.next_page continues the search. Each car comes with its price and AutoTrader's price rating, the manufacturer's list price where AutoTrader shows one, mileage, registration year and plate, write-off category, the seller's headline, photos, the seller's type, rating and AutoTrader page, and the car's town and distance from the postcode. The filters block lists the makes, models, trims and other values the search takes back, with counts for suggested values and optional counts for values marked is_selected. When AutoTrader returns the cars but not the filter options, the response has no filters and search_information.is_partial is true.

API Parameters

Search Query

  • Name
    make
    Required
    Optional
    Description

    Parameter defines the car makes to search, comma-separated, up to 5, such as BMW or Ford,Vauxhall. It takes the names listed in the make group of filters, in any letter case. An unknown make returns an error naming the closest AutoTrader UK makes.

  • Name
    model
    Required
    Optional
    Description

    Parameter defines the models to search, comma-separated, up to 50 of up to 60 characters each, such as 3 Series. It requires make. Take the names from the model group of filters, since a name AutoTrader UK does not know returns no cars.

  • Name
    trim
    Required
    Optional
    Description

    Parameter defines the trims to search, comma-separated, up to 50 of up to 60 characters each, such as M Sport. Trims are case-sensitive: take the names from the trim group of filters as spelled there. With model, a trim listed in another letter case returns an error naming its spelling. Without a listed alternative, a trim with no matches returns no cars.

  • Name
    q
    Required
    Optional
    Description

    Parameter defines words to find in the advert text, such as sunroof, up to 100 characters after trimming surrounding whitespace and collapsing repeated whitespace to one space. Apply the same normalization before validating the length.

Geographic Location

  • Name
    zip
    Required
    Required
    Description

    Parameter defines the UK postcode to search from, written in full, such as SW1A 1AA. Surrounding spaces are trimmed. A postcode AutoTrader UK cannot find returns an error.

  • Name
    radius
    Required
    Optional
    Description

    Parameter defines the distance from zip in miles, one of 1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 70, 80, 90, 100 and 200. Without it, AutoTrader UK searches the whole UK.

Sorting

  • Name
    sort_by
    Required
    Optional
    Description

    Parameter defines the result order, one of best_match, price_asc, price_desc, mileage_asc, registration_desc, registration_asc, newest and distance. Paid placements, marked is_promoted, can keep their own slots in every order. The default parameter is best_match.

Filters

  • Name
    price_min
    Required
    Optional
    Description

    Parameter defines the lowest price in pounds, up to 10,000,000. A paid placement, marked is_promoted, can be priced below it.

  • Name
    price_max
    Required
    Optional
    Description

    Parameter defines the highest price in pounds, up to 10,000,000.

  • Name
    mileage_min
    Required
    Optional
    Description

    Parameter defines the lowest mileage in miles, up to 2,000,000.

  • Name
    mileage_max
    Required
    Optional
    Description

    Parameter defines the highest mileage in miles, up to 2,000,000.

  • Name
    registration_year_min
    Required
    Optional
    Description

    Parameter defines the earliest registration year, from 1900 up to the current year. It cannot be combined with condition=new, which lists new cars.

  • Name
    registration_year_max
    Required
    Optional
    Description

    Parameter defines the latest registration year, from 1900. A year after the current one returns the same cars as the current year. Any value leaves out new cars, which have no registration year. It cannot be combined with condition=new.

  • Name
    condition
    Required
    Optional
    Description

    Parameter defines the car conditions to include, comma-separated, from new, used and manufacturer_certified. used includes manufacturer-certified cars, and new cannot be combined with another value or with a registration year.

  • Name
    fuel_type
    Required
    Optional
    Description

    Parameter defines the fuel types to include, comma-separated, from petrol, diesel, electric, hybrid, hybrid_petrol, plug_in_hybrid_petrol, hybrid_diesel, plug_in_hybrid_diesel, bi_fuel, hydrogen and cng. hybrid selects all four hybrid kinds, hybrid_petrol, plug_in_hybrid_petrol, hybrid_diesel and plug_in_hybrid_diesel, while hybrid_petrol and hybrid_diesel leave out plug-in hybrids.

  • Name
    body_type
    Required
    Optional
    Description

    Parameter defines the body types to include, comma-separated, from convertible, coupe, station_wagon, hatchback, sedan, van, suv, pickup, camper, car_derived_van, combi_van, limousine, minibus, panel_van, window_van and ambulance. van is the MPV class.

  • Name
    transmission
    Required
    Optional
    Description

    Parameter defines the transmissions to include, comma-separated, from automatic and manual.

  • Name
    drivetrain
    Required
    Optional
    Description

    Parameter defines the drivetrains to include, comma-separated, from front, rear and all_wheel.

  • Name
    color
    Required
    Optional
    Description

    Parameter defines the exterior colours to include, comma-separated, from beige, black, blue, bronze, brown, gold, green, grey, multicolour, orange, pink, red, silver, violet, white and yellow.

  • Name
    doors_min
    Required
    Optional
    Description

    Parameter defines the fewest doors, from 0 to 7.

  • Name
    doors_max
    Required
    Optional
    Description

    Parameter defines the most doors, from 0 to 7.

  • Name
    seats_min
    Required
    Optional
    Description

    Parameter defines the fewest seats, from 1 to 18.

  • Name
    seats_max
    Required
    Optional
    Description

    Parameter defines the most seats, from 1 to 18.

  • Name
    displacement_min
    Required
    Optional
    Description

    Parameter defines the smallest engine size in cc, up to 20,000. AutoTrader UK lists engine sizes in tenths of a litre, so the value is rounded to the nearest 100 cc: 1,550 to 1,649 all search from 1.6 litres.

  • Name
    displacement_max
    Required
    Optional
    Description

    Parameter defines the largest engine size in cc, up to 20,000. AutoTrader UK lists engine sizes in tenths of a litre, so the value is rounded to the nearest 100 cc: 1,550 to 1,649 all search up to 1.6 litres.

  • Name
    power_min
    Required
    Optional
    Description

    Parameter defines the lowest engine power in the unit power_unit sets, up to 2,000 kW or 2,719 hp.

  • Name
    power_max
    Required
    Optional
    Description

    Parameter defines the highest engine power in the unit power_unit sets, up to 2,000 kW or 2,719 hp.

  • Name
    power_unit
    Required
    Optional
    Description

    Parameter defines the unit of power_min and power_max, kw and hp. The default parameter is kw.

  • Name
    seller_type
    Required
    Optional
    Description

    Parameter defines whether to list the cars of dealers only, dealer, or of private sellers only, private.

  • Name
    damage
    Required
    Optional
    Description

    Parameter defines how insurance write-offs, which results mark with write_off_category, are treated: left out with exclude, included with include, or returned alone with only. The default parameter is include.

  • Name
    is_ulez_compliant
    Required
    Optional
    Description

    Parameter set to true lists only cars that meet London's Ultra Low Emission Zone standards.

Pagination

  • Name
    page
    Required
    Optional
    Description

    Parameter defines the page of results, from 1 to 100. AutoTrader UK serves at most 100 pages for one search, so narrow the search with filters to reach more cars. The default parameter is 1.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to autotrader_uk_search.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to prevent request parameters, HTML, and JSON response content from being stored or logged. Operational metadata and billing records are retained. Debugging and support may be limited while enabled.

API Examples

Response excerpt

Response excerpt
GET
https://www.searchapi.io/api/v1/search?engine=autotrader_uk_search&make=Vauxhall&seller_type=private&sort_by=price_asc&zip=M1+1AE
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "autotrader_uk_search",
  "zip": "M1 1AE",
  "make": "Vauxhall",
  "seller_type": "private",
  "sort_by": "price_asc"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_rjFYnEqVOsrHf0aYshDpm5xE",
    "status": "Success",
    "created_at": "2026-11-26T17:10:04Z",
    "request_time_taken": 0.93,
    "parsing_time_taken": 0.01,
    "total_time_taken": 0.93,
    "request_url": "https://www.autotrader.co.uk/car-search?postcode=M1+1AE&make=Vauxhall&seller-type=private&sort=price-asc&page=1",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_rjFYnEqVOsrHf0aYshDpm5xE.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_rjFYnEqVOsrHf0aYshDpm5xE"
  },
  "search_parameters": {
    "engine": "autotrader_uk_search",
    "zip": "M1 1AE",
    "make": "Vauxhall",
    "power_unit": "kw",
    "seller_type": "private",
    "damage": "include",
    "sort_by": "price_asc",
    "page": 1
  },
  "search_information": {
    "total_results": 3047,
    "total_pages": 100,
    "page": 1,
    "results_on_page": 20
  },
  "filters": [
    {
      "key": "make",
      "options": [
        {
          "text": "Abarth",
          "value": "Abarth",
          "count": 148
        },
        "..."
      ]
    },
    "..."
  ],
  "organic_results": [
    {
      "position": 1,
      "id": "202604101443706",
      "title": "Vauxhall Corsa 1.2i 16v SE 3dr (a/c)",
      "link": "https://www.autotrader.co.uk/car-details/202604101443706",
      "price": "£450",
      "extracted_price": 450,
      "currency": "GBP",
      "make": "Vauxhall",
      "model": "Corsa",
      "variant": "1.2i 16v SE 3dr (a/c)",
      "condition": "used",
      "registration_year": 2011,
      "plate": "11",
      "mileage": "90,000 miles",
      "extracted_mileage": 90000,
      "mileage_unit": "mi",
      "seller": {
        "type": "private"
      },
      "location": {
        "city": "Pudsey"
      },
      "extracted_distance": 33,
      "distance_unit": "mi",
      "thumbnail": "https://m.atcdn.co.uk/a/media/w480/e9dfbabd6a904666990197c62a753eff.jpg",
      "images": [
        "https://m.atcdn.co.uk/a/media/w800/e9dfbabd6a904666990197c62a753eff.jpg",
        "..."
      ],
      "images_count": 12
    },
    "..."
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 100,
    "next_page": 2
  }
}