# Autotrader UK Scraper: Used Car Listings (`reventadata/autotrader-uk-scraper`) Actor

Scrape Autotrader.co.uk car listings by make, model, price, year, mileage, fuel and seller type near a UK postcode. Price and price rating, year, registration, mileage, condition, seller type, location, distance and photos. Unofficial.

- **URL**: https://apify.com/reventadata/autotrader-uk-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Autotrader UK Scraper

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Autotrader. "Autotrader" is a trademark of its
> respective owner and is used here only to describe what this tool reads. It reads the same
> public car listings a browser shows on autotrader.co.uk.

Autotrader UK Scraper by reventadata extracts used and new car listings from autotrader.co.uk as structured rows: price, year, mileage, seller type, dealer, location and photos. An optional switch also opens each car's page for the specification, the seller's published contact details and the description.

### What does it do?

It runs a car search on autotrader.co.uk with the filters you set and returns one row per advert, 20 cars per result page, in the site's own order (or cheapest first).

### Why use it?

- **Structured columns:** price as a number, mileage and year as integers, dealer id and page, price rating, write-off category, photos at 800 px.
- **Filters the site really applies:** make, model, price range, year range, maximum mileage, fuel (petrol or diesel), private or trade sellers, postcode with a distance in miles.
- **Optional detail fields:** engine size, gearbox, body type, doors, seats, colour, owners, registration date, CO2, insurance group, annual tax, performance figures, feature list, description, and the seller name, phone, email, address and website as the seller published them on the advert.
- **Public data only:** nothing from behind a login. Seller and dealer details are in the rows because the advert page shows them.

### How to use it

1. Set a make (and optionally a model), plus any price, year, mileage, fuel, seller or distance filter.
2. Choose how many rows you want in Maximum rows.
3. Turn on "Add detail-page fields" if you need the specification and seller contact details (one extra request per row).
4. Run it and download the dataset as JSON, CSV, Excel or NDJSON.

#### The 2,000-ad limit

Autotrader serves at most 100 pages of 20 ads, 2,000 ads, for any one search. A search that matches more (for example all BMWs, 43,000+ ads) returns the first 2,000 and the run log says so. To reach the rest, split the search with narrower filters: a model, a price band, a year band, or a postcode with a distance.

#### Input

| Field | Type | Description |
|---|---|---|
| `make` | string | Car make as Autotrader spells it, for example `BMW`. Empty means all makes. |
| `model` | string | Car model, for example `3 Series`. Needs a make. |
| `minPrice`, `maxPrice` | integer | Price range in pounds. |
| `minYear`, `maxYear` | integer | Year of manufacture range. |
| `maxMileage` | integer | Highest mileage in miles. |
| `fuelType` | string | `Petrol` or `Diesel`. |
| `sellerType` | string | `any`, `private` or `trade`. |
| `postcode` | string | UK postcode the distance is measured from. Defaults to `SW1A 1AA`. |
| `distance` | integer | Miles from the postcode. Empty means the whole UK. |
| `sortBy` | string | `relevance` or `price_asc`. |
| `maxItems` | integer | Maximum rows. |
| `maxPages` | integer | Maximum result pages (1 to 100). |
| `includeDetails` | boolean | Open each car's page for the detail fields. |
| `proxyConfiguration` | object | Optional; off by default. |

#### Sample input

```json
{
    "make": "BMW",
    "model": "3 Series",
    "minPrice": 5000,
    "maxPrice": 6000,
    "fuelType": "Diesel",
    "sellerType": "trade",
    "postcode": "M1 1AE",
    "distance": 100,
    "sortBy": "price_asc",
    "maxItems": 20,
    "includeDetails": true
}
```

#### Sample output

One row from a real platform run on 2026-11-11 with the detail option off (`imageUrls` shortened to 2 items). With "Add detail-page fields" on, each row also carries the detail fields listed above:

