# Motors.co.uk Models API Documentation

List the models of one make with vehicles for sale on Motors.co.uk: model name and number of vehicles. Use the name as the model filter of the search endpoint. An unknown make answers a non-billable 404.

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

## 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 |
| --- | --- | --- | --- |
| `make` | string | Yes | Make name from the makes endpoint. Example: Ford. |
| `vehicle_type` | string | No | CAR or VAN. Defaults to CAR. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/motors_co_uk/models?make=Ford"
```

## Example response

```json
{
    "success": true,
    "data": {
        "make": "Ford",
        "results": [
            {
                "name": "B-MAX",
                "count": 266
            },
            {
                "name": "Bronco",
                "count": 2
            },
            {
                "name": "C-Max",
                "count": 472
            }
        ]
    },
    "meta": {
        "endpoint_family": "models",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The make parameter is missing or invalid, or another parameter is out of range. This response is not billable. |
| 404 | Make Not Found | No models exist for the supplied make. 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)
