Yaencontre API

Spanish Property Search, Listings, and Agency Data as JSON

Scrappa is an independent Yaencontre API for Spanish property data: search sale, rental, vacation rental, new construction and transfer listings, fetch full listing detail with photos, videos and tours, scope by agency, and autocomplete locations and agencies. Get structured JSON for Spain without maintaining your own Yaencontre scraper. Scrappa is not affiliated with or endorsed by Yaencontre.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
5
Endpoints
30
Listing fields
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/yaencontre/search?operation=BUY&family=FLAT&location=madrid&page_size=2" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "total_items": 17912,
    "num_pages": 896,
    "current_page": 1,
    "title": "17.912 Pisos y viviendas en venta en Madrid",
    "items": [
      {
        "reference": "66504-112724772",
        "title": "Piso en venta en Arganzuela en Madrid",
        "price": 549000,
        "square_meter_price": 5228.57,
        "area": 105,
        "rooms": 2,
        "bathrooms": 2,
        "family": "FLAT",
        "operation": "BUY",
        "available": true,
        "advertiser_type": "agency",
        "energy_certificate_rating": "D",
        "address": {
          "qualifiedName": "Palos de Moguer, Arganzuela, Madrid",
          "geoLocation": { "lat": 40.4083461, "lon": -3.6947271 }
        },
        "images": [
          {
            "slug": "66504/66504-57645603.jpg",
            "widths": [
              "https://media.yaencontre.com/img/photo/380/66504/66504-57645603.webp",
              "https://media.yaencontre.com/img/photo/630/66504/66504-57645603.webp",
              "https://media.yaencontre.com/img/photo/1024/66504/66504-57645603.webp"
            ]
          }
        ]
      }
    ]
  },
  "meta": {
    "duration_ms": 612,
    "upstream_family": "search",
    "pagination": {
      "page": 1,
      "page_size": 50,
      "total": 17912,
      "total_pages": 359,
      "has_more": true
    }
  }
}

What you can build

Structured data for real applications. Here are some ideas.

Supply and Demand Monitoring

Track asking prices, new supply and days on market for a city, district or drawn map area using the same search call that powers your own portal.

Agency Stock Tracking

Resolve an agency by name with autocomplete, then read its active stock and profile from one search call without scraping the agency website.

Listing Media for Portals and CRMs

Feed listing photos at three widths, videos, 360 tours and 3D tours into a property portal or CRM without downloading the image files yourself.

New Construction Pipeline

Follow new construction and transfer listings with the dedicated property types and read transfer price, yield and contract termination terms that a plain price read would miss.

Comparable Sets and Valuation

Build comparables from size, rooms, bathrooms, energy certificate, square meter price and coordinates on every returned card.

Location Pickers and Maps

Autocomplete municipalities, neighbourhoods, agencies, points of interest and public transport, then scope a search with a lat_min/lat_max/lon_min/lon_max box.

Yaencontre scraper API

Yaencontre API for property search, listing detail, agency stock, and autocomplete

The Yaencontre API is built for proptech teams, investors, analysts, and agencies that need Spanish property data in their own tools. Search sale, rental, new construction and transfer stock by location, agency, rooms, rental type, or a map box, then pull the full listing with price, size, energy certificate, features, coordinates, agency profile, photos, videos and tours. One search call scoped to an agency returns that agency stock and its profile together, so an agency page costs a single request.

Query nine property types across three operations: sale, rental, and transfer.

Filter by price on a purchase, by rooms and bathrooms, by rental type on a rental, and by map bounds that provably narrow the result set.

Get listing detail with energy certificate, features, floorplans, photos at three widths, videos, 360 and 3D tours.

Separate agency and private sellers from the card payload without a second request.

Read transfer price, yield, and contract termination terms for business transfers.

Autocomplete municipalities, neighbourhoods, agencies, points of interest, and public transport in one call.

Test the Yaencontre API with 500 free monthly Scrappa credits before scaling production traffic.

Choose the right Yaencontre API endpoint

Discover listings with the Yaencontre Search API