```json
{
  "id": "202611107797477",
  "url": "https://www.autotrader.co.uk/car-details/202611107797477",
  "title": "BMW 2 Series Gran Tourer",
  "subTitle": "1.5 218i Luxury Euro 6 (s/s) 5dr",
  "make": "BMW",
  "model": "2 Series Gran Tourer",
  "year": 2015,
  "registration": "2015 (65 reg)",
  "mileage": 110342,
  "price": 4000,
  "priceText": "£4,000",
  "currency": "GBP",
  "priceRating": "NOANALYSIS",
  "writeOffCategory": null,
  "badges": null,
  "attentionGrabber": null,
  "condition": "used",
  "sellerType": "PRIVATE",
  "dealerId": null,
  "dealerUrl": null,
  "dealerRating": null,
  "location": "Reading (36 miles)",
  "distanceMiles": 36,
  "isManufacturerApproved": false,
  "isFranchiseApproved": false,
  "isPreRegistered": false,
  "numberOfImages": 9,
  "imageUrl": "https://m.atcdn.co.uk/a/media/w800/5c34888863554b599a0dad45f6d78ab9.jpg",
  "imageUrls": [
    "https://m.atcdn.co.uk/a/media/w800/5c34888863554b599a0dad45f6d78ab9.jpg",
    "https://m.atcdn.co.uk/a/media/w800/50ba529dbaee4201ae30994053a80414.jpg"
  ],
  "scrapedAt": "2026-11-11T06:34:08+00:00"
}
```

### Notes and limits

- Cars only. Vans, motorbikes and other Autotrader sections are not covered.
- Petrol and diesel are the only fuel filters offered because they are the two that were tested.
- Without a distance, the postcode does not narrow the search; each row carries its distance from that postcode.
- Seller phone, email, address and website appear only with the detail option and only as the seller published them.

The current price is on the Actor's Pricing tab.

# Actor input Schema

## `make` (type: `string`):

Car make as Autotrader spells it, for example "BMW" or "Ford". Leave empty for all makes. A make the site does not know returns 0 results.

## `model` (type: `string`):

Car model as Autotrader spells it, for example "3 Series". Needs a make. Leave empty for all models.

## `minPrice` (type: `integer`):

Optional. Lowest asking price in pounds. Left out of the request when empty.

## `maxPrice` (type: `integer`):

Optional. Highest asking price in pounds. Left out of the request when empty.

## `minYear` (type: `integer`):

Optional. Earliest year of manufacture, for example 2015.

## `maxYear` (type: `integer`):

Optional. Latest year of manufacture, for example 2020.

## `maxMileage` (type: `integer`):

Optional. Highest mileage in miles, for example 50000.

## `fuelType` (type: `string`):

Optional. Only the two fuel types that were tested are offered; leave empty for every fuel.

## `sellerType` (type: `string`):

Any seller, private sellers only, or trade (dealers) only.

## `postcode` (type: `string`):

UK postcode the search is measured from, for example "SW1A 1AA". The site needs one; without it the Actor uses SW1A 1AA. On its own it does not limit results: cars from all over the UK are returned, with the distance from this postcode in each row.

## `distance` (type: `integer`):

Optional. Only cars within this many miles of the postcode, for example 50. Left out of the request when empty, which means the whole UK.

## `sortBy` (type: `string`):

Relevance (the site default) or cheapest first.

## `maxItems` (type: `integer`):

Hard cap on rows pushed. The site serves at most 2,000 ads (100 pages of 20) per search; narrow the filters to reach more.

## `maxPages` (type: `integer`):

Optional cap on result pages (20 cars each, at most 100). Without it the run walks every page the site reports for the search, or stops at Maximum rows.

## `includeDetails` (type: `boolean`):

Also open each car's page to add the description, seller name, phone, email and address (as the seller published them), fuel, gearbox, body type, engine size, doors, seats, colour, owners, registration date, running costs, performance figures and the feature list. One extra request per row, so the run is slower.

## `proxyConfiguration` (type: `object`):

Optional. Left off by default; turn it on only if you see request failures.

## Actor input object example

```json
{
  "make": "BMW",
  "sellerType": "any",
  "postcode": "SW1A 1AA",
  "sortBy": "relevance",
  "maxItems": 10,
  "maxPages": 1,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "make": "BMW",
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/autotrader-uk-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "make": "BMW",
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/autotrader-uk-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "make": "BMW",
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/autotrader-uk-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reventadata/autotrader-uk-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GVTDb2OG3dUDh6J3s/builds/FiJyaKAWc6y6qw64L/openapi.json
