---
title: "AutoTrader UK API: Facets | Perceptlayer"
description: "Facets from AutoTrader UK as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/autotrader-uk/facets
---

[APIs](https://perceptlayer.com/apis) / [AutoTrader UK](https://perceptlayer.com/apis/autotrader-uk) / Facets

# AutoTrader UK: Facets

Facets from AutoTrader UK as JSON. 1 credit per successful call.

GET `/v1/autotrader-uk/facets`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `postcode` | string | Required | Up to 8 characters |
| `price_search_type` | string | Optional | total, monthly |
| `facets[]` | list of string | Optional | acceleration\_values, aggregated\_trim, annual\_tax\_values, battery\_charge\_time\_values, battery\_quick\_charge\_time\_values, battery\_range\_values, body\_type, boot\_size\_values, category\_tag, co2\_emission\_values, colour, distance, doors\_values, drivetrain, engine\_power, engine\_size, finance, fuel\_consumption\_values, fuel\_type, insurance\_group, is\_manufacturer\_approved, is\_writeoff, keywords, lat\_long, lease\_in\_stock, lease\_product\_type, leasing, make, mileage, monthly\_price, ni\_only, part\_exchange\_available, postcode, price, price\_search\_type, seats\_values, seller\_type, style, sub\_style, transmission, ulez\_compliant, with\_digital\_retailing, with\_manufacturer\_rrp\_saving, year\_manufactured, model |
| `make` | string | Optional | Up to 100 characters |
| `model` | string | Optional | Up to 100 characters |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, distance, mileage, year\_dsc, year\_asc, most\_recent |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/autotrader-uk/facets?postcode=SW1A1AA&price_search_type=total" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/autotrader-uk?try=facets#playground) with your own parameters. 1 credit per successful call; failed calls are free.