Search by operation and property type, then scope geography with a location token from autocomplete or with a lat_min/lat_max/lon_min/lon_max box. Each card carries price, square meter price, size, rooms, bathrooms, energy certificate, coordinates, advertiser type, agency profile, and photo URLs at three widths.

Open Yaencontre Search API docs

Build agency pages from one search call

Look up an agency by name with autocomplete to get its agency id, then pass real_estate_agency_id to search. The response returns the agency active stock and the agency profile — name, business address, logo slug, and commercial id — in a single request.

Open Yaencontre Autocomplete API docs

Fetch full listing records with the Yaencontre Listing API

Pass a reference to get all thirty listing fields including the description, energy certificate, features, locations, mortgage estimate, photos, floorplans, videos, and 360 and 3D tours, plus a comparable set from the related listings endpoint.

Open Yaencontre Listing API docs

Available endpoints

Everything you need in one API.

GET

Property Search

/api/yaencontre/search

Search sale, rental, new construction and transfer listings by location, agency, price, rooms, or map bounds

GET

Listing Details

/api/yaencontre/listing

Get the full listing record with photos, videos, tours, energy certificate, and agency profile

GET

Location Autocomplete

/api/yaencontre/autocomplete

Look up municipalities, neighbourhoods, agencies, points of interest, and public transport

Scrappa vs Manual Yaencontre scraping

See how Scrappa compares to the official API.

Search coverage
Scrappa: Sale, rent, new construction, transfers
Manual Yaencontre scraping: One endpoint at a time
Agency pages
Scrappa: Stock and profile in one call
Manual Yaencontre scraping: Separate scraper per agency
Listing fields
Scrappa: 30 typed fields
Manual Yaencontre scraping: HTML parsing
Photos and tours
Scrappa: Three widths plus videos and tours
Manual Yaencontre scraping: Manual download
Authentication
Scrappa: API key only
Manual Yaencontre scraping: Account and cookies
Price per 1k requests
Scrappa: $0.20
Manual Yaencontre scraping: Engineering time
Free tier
Scrappa: 500 credits/month
Manual Yaencontre scraping: None
Setup time
Scrappa: Minutes
Manual Yaencontre scraping: Weeks

Key features

Five read-only endpoints covering search, listing detail, related listings, autocomplete, and live facets
Sale, rental, vacation rental, new construction, and transfer stock in one search kernel
Agency pages without an agency endpoint: scope search by agency and get the agency profile in the same response
Thirty typed listing fields including energy certificate, features, floorplans, 360 and 3D tours
Photo URLs at three widths derived from the response, with no media download required
Map box search that provably filters, returning only listings inside the requested bounds
Location and agency autocomplete across five result buckets

Frequently asked questions

Nine property types (FLAT, HOUSE, GARAGE, LAND, NEW_CONSTRUCTION, OFFICE, HOME, BUILDING, BUSINESS) across three operations (BUY, RENT, TRANSFER). NEW_CONSTRUCTION covers obra nueva and HOME covers vacation rentals: a HOME rental returns both long-term and seasonal stock unless rental_type narrows it to one. BUSINESS is a transfer-only typology and is rejected client-side when paired with a non-transfer operation. Price bounds apply to operation=BUY only.

No. Pass real_estate_agency_id to the search endpoint and the response contains that agency stock plus the agency profile — name, business address, logo, and commercial id — in one request. Agency ids come from the autocomplete agencies bucket.

Each image comes back as a slug plus three ready-to-use URLs at 380, 630, and 1024 pixel widths in WebP, with a fallback URL to the original slug. Nothing is downloaded for you, so one API call covers the listing and its media.

Yes. Send lat_min, lat_max, lon_min, and lon_max together and the search returns only listings inside that box. It is a real filter: a wide Madrid box returns tens of thousands of listings while a small box returns dozens. Page size is capped at 50 and page numbers are 1-based.

Just a Scrappa API key passed as an X-API-KEY header. No Yaencontre account, no partner agreement, no session handling.

Yes. Every Scrappa account includes 500 free credits per month with no credit card required, so you can test all five Yaencontre endpoints before committing to paid usage.

Start using the Yaencontre API

Sign up and get 500 free credits. No credit card required.