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

[APIs](https://perceptlayer.com/apis) / [VivaReal](https://perceptlayer.com/apis/vivareal) / Search

# VivaReal: Search

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

GET `/v1/vivareal/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `portal` | string | Optional | ZAP, VIVAREAL, zap, vivareal |
| `business` | string | Optional | RENTAL, SALE, rental, sale |
| `rows` | integer | Optional | Any |
| `page` | integer | Optional | Any |
| `location_id` | string | Optional | Up to 255 characters |
| `q` | string | Optional | Up to 255 characters |
| `advertiser_id` | string | Optional | Up to 64 characters |
| `price_min` | integer | Optional | Any |
| `price_max` | integer | Optional | Any |
| `bedrooms` | string | Optional | Any |
| `area_min` | integer | Optional | Any |
| `sort` | string | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/vivareal/search?portal=ZAP&business=RENTAL&rows=5&location_id=BR%3ESao+Paulo%3ENULL%3ESao+Paulo%3EZona+Oeste%3EPinheiros&bedrooms=2&sort=BIGGEST_PRICE" \
  -H "X-API-Key: $API_KEY"
```

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