{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"c9784458-bdff-41c6-b450-c93b40bb8f30","name":"Idealista API","description":"The Idealista API returns property data from Idealista in Spain, Italy and Portugal as JSON: homes, garages, land, offices, commercial premises, new developments and rooms for sale and for rent, with prices, sizes, photos, features, energy certificates, listing engagement and agency profiles. Idealista's own API is limited to approved partners. This collection holds every endpoint of the Idealista API on RapidAPI, ready to send from Postman.\n\nBuilt and maintained by [Happy Endpoint](https://happyendpoint.com/library/idealista-api?utm_source=postman&utm_medium=collection&utm_campaign=idealista-api).\n\n## Get started\n\n1. Subscribe to the [Idealista API on RapidAPI](https://rapidapi.com/happyendpoint/api/idealista17) and copy your key. Current plans are listed there.\n2. Fork this collection into your own workspace. Open the collection's **Variables** tab and paste your key into the **Current value** of `rapidapi_key`. Leave the Initial value empty: current values stay on your machine and are never shared.\n3. Send **Locations > Location lookup (location id)** with `country=es` and a place such as `madrid`. Searches take the hyphenated `locationId` it returns (Madrid city is `0-EU-ES-28-07-001-079`), not a place name.\n4. Send **Search > Search by location id** with that id, `search_type=for_rent` or `for_sale`, and filters such as price, size and rooms.\n\nAlready have a search open on idealista.com? Paste its URL into **Search > Search by Idealista search URL** instead.\n\n## What you can do\n\n- **Search listings** in Spain (`es`), Italy (`it`) and Portugal (`pt`) by location id, postal code, coordinates and radius, or an Idealista search URL, with filters for price, size, rooms, bathrooms, parking, lift, pool, terrace, garden, air conditioning and pets, in seven sort orders.\n- **Search in plain language** with smart search, and drill from a city to its districts and neighbourhoods with sublocations.\n- **Get a full property record** by id or by its Idealista URL: description, photos, price, size, features, energy certificate and location.\n- **Read listing engagement:** views, favourites and contacts for an ad, and its description translated into the language you ask for.\n- **Look up agencies:** profile, licence code, active listings, and every listing an agency has published.\n\nAll 15 requests are `GET`. Every response is wrapped in `{\"success\": true, \"data\": {...}}`.\n\n## Things to know about the data\n\n- **Search by location id, not by name.** Get it from **Location lookup** or **Sublocations**. `/sublocations` on Madrid city returns its 21 districts, each with its own id.\n- **Rent or sale is `search_type`.** `for_sale`, `for_rent`, or `transfer` for business premises. For rentals, `min_price` and `max_price` are the monthly rent.\n- **Paging:** `result_count` is 1 to 50 (default 30), and `page` starts at 1. Ads come back under `data.listings`.\n- **Short-term lets are a label, not a field.** They carry `{\"name\": \"seasonalRental\"}` in each ad's `labels` list. In one Madrid pull of rental flats, 23% were short-term, and 44% in Centro. Filter them out before comparing long-term rents.\n- **The same flat can appear more than once.** In Spain a seller often lists with several agencies. Remove ads with the same district, rooms, size and price before taking a median.\n- **`priceByArea` is rounded on rentals.** It is a whole number of euros, up to 4.7% off. Compute `price / size` yourself.\n- **Some sale ads are not vacant flats.** Occupied, bare-ownership and auction sales sit below the district median. Ask with `language=en` to get translated descriptions you can search for them.\n\n## Worked example\n\n[I Used the Idealista API in Python to Rank Madrid Districts by Rental Yield](https://medium.com/@happyendpointhq/i-used-the-idealista-api-in-python-to-rank-madrid-districts-by-rental-yield-d68f970cb204): 2,280 listings across all 21 Madrid districts from 50 calls to **Sublocations** and **Search by location id**, with the full script and the data cleaning above.\n\n## Use it from Claude, Cursor or any MCP client\n\nRapidAPI exposes every endpoint of this API as an MCP tool. Point your MCP client at `https://mcp.rapidapi.com` with the headers `x-api-host: idealista17.p.rapidapi.com` and `x-api-key: <your RapidAPI key>`.\n\n## Links\n\n- Product page and FAQ: [happyendpoint.com/library/idealista-api](https://happyendpoint.com/library/idealista-api?utm_source=postman&utm_medium=collection&utm_campaign=idealista-api)\n- Subscribe and plans: [rapidapi.com/happyendpoint/api/idealista17](https://rapidapi.com/happyendpoint/api/idealista17)\n- More property data by country, including the UK, France and Turkey: [happyendpoint.com/real-estate-data](https://happyendpoint.com/real-estate-data?utm_source=postman&utm_medium=collection&utm_campaign=idealista-api)\n\n## More from Happy Endpoint on Postman\n\nEvery public Happy Endpoint collection, for real estate, ecommerce and other platforms: [postman.com/happyendpoints-team](https://www.postman.com/happyendpoints-team).\n\n## Contact\n\nQuestions about the API, custom data or bulk datasets: email [hello@happyendpoint.com](mailto:hello@happyendpoint.com).\n\n## Disclaimer\n\nHappy Endpoint is an independent provider. This collection is not affiliated with, endorsed by, sponsored by or connected to Idealista. Idealista is a trademark of its owner, referenced only to describe the data.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"56555678","team":43080622,"collectionId":"c9784458-bdff-41c6-b450-c93b40bb8f30","publishedId":"2sBYHXPdJw","public":true,"publicUrl":"https://documenter-api.postman.tech/view/56555678/2sBYHXPdJw","privateUrl":"https://go.postman.co/documentation/56555678-c9784458-bdff-41c6-b450-c93b40bb8f30","customColor":{"highlight":"1D4ED8","right-sidebar":"303030","top-bar":"FFFFFF"},"documentationLayout":"classic-double-column","customisation":{"appearance":{"default":"light","themes":[{"name":"light","logo":null,"colors":{"highlight":"1D4ED8","right-sidebar":"303030","top-bar":"FFFFFF"}},{"name":"dark","logo":null,"colors":{"highlight":"60A5FA","right-sidebar":"303030","top-bar":"212121"}}]},"metaTags":[{"name":"title","value":"Idealista API: Spain, Italy and Portugal Property Data"},{"name":"description","value":"Idealista API Postman collection: properties for sale and rent in Spain, Italy and Portugal, listing stats, agencies and search by URL, as JSON."}]},"version":"8.12.12","publishDate":"2026-10-31T11:31:52.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Idealista API: Spain, Italy and Portugal Property Data","description":"Idealista API Postman collection: properties for sale and rent in Spain, Italy and Portugal, listing stats, agencies and search by URL, as JSON."},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/0d967c87095e757db82929b270ca9e6f39361a13321214cb4c21a32a767ccc2e","favicon":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/v1793253795/team/fea4634cfb38c1c4b615f71bbf3e1a80"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBYHXPdJw"}