---
title: "Get Body Styles"
method: GET
path: "/api/body_styles"
---

# Get Body Styles

`GET /api/body_styles`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/body_styles`
- Auth: none declared

Returns distinct body styles for the given category, grouping odd values.

Reads from mv_car_metadata (a pre-aggregated rollup) instead of scanning
car_listings on every cache miss.

## Query parameters

- `category` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pegarex/apis/pegarex-api.md) · [All operations](https://skmtc.dev/pegarex/apis/pegarex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pegarex/apis/pegarex-api/revisions/8c789c9bd72d?raw)
