APIs / Real estate / Yaencontre

1 credit per call5 endpoints23 datapointsChecked working 6 Dec 2026

Yaencontre API

Yaencontre API for property listings to buy or rent, listing details, related listings and location lookup as JSON. 5 endpoints, 1 credit per successful call.

Yaencontre
GET/v1/yaencontre/search?operation=BUY&family=FLAT&location=madrid&page_size=2
{
  "success": true,
  "data": {
    "total_items": 19053,
    "num_pages": 9527,
    "current_page": 1,
    "title": "19.053 Pisos y viviendas en venta en Madrid",
    "location": "Madrid",
    "items": [
      {
        "reference": "45435-113060398",
        "title": "Piso en venta, Almendrales en Usera en Madrid",
        "price": 299000,
        "square_meter_price": 5155.17,
        "area": 58,
        "rooms": 2,
        "bathrooms": 1,
        "family": "FLAT",
        "operation": "BUY",
        "status": "ACTIVE",
        "available": true,
        "is_new_construction": false,
        "url": "/venta/piso/inmueble-45435-113060398",
        "address": {
          "qualifiedName": "Almendrales, Usera, Madrid",
          "geoLocation": {
            "lat": 40.382932,
            "lon": -3.7051473
          },
          "addressVisibility": "APPROXIMATE"
        },
        "mortgage": {
          "label": "calcula tu hipoteca",
          "mortgageLinks": [
            "…",
            "…",
            "…"
          ]
        },
        "description": "VOhome propiedades ofrece en exclusiva, piso en segunda planta con ascensor en Usera, con plaza de garaje y trastero incluido en el precio.\n\nEl inmueble se distribuye en: 2 habitaciones, salón-comedor, cocina con acceso a tendedero y baño. …",
        "agency": {
          "id": "jht::real-estate-agency::45435",
          "commercial_id": "45435",
          "name": "VOhome propiedades carabanchel",
          "address": {
            "qualifiedName": "De la oca 53, Madrid",
            "geoLocation": "…",
            "addressVisibility": "SPECIFIC"
          },
          "logo": "logos/45435.gif",
          "source": "IDEALISTA"
        },
        "advertiser_type": "agency",
        "images": [
          {
            "slug": "45435/45435-57875448-1533151397.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/45435/45435-57875448-1533151397.webp",
              "https://media.yaencontre.com/img/photo/630/45435/45435-57875448-1533151397.webp",
              "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151397.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151397.jpg"
          },
          {
            "slug": "45435/45435-57875448-1533151398.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/45435/45435-57875448-1533151398.webp",
              "https://media.yaencontre.com/img/photo/630/45435/45435-57875448-1533151398.webp",
              "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151398.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151398.jpg"
          },
          {
            "slug": "45435/45435-57875448-1533151399.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/45435/45435-57875448-1533151399.webp",
              "https://media.yaencontre.com/img/photo/630/45435/45435-57875448-1533151399.webp",
              "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151399.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151399.jpg"
          }
        ],
        "floorplans": [
          {
            "slug": "45435/45435-57875448-1533151419.jpg",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/45435/45435-57875448-1533151419.webp",
              "https://media.yaencontre.com/img/photo/630/45435/45435-57875448-1533151419.webp",
              "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151419.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/45435/45435-57875448-1533151419.jpg"
          }
        ],
        "videos": [
          {
            "sd": "https://st3v.idealista.com/6c/4c/0f/1491579995.mp4",
            "hd": "https://st3v.idealista.com/6c/4c/0f/hd_1491579995.mp4",
            "thumbnail": "https://st3v.idealista.com/6c/4c/0f/d_0_1491579995.jpg"
          }
        ],
        "tour_360": [
          {
            "url": "https://floorfy.com/tour/2758724"
          }
        ],
        "updated_at": 1794491691000
      },
      {
        "reference": "66504-113058093",
        "title": "Piso en venta, Palos de Moguer en Arganzuela en Madrid",
        "price": 615000,
        "square_meter_price": 6275.51,
        "area": 98,
        "rooms": 3,
        "bathrooms": 2,
        "family": "FLAT",
        "operation": "BUY",
        "status": "ACTIVE",
        "available": true,
        "is_new_construction": false,
        "url": "/venta/piso/inmueble-66504-113058093",
        "address": {
          "qualifiedName": "Palos de Moguer, Arganzuela, Madrid",
          "geoLocation": {
            "lat": 40.4073507,
            "lon": -3.6935283
          },
          "addressVisibility": "APPROXIMATE"
        },
        "mortgage": {
          "label": "calcula tu hipoteca",
          "mortgageLinks": [
            "…",
            "…",
            "…"
          ]
        },
        "description": "ESPECTACULAR PISO EN LA RONDA DE ATOCHA: ALTURA, TERRAZA EN UNA FINCA RESIDENCIAL A TAN SOLO 5 MINUTOS DE LA ESTACIÓN DE ATOCHA Y AMPLIAS POSIBILIDADES PARA CREAR TU NUEVO HOGAR CON PLAZA DE GARAJE ADICIONAL.\n\nVIVEI REAL ESTATE presenta est…",
        "agency": {
          "id": "jht::real-estate-agency::66504",
          "commercial_id": "66504",
          "name": "VIVEI Real Estate | Embajadores-Acacias",
          "address": {
            "qualifiedName": "Embajadores 88, Madrid",
            "geoLocation": "…",
            "addressVisibility": "SPECIFIC"
          },
          "logo": "logos/66504.gif",
          "source": "IDEALISTA"
        },
        "advertiser_type": "agency",
        "images": [
          {
            "slug": "66504/66504-57874589-1533124350.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/66504/66504-57874589-1533124350.webp",
              "https://media.yaencontre.com/img/photo/630/66504/66504-57874589-1533124350.webp",
              "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124350.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124350.jpg"
          },
          {
            "slug": "66504/66504-57874589-1533124351.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/66504/66504-57874589-1533124351.webp",
              "https://media.yaencontre.com/img/photo/630/66504/66504-57874589-1533124351.webp",
              "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124351.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124351.jpg"
          },
          {
            "slug": "66504/66504-57874589-1533124352.jpg",
            "caption": "Salón",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/66504/66504-57874589-1533124352.webp",
              "https://media.yaencontre.com/img/photo/630/66504/66504-57874589-1533124352.webp",
              "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124352.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124352.jpg"
          }
        ],
        "floorplans": [
          {
            "slug": "66504/66504-57874589-1533124406.jpg",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/66504/66504-57874589-1533124406.webp",
              "https://media.yaencontre.com/img/photo/630/66504/66504-57874589-1533124406.webp",
              "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124406.webp"
            ],
            "fallback_url": "https://media.yaencontre.com/img/photo/1024/66504/66504-57874589-1533124406.jpg"
          }
        ],
        "videos": [
          {
            "sd": "https://st3v.idealista.com/9a/46/08/1491505663.mp4",
            "hd": "https://st3v.idealista.com/9a/46/08/hd_1491505663.mp4",
            "thumbnail": "https://st3v.idealista.com/9a/46/08/d_0_1491505663.jpg"
          }
        ],
        "tour_3d": [
          {
            "url": "https://my.matterport.com/show/?m=EZtbxAdfPHd"
          }
        ],
        "updated_at": 1794488899000
      }
    ]
  },
  "meta": {
    "duration_ms": 950,
    "upstream_family": "search",
    "attempts": 1,
    "pagination": {
      "page": 1,
      "page_size": 2,
      "received": 2,
      "total": 19053,
      "total_pages": 9527,
      "has_more": true,
      "exhausted": false
    }
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 2 items.

#referencestringtitlestringpriceintegersquare_meter_pricenumberareaintegerroomsintegerbathroomsintegerfamilystringoperationstringstatusstringavailablebooleanis_new_constructionbooleanurlstringaddressobjectmortgageobjectdescriptionstringagencyobjectadvertiser_typestringimagesobject[]floorplansobject[]videosobject[]tour_360object[]updated_atinteger
145435-113060398Piso en venta, Almendrales en Usera en Madrid2990005155.175821FLATBUYACTIVEtruefalse/venta/piso/inmueble-45435-113060398{3 fields}{2 fields}VOhome propiedades ofrece en exclusiva, piso en segunda planta con ascensor en Usera, con plaza de garaje y trastero incluido en el precio. El inmueble se distribuye en: 2 habitaciones, salón-comedor, cocina con acceso a tendedero y baño. …{6 fields}agency[3 items][1 item][1 item][1 item]1794491691000
266504-113058093Piso en venta, Palos de Moguer en Arganzuela en Madrid6150006275.519832FLATBUYACTIVEtruefalse/venta/piso/inmueble-66504-113058093{3 fields}{2 fields}ESPECTACULAR PISO EN LA RONDA DE ATOCHA: ALTURA, TERRAZA EN UNA FINCA RESIDENCIAL A TAN SOLO 5 MINUTOS DE LA ESTACIÓN DE ATOCHA Y AMPLIAS POSIBILIDADES PARA CREAR TU NUEVO HOGAR CON PLAZA DE GARAJE ADICIONAL. VIVEI REAL ESTATE presenta est…{6 fields}agency[3 items][1 item][1 item]—1794488899000

Recorded 12 Nov 2026 · 2 items shown · 23 datapoints per itemGET /v1/yaencontre/search?operation=BUY&family=FLAT&location=madrid&page_size=2

23 datapoints

Identity

  • titlestring
  • statusstring
  • advertiser_typestring

Contact

  • urlstring

Location

  • areainteger
  • addressobject

Reputation

  • imagesobject[]

Price

  • priceinteger
  • square_meter_pricenumber

Other

  • referencestring
  • roomsinteger
  • bathroomsinteger
  • familystring
  • operationstring
  • availableboolean
  • is_new_constructionboolean
  • mortgageobject
  • descriptionstring
  • agencyobject
  • floorplansobject[]
  • videosobject[]
  • tour_360object[]
  • updated_atinteger

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/yaencontre/search?operation=BUY&family=FLAT&location=madrid&page_size=2" \
  -H "X-API-Key: $API_KEY"

Yaencontre · 5 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/yaencontre/autocomplete
search_termoperationfamily
namequeryurl
1 credit
GET/v1/yaencontre/filters
operationfamilylocation
options
1 credit
GET/v1/yaencontre/listing
reference
listing
1 credit
GET/v1/yaencontre/listing-related
referencepage_numberpage_size
num_pagescurrent_pageitems
1 credit
GET/v1/yaencontre/search
operationfamilypage_numberpage_size+12 optional
num_pagescurrent_pagetitlelocationitems
1 credit

Overview

About the Yaencontre API

What you can get

The Yaencontre API returns Yaencontre property data as JSON through 5 endpoints. Search endpoints take an operation (BUY, RENT or TRANSFER) and a family (FLAT, HOUSE, GARAGE, LAND, NEW_CONSTRUCTION, OFFICE, HOME, BUILDING or BUSINESS).

  • Search: search takes operation, family, page_number and page_size, with location, real_estate_agency_id, min_price, max_price, rooms, bathrooms, rental_type (LONG_TERM_RENT or SEASONAL_RENT), size and a bounding box in lat_min, lat_max, lon_min and lon_max.
  • Listings: listing takes a reference; listing-related takes a reference, page_number (1) and page_size.
  • Locations and filters: autocomplete takes a search_term, operation and family; filters takes an operation, family and location.

How a call works

Search flats for sale in a city: GET /v1/yaencontre/search?operation=BUY&family=FLAT&location=madrid&page_size=2 with your key in the X-API-Key header. Page with page_number and page_size. Open one listing with GET /v1/yaencontre/listing?reference=66504-112724772; listing-related takes the same reference parameter. Every successful call costs 1 credit; failed calls cost nothing.

Real estateJSONRESTMCP

More real estate APIs

Use cases

Track asking prices for flats or houses in a city

Use the Yaencontre API to track asking prices for flats or houses in a city

Compare long-term and seasonal rentals with `rental_type`

Use the Yaencontre API to compare long-term and seasonal rentals with `rental_type`

Search a map area with the `lat_min`, `lat_max`, `lon_min` and `lon_max` box

Use the Yaencontre API to search a map area with the `lat_min`, `lat_max`, `lon_min` and `lon_max` box

Pull comparables for a property from `listing-related`

Use the Yaencontre API to pull comparables for a property from `listing-related`

FAQ

Questions

Do I need a Yaencontre API key?

No. You call this Yaencontre API with your Perceptlayer key in the `X-API-Key` header, with no Yaencontre account.

How much does the Yaencontre API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Which property types can I search?

`family` takes FLAT, HOUSE, GARAGE, LAND, NEW_CONSTRUCTION, OFFICE, HOME, BUILDING or BUSINESS, and `operation` takes BUY, RENT or TRANSFER.

Is this the official Yaencontre API?

No. Perceptlayer is an independent service and is not affiliated with Yaencontre. It returns Yaencontre data as JSON with a Perceptlayer key, so there is no Yaencontre developer account, app review or partner approval to get first. It only reads data: if Yaencontre has an official API and you need to act on your own Yaencontre account, such as posting, managing orders or reading private data, use that one.

Should I build a Yaencontre scraper instead?

You can, but a Yaencontre scraper is code you maintain: page changes break it, requests get blocked, and Yaencontre's terms govern how you collect data. The Yaencontre API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Yaencontre API with 100 free credits

No credit card. Failed calls are never billed.