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

[APIs](https://perceptlayer.com/apis) / [Spotahome](https://perceptlayer.com/apis/spotahome) / Search

# Spotahome: Search

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

GET `/v1/spotahome/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `city` | string | Required | Any |
| `country` | string | Required | Any |
| `page` | integer | Optional | Any |
| `min_price` | integer | Optional | Any |
| `max_price` | integer | Optional | Any |
| `type` | string | Optional | rooms, apartments, studios, residences |
| `move_in` | string | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/spotahome/search?city=madrid&country=spain" \
  -H "X-API-Key: $API_KEY"
```

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