# Motors.co.uk Search API Documentation

Search used cars or vans on Motors.co.uk around a UK postcode: for each vehicle the id, title, make, model, trim, price in GBP, mileage, engine size, body type, colour, fuel type, transmission, registration, dates, distance in miles, image, dealer and the public listing url. Filter by make, model, price, mileage, age, fuel type, body type and transmission. Page with page and page_size; has_more is true while more pages exist. A valid search with no matches is a successful response with an empty results list.

- **Documentation:** [https://scrappa.co/docs/motors-co-uk-api/motors_co_uk_search](https://scrappa.co/docs/motors-co-uk-api/motors_co_uk_search)
- **API group:** Motors.co.uk API
- **Endpoint:** `GET https://scrappa.co/api/motors_co_uk/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `postcode` | string | Yes | UK postcode, e.g. M1 1AE. Example: M1 1AE. |
| `radius` | integer | No | Search radius in miles, 1 to 1000. Defaults to 50. |
| `vehicle_type` | string | No | CAR or VAN. Defaults to CAR. |
| `make` | string | No | Make name from the makes endpoint. Example: Ford. |
| `model` | string | No | Model name from the models endpoint. Needs make. Example: Focus. |
| `min_price` | integer | No | Minimum price in GBP. |
| `max_price` | integer | No | Maximum price in GBP. |
| `max_mileage` | integer | No | Maximum mileage in miles. |
| `max_age` | integer | No | Maximum vehicle age in years. |
| `fuel_type` | string | No | One fuel type, e.g. Diesel, Petrol or Electric. |
| `body_type` | string | No | One body type, e.g. Estate or Hatchback. |
| `transmission` | string | No | Manual or Automatic. |
| `sort` | string | No | PRICE_LOW, PRICE_HIGH, MILEAGE_LOW, MILEAGE_HIGH, AGE_LOW, AGE_HIGH or DISTANCE. Defaults to PRICE_LOW. |
| `page` | integer | No | 1-based page number. Defaults to 1. |
| `page_size` | integer | No | Vehicles per page, 1 to 50. Defaults to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/motors_co_uk/search?postcode=M1+1AE&radius=50&make=Ford"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 6453,
        "page": 1,
        "page_size": 20,
        "has_more": true,
        "results": [
            {
                "id": 78705550,
                "url": "https://www.cazoo.co.uk/cars-for-sale/78705550/",
                "title": "2007 (07) - 1.8 LX 5dr",
                "make": "Ford",
                "model": "Mondeo",
                "trim": "LX",
                "type": "CAR",
                "price": 400,
                "currency": "GBP",
                "mileage": 139334,
                "engine_size": 1.8,
                "body_type": "Hatchback",
                "colour": "Silver",
                "fuel_type": "Petrol",
                "transmission": "Manual",
                "registration": "NA07UXX",
                "registration_date": "2007-04-12",
                "date_listed": "2026-05-27T00:20:20Z",
                "distance_miles": 4.23,
                "image_url": "https://cdn.images.autoexposure.co.uk/AETA35838/AETV85925780_1e.jpg",
                "image_count": 52,
                "ulez_status": "EXEMPT",
                "dealer": {
                    "id": 49015,
                    "name": "Audenshaw Motor Company Ltd TA Audenshaw Motors",
                    "phone": "0161 413 9877",
                    "rating": {
                        "provider": "Google",
                        "review_count": 285,
                        "score": 3.6
                    },
                    "address": {
                        "address_line_1": "The Yard, Springbank Terrace",
                        "address_line_2": "Audenshaw",
                        "town": "Manchester",
                        "county": "Greater Manchester",
                        "postcode": "M34 5PH",
                        "latitude": 53.47175,
                        "longitude": -2.13033
                    }
                }
            }
        ]
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The postcode parameter is missing or invalid, or another parameter is out of range. This response is not billable. |
| 503 | Upstream Unavailable | Motors.co.uk is temporarily unreachable or blocked the request. Retry later; this response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
