# Carsales Facets

Return the valid values for one level (make, model, state, body_style or price) under a filter set, with the approximate live result count. Use q to filter the returned values by text. Price returns the price steps in AUD.

- **Documentation:** [https://scrappa.co/docs/carsales-api/carsales_facets](https://scrappa.co/docs/carsales-api/carsales_facets)
- **API group:** Carsales API
- **Endpoint:** `GET https://scrappa.co/api/carsales/v1/facets`

## 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 |
| --- | --- | --- | --- |
| `level` | string | No | make, model, state, body_style or price. |
| `q` | string | No | Text to filter the returned values. |
| `condition` | string | No | used or new. |
| `make` | string | No | Make name from the taxonomy endpoint, for example Toyota. |
| `model` | string | No | Model name from the taxonomy endpoint. Needs make. |
| `state` | string | No | Full state name or short code, for example Queensland or QLD. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | The listing, make, model or year was not found. This response is not billable. |  |
|  | A parameter is invalid, a value is unknown, or no filter was set. This response is not billable. |  |
|  | The upstream answer changed shape and could not be read. This response is not billable. |  |
|  | The upstream refused the request or is unavailable. 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)
