# Auto Trader UK Taxonomy API Documentation

Get the make and model reference lists behind the search filters, with live listing counts. Without make the response carries the makes list; with make it carries the models list for that make.

- **Documentation:** [https://scrappa.co/docs/autotrader-uk-api/autotrader_uk_taxonomy](https://scrappa.co/docs/autotrader-uk-api/autotrader_uk_taxonomy)
- **API group:** Auto Trader UK API
- **Endpoint:** `GET https://scrappa.co/api/autotrader-uk/v1/taxonomy`

## 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 that scopes the counts, e.g. SW1A1AA. |
| `make` | string | No | Optional make, e.g. BMW. Returns the models for this make. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autotrader-uk/v1/taxonomy?postcode=SW1A1AA&make=BMW"
```

## Example response

```json
{
    "success": true,
    "data": {
        "makes": [],
        "models": []
    },
    "meta": {
        "endpoint_family": "taxonomy"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Record Not Found | The requested listing or dealer is no longer available. This response is not billable. |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 502 | Invalid Source Response | Auto Trader UK returned an invalid response. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. 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)
