# Motors.co.uk Dealer Stock API Documentation

List the used cars in stock at one Motors.co.uk dealer, with the dealer name, phone, address with coordinates and rating. The vehicles use the same fields as the search endpoint and the same pagination. The search radius defaults to 1000 miles so the whole UK is covered; the postcode only sets the distance. A dealer with no vehicles in the radius, or an unknown dealer id, answers a non-billable 404.

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

## 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 |
| --- | --- | --- | --- |
| `dealer_id` | integer | Yes | Numeric dealer id, found in the dealer object of search and listing results. Example: 13846. |
| `postcode` | string | No | UK postcode used for the distance. Defaults to M1 1AE. Example: CW11 1RX. |
| `radius` | integer | No | Search radius in miles, 1 to 1000. Defaults to 1000. |
| `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/dealer?dealer_id=13846&postcode=CW11+1RX&radius=1000"
```

## Example response

```json
{
    "success": true,
    "data": {
        "dealer": {
            "id": 13846,
            "name": "Clews Motors Limited",
            "phone": "01260 544940",
            "address": {
                "address_line_1": "Bagmere Bank Farm",
                "address_line_2": "Brereton Park",
                "town": "Brereton",
                "county": "Cheshire",
                "postcode": "CW11 1RX",
                "latitude": 53.180991,
                "longitude": -2.317517
            }
        },
        "total": 3,
        "page": 1,
        "page_size": 20,
        "has_more": false,
        "results": [
            {
                "id": 78971363,
                "url": "https://www.cazoo.co.uk/cars-for-sale/78971363/",
                "title": "1997 (R) - 1.4 L 3dr",
                "make": "Volkswagen",
                "model": "Polo",
                "trim": "L",
                "type": "CAR",
                "price": 450,
                "currency": "GBP",
                "price_reduced": true,
                "mileage": 103209,
                "engine_size": 1.4,
                "body_type": "Hatchback",
                "colour": "Red",
                "fuel_type": "Petrol",
                "transmission": "Manual",
                "registration": "R629XND",
                "registration_date": "1997-10-15",
                "date_listed": "2026-06-22T13:20:29Z",
                "image_url": "https://cdn.images.autoexposure.co.uk/AETA68492/AETV51185289_1e.jpg",
                "image_count": 16,
                "ulez_status": "NOT_EXEMPT",
                "dealer": {
                    "id": 13846,
                    "name": "Clews Motors Limited",
                    "phone": "01260 544940",
                    "address": {
                        "address_line_1": "Bagmere Bank Farm",
                        "address_line_2": "Brereton Park",
                        "town": "Brereton",
                        "county": "Cheshire",
                        "postcode": "CW11 1RX",
                        "latitude": 53.180991,
                        "longitude": -2.317517
                    }
                }
            }
        ]
    },
    "meta": {
        "endpoint_family": "dealer",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The dealer_id parameter is missing or invalid, or another parameter is out of range. This response is not billable. |
| 404 | Dealer Not Found | The dealer id is unknown or the dealer has no vehicles in the radius. 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)
