---
title: "Carsales API: Search | Perceptlayer"
description: "Search from Carsales as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/carsales/search
---

[APIs](https://perceptlayer.com/apis) / [Carsales](https://perceptlayer.com/apis/carsales) / Search

# Carsales: Search

Search from Carsales as JSON. 1 credit per successful call.

GET `/v1/carsales/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `condition` | string | Optional | used, new |
| `make` | string | Optional | Up to 64 characters |
| `model` | string | Optional | Up to 64 characters |
| `state` | string | Optional | Up to 40 characters |
| `body_style` | string | Optional | Up to 40 characters |
| `transmission` | string | Optional | Automatic, Manual |
| `keyword` | string | Optional | Up to 64 characters |
| `year_min` | integer | Optional | Any |
| `year_max` | integer | Optional | Any |
| `price_min` | integer | Optional | Any |
| `price_max` | integer | Optional | Any |
| `odometer_min` | integer | Optional | Any |
| `odometer_max` | integer | Optional | Any |
| `seller_type` | string | Optional | Dealer, Private |
| `sort` | string | Optional | price\_asc, price\_desc, year\_desc, odometer\_asc |
| `limit` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/carsales/search" \
  -H "X-API-Key: $API_KEY"
```

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