Idealista API endpoints

Explore 11 endpoints for accessing Idealista real estate data. Each endpoint is designed for a specific use case and returns structured JSON.
/details/byidGet **full Idealista property details** by `propertyCode` — the digit-only id you find on every listing URL (`idealista.com/inmueble/<propertyCode>/`). Returns price, currency, address (when shown), photos, agent / agency contact, energy certification, more-characteristics block, year of construction, community costs, lift, neighborhood, latitude/longitude, raw description in the original language plus translated copies, deeplink and share URLs. If you only have a listing URL, use [/details/byurl](https://realtyapi.io/dashboard?tab=playground&api=idealista&endpoint=detailsbyurl) instead.
/details/byurlGet full property details from any Idealista listing URL — Spain `/inmueble/<id>/`, Italy `/immobile/<id>/`, Portugal `/imovel/<id>/`, plus new-development URLs `/obra-nueva/<id>/`. The country is auto-detected from the host (`idealista.com`/`.es` → Spain, `.it` → Italy, `.pt` → Portugal); the same fields are returned as [/details/byid](https://realtyapi.io/dashboard?tab=playground&api=idealista&endpoint=detailsbyid).
/autocompleteIdealista **location typeahead**. Returns matching cities, provinces, districts, neighborhoods, metro stops and addresses with their `locationId` (e.g. `0-EU-ES-28-07-001-079` = Madrid municipality), parent breadcrumbs and result-count hints. Use the returned `locationId` as input to [/search/bylocation](https://realtyapi.io/dashboard?tab=playground&api=idealista&endpoint=searchbylocation) for an exact-area search.
/search/bylocationSearch Idealista listings by **free-text city / neighborhood / district name**. The query is resolved through [/autocomplete](https://realtyapi.io/dashboard?tab=playground&api=idealista&endpoint=autocomplete) to a `locationId` and the search runs against that. If you already have a `locationId` from a prior `/autocomplete` call, pass it directly via the `locationId` parameter to skip the resolution step. Supports the **full Idealista filter vocabulary** below (price/size ranges, bedrooms, owner type, amenity booleans, short-term-rental dates, condition, floor, sort, pagination).
/search/byzipSearch Idealista listings by **postal code** (Spain / Italy / Portugal). The ZIP is resolved through `/autocomplete` to find the matching district `locationId`, then the same search pipeline as [/search/bylocation](https://realtyapi.io/dashboard?tab=playground&api=idealista&endpoint=searchbylocation) is executed.
/search/bycoordinatesSearch Idealista listings inside a **circular area** defined by lat / lon + radius (km). The circle is converted to a bounding-box GeoJSON polygon and passed to Idealista's `shape` filter.
/search/bypolygonSearch Idealista listings inside an **arbitrary polygon** — useful for hand-drawn map searches. Accepts either a `'lon lat,lon lat,...'` string OR a JSON list of `[lon, lat]` pairs OR a complete GeoJSON `{"type":"Polygon","coordinates":[...]}`. Coordinates are GeoJSON-style `[longitude, latitude]`.
/search/byurlRun the search that an **Idealista search URL** represents — paste any browser URL like `https://www.idealista.com/en/venta-viviendas/madrid-madrid/` and the same listings come back. The URL is parsed via Idealista's `shorturis/by-locations` endpoint to extract the `locationId` + filters; country and operation (`venta`/`vendita`/`comprar` = sale, `alquiler`/`affitto`/`arrendar` = rent) are auto-detected from the URL.
/locations/sublocationsDrill down from a parent `locationId` to its **direct child zones** (province → comarcas → municipalities → districts → neighborhoods). Useful for building a location-picker UI without hitting the typeahead. **Example**: `locationId=0-EU-ES-28` (Madrid province) returns the comarcas inside it; pass any of those back to drill another level.
/agent/detailsGet a **real-estate agency's full microsite profile** by `micrositeShortName` — commercial name, contact info (phone, email, address, logo), website URL, default operation/typology, supported languages, total active listings, year active since. Find the `micrositeShortName` on any listing's `contact.micrositeShortName` field.
/agent/locationsGet the **geographies (provinces, municipalities, districts) where an agency has active listings**, with per-location listing counts. Each result has `name`, `locationId`, `level` (`province` / `municipality` / `district` / `neighborhood`), and `total`.
We built RealtyAPI so developers can focus on their products, not on data collection infrastructure.
Get the most current Idealista data without dealing with rate limits, IP blocks, or anti-bot protections. Our infrastructure handles the heavy lifting.
Clear documentation and a straightforward REST API make it easy to start pulling Idealista data into your application within minutes.
Our infrastructure is built for uptime and performance. Rely on consistent, uninterrupted access to Idealista data for your production applications.
Access a wide range of Idealista data points through carefully designed endpoints that cover properties, listings, agents, and market metrics.
Optimized data pipelines deliver Idealista results in milliseconds. Low latency means a better experience for your end users.
Every Idealista endpoint returns clean, well-structured JSON that is ready to parse and use directly in your application logic.
From property valuation to market analysis, the Idealista powers a wide range of real estate applications.
Analyze Idealista property data to determine accurate market values, estimate appreciation, and identify undervalued investment opportunities.
Track Idealista listing trends, pricing shifts, and inventory changes to make informed, data-driven investment and development decisions.
Monitor your real estate portfolio with live Idealista data. Track current values, rental comps, and market conditions in one place.
Identify high-potential properties and neighborhoods using Idealista data to power targeted outreach and marketing campaigns.
Compare listings, pricing, and agent activity across Idealista to understand market positioning and stay ahead of competition.
Build real-time dashboards that aggregate Idealista data for internal teams, clients, or investors with always-current information.
Common questions about using the Idealista through RealtyAPI.
Get started with 250 free API calls. No credit card required.