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

[APIs](https://perceptlayer.com/apis) / [DBA](https://perceptlayer.com/apis/dba) / Search

# DBA: Search

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

GET `/v1/dba/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 200 characters |
| `category` | string | Optional | Any |
| `price_from` | integer | Optional | Any |
| `price_to` | integer | Optional | Any |
| `sort` | string | Optional | RELEVANCE, PUBLISHED\_DESC, PUBLISHED\_ASC, PRICE\_ASC, PRICE\_DESC |
| `page` | integer | Optional | Any |
| `location` | string | Optional | Any |
| `condition[]` | list of integer | Optional | Any |
| `dealer_segment` | string | Optional | 1, 3 |
| `trade_type` | string | Optional | 1, 2, 3 |
| `shipping_types` | string | Optional | 0, 1 |
| `published` | string | Optional | 1 |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/dba/search?query=cykel&sort=PUBLISHED_DESC" \
  -H "X-API-Key: $API_KEY"
```

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