# Used Mazda MX-5 for Sale UK: Price and Mileage Comparison

**Use case:** 

Used Mazda MX-5 for sale in the UK, collected from PistonHeads adverts with price, registration year, mileage, and seller type. Compare generations side by side to see what a fair MX-5 price looks like before you buy or sell. Filter further by price, year, or mileage to narrow the list to the car you actually want.

## Input

```json
{
  "startUrls": [],
  "makes": [
    "Mazda"
  ],
  "models": [
    "MX-5"
  ],
  "keywords": "",
  "fuelTypes": [],
  "transmissions": [],
  "bodyTypes": [],
  "colours": [],
  "sellerType": "",
  "postcode": "",
  "includeSoldCars": false,
  "includeFullDetails": false,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Listing",
    "format": "string"
  },
  "price": {
    "label": "Price (£)",
    "format": "number"
  },
  "year": {
    "label": "Year",
    "format": "number"
  },
  "mileage": {
    "label": "Mileage",
    "format": "number"
  },
  "fuelType": {
    "label": "Fuel",
    "format": "string"
  },
  "transmission": {
    "label": "Transmission",
    "format": "string"
  },
  "bodyType": {
    "label": "Body type",
    "format": "string"
  },
  "sellerType": {
    "label": "Seller",
    "format": "string"
  },
  "sellerLocation": {
    "label": "Location",
    "format": "string"
  },
  "listingUrl": {
    "label": "Link",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [PistonHeads Scraper: Full Spec Car Data](https://apify.com/getascraper/pistonheads-uk-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/getascraper/pistonheads-uk-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/getascraper/pistonheads-uk-scraper.md

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`).
