# Kavak Search

Search the used car catalogue of Kavak in Mexico, Brazil, Argentina, Chile, the UAE and Turkey. Every request needs a market code; unknown or unsupported codes are rejected with a 422 and are not billed, so you never get another country's cars. Filter by make, model, year, price range, km range, body type, location, transmission, fuel type, colour, drivetrain, seats, availability and keyword, and sort by relevance, price, age or km. Use the taxonomy endpoint for valid make, model, location and filter values: an unknown make, model, region or location is rejected with a 422. A model needs a valid make or must belong to some make. The region filter works in Mexico only; use location in Brazil, Argentina and Chile. The UAE has no location filter. Turkey has no taxonomy, so make is passed as given and model is not available there. Pages hold 30 cars and start at page 1. total_results is a numeric total: Kavak publishes only a display string, so Scrappa uses it when it fits the page count and derives the total from the last page otherwise (total_results_source says which). It is null when no reliable total exists; never read a count of 0 next to a non-empty results list as a total. Cars are de-duplicated by id and promo cards are removed.

- **Documentation:** [https://scrappa.co/docs/kavak-api/kavak_search](https://scrappa.co/docs/kavak-api/kavak_search)
- **API group:** Kavak API
- **Endpoint:** `GET https://scrappa.co/api/kavak/v1/search`

## 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 |
| --- | --- | --- | --- |
| `market` | string | Yes | Market code: mx (Mexico), br (Brazil), ar (Argentina), cl (Chile), ae (United Arab Emirates) or tr (Turkey). Any other code is rejected. |
| `make` | string | No | Make value from the taxonomy endpoint, for example nissan. |
| `model` | string | No | Model value from the taxonomy endpoint, for example sentra. Not available for Turkey. |
| `year` | integer | No | Exact model year. |
| `body_type` | string | No | Body type value from the taxonomy endpoint, for example suv. |
| `min_price` | integer | No | Minimum price in the local currency. |
| `max_price` | integer | No | Maximum price in the local currency. |
| `min_km` | integer | No | Minimum mileage in km. |
| `max_km` | integer | No | Maximum mileage in km. |
| `location` | string | No | Hub value from the taxonomy endpoint. Mexico, Brazil, Argentina and Chile only. |
| `region` | string | No | City value from the taxonomy endpoint. Mexico only. |
| `transmission` | string | No | Transmission value from the taxonomy endpoint. |
| `fuel_type` | string | No | Fuel type value from the taxonomy endpoint. |
| `color` | string | No | Colour value from the taxonomy endpoint. |
| `traction` | string | No | Drivetrain value from the taxonomy endpoint. |
| `passengers` | string | No | Seat count value from the taxonomy endpoint. |
| `status` | string | No | Availability value from the taxonomy endpoint. |
| `keyword` | string | No | Free text keyword. |
| `sort` | string | No | relevance, lower_price, higher_price, older, recent, lower_mileage or higher_mileage. |
| `page` | integer | No | Result page, starting at 1. Each page has up to 30 cars. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | A parameter is invalid, the market is not served, or a make, model or location value is unknown. This response is not billable. |  |
|  | The upstream answer changed shape or answered for another market and could not be used. 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)
