---
title: "Yaencontre API: Autocomplete | Perceptlayer"
description: "Autocomplete from Yaencontre as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/yaencontre/autocomplete
---

[APIs](https://perceptlayer.com/apis) / [Yaencontre](https://perceptlayer.com/apis/yaencontre) / Autocomplete

# Yaencontre: Autocomplete

Autocomplete from Yaencontre as JSON. 1 credit per successful call.

GET `/v1/yaencontre/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `search_term` | string | Required | Up to 120 characters |
| `operation` | string | Required | BUY, RENT, TRANSFER |
| `family` | string | Required | FLAT, HOUSE, GARAGE, LAND, NEW\_CONSTRUCTION, OFFICE, HOME, BUILDING, BUSINESS |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/yaencontre/autocomplete?search_term=madrid&operation=BUY&family=FLAT" \
  -H "X-API-Key: $API_KEY"
```

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