Discover/idealista.com API
live

idealista.com APIidealista.com

Search sale and rental listings on Idealista, retrieve full property details, and pull average price-per-m² stats by location with 4 structured endpoints.

Endpoints
4
Updated
3mo ago
Try it
Page number
Max listings to return
Location slug (e.g. 'madrid-madrid')
Number of bedrooms (e.g. '1', '2', '3')
Maximum size in m2
Minimum size in m2
Maximum price in Euros
Minimum price in Euros
api.parse.bot/scraper/90cfec3d-abc0-45da-9a56-55bad74952eb/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/90cfec3d-abc0-45da-9a56-55bad74952eb/search_sale_listings' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for properties for sale. Accepts location slug and filters.

Input
ParamTypeDescription
pageintegerPage number
limitintegerMax listings to return
locationrequiredstringLocation slug (e.g. 'madrid-madrid')
filter_bedroomsstringNumber of bedrooms (e.g. '1', '2', '3')
filter_max_sizestringMaximum size in m2
filter_min_sizestringMinimum size in m2
filter_max_pricestringMaximum price in Euros
filter_min_pricestringMinimum price in Euros
Response
{
  "type": "object",
  "fields": {
    "page": "integer",
    "stats": "object",
    "listings": "array",
    "location": "string",
    "operation": "string",
    "total_text": "string"
  },
  "sample": {
    "page": 1,
    "stats": {
      "results_on_page": 20,
      "avg_price_per_m2_page": 3500
    },
    "listings": [
      {
        "id": "12345678",
        "url": "...",
        "price": "250.000€",
        "title": "Piso en venta..."
      }
    ],
    "location": "madrid-madrid",
    "operation": "venta-viviendas",
    "total_text": "1.234 casas y pisos..."
  }
}

About the idealista.com API

The Idealista API covers Spain's largest property portal through 4 endpoints: search sale listings, search rental listings, retrieve a single listing's full detail, and fetch average price-per-m² statistics for any location. The search_sale_listings endpoint accepts price, size, and bedroom filters and returns a listings array alongside aggregated stats, giving developers a direct path from location slug to structured property data.

Search and Filter Listings

Both search_sale_listings and search_rental_listings accept a required location slug (e.g. madrid-madrid, barcelona-barcelona) and optional filters for filter_bedrooms, filter_min_size/filter_max_size in m², and filter_min_price/filter_max_price in Euros. Results are paginated via the page and limit parameters. Each response includes a listings array and a stats object that summarises the matched set. The sale endpoint also returns total_text, operation, and the resolved location string so you can confirm what the query matched.

Listing Detail

Passing a listing_id to get_listing_detail returns the full record for a single property: id, url, price, title, a photos array, a features array covering attributes like floor area and room count, and a free-text description. Listing IDs appear in search results, so a typical workflow is to page through search_sale_listings and then call get_listing_detail for records that match your criteria.

Price Statistics

get_price_stats accepts a location slug and an optional operation string — either alquiler-viviendas (rentals) or venta-viviendas (sales) — and returns avg_price_per_m2, sample_size, location, and operation. This endpoint is useful for market benchmarking, automated valuation models, or tracking neighbourhood price trends over time without having to aggregate individual listings yourself.

Coverage and Limitations

All location inputs use Idealista's own slug format. If you supply an unrecognised slug, results will be empty rather than an error, so validate slugs against known geography before building automated pipelines. Filtering is limited to the parameters listed above; sorting order, property type (house vs. apartment), and new-build flags are not exposed as inputs in the current endpoint set.

Common use cases
  • Track average price-per-m² trends across Madrid neighbourhoods using get_price_stats with venta-viviendas
  • Build a rental affordability dashboard by combining search_rental_listings price filters with stats output
  • Aggregate full listing details — photos, features, description — for a property comparison tool via get_listing_detail
  • Alert users when new sale listings match their bedroom count and size range using paginated search_sale_listings
  • Feed a CRM with structured property data by looping through listings arrays and enriching records with detail calls
  • Benchmark asking prices against market averages by pairing individual listing prices with avg_price_per_m2 from the same location
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Idealista offer an official developer API?+
Yes. Idealista provides an official API for qualified partners at api.idealista.com. Access requires approval and is typically restricted to real estate professionals and enterprise clients. The Parse API covers the same data without needing partner approval or a separate application process.
What does the `stats` object in search results contain?+
The stats object is returned alongside the listings array in both search_sale_listings and search_rental_listings. It provides aggregated summary figures for the matched result set. For precise per-location market averages broken out by operation type, use get_price_stats instead, which returns avg_price_per_m2 and sample_size as explicit fields.
Can I filter by property type — for example, only apartments or only houses?+
Not currently. The search endpoints filter on price, size, and bedroom count. Property-type filtering is not an exposed parameter. You can fork this API on Parse and revise it to add a property-type filter endpoint if your use case requires it.
Does the API cover Idealista listings outside Spain, such as Italy or Portugal?+
The current endpoints are scoped to Spanish location slugs. Idealista also operates in Italy and Portugal, but those markets are not covered. You can fork this API on Parse and revise it to target Italian or Portuguese location slugs if you need cross-market data.
How should I handle pagination when scraping large result sets?+
Both search endpoints accept a page integer and a limit parameter. Increment page on successive calls and stop when the returned listings array is shorter than limit or empty. The total_text field on search_sale_listings gives a human-readable count of total results, which you can use to estimate the number of pages before starting.
Page content last updated . Spec covers 4 endpoints from idealista.com.
Related APIs in Real EstateSee all →
padmapper.com API
Search and browse rental listings across cities with detailed property information including prices, contact details, and market trends. Discover apartments and homes through city-wide searches or map-based exploration, and access comprehensive listing details to help you find your next rental.
casa.it API
Search and browse property listings from Casa.it, Italy's real estate marketplace. Retrieve listings by location, price, size, property type, and transaction type (sale or rent), and fetch full details for individual properties including descriptions, photos, features, and publisher information.
catastro.minhap.es API
Search Spanish property records by address, coordinates, or cadastral reference to find detailed land parcel information, ownership details, and location data across all Spanish provinces and municipalities. Browse the complete hierarchy of Spanish geographic and administrative divisions including provinces, municipalities, and streets to pinpoint exact property locations.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
amberstudent.com API
Search student accommodation listings across popular cities and access comprehensive property information including room types, pricing trends, and tenant reviews. Get detailed insights into student housing options to compare amenities, prices, and community feedback all in one place.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
homes.com API
Search for real estate agents and properties available for sale or rent, while accessing detailed agent profiles with their 1-year transaction history, active listings, and performance statistics. Get comprehensive property details and agent information all in one place to help you find the right agent or property that matches your needs.
idealista.pt API
Search and filter property listings across Portugal by location, price, and size, then access detailed information about each property including its characteristics and pricing history. Monitor how property prices change over time to help you make informed decisions about buying or selling real estate.