Idealista Scraper: Property Listings PT, ES, IT, FR
Pricing
from $10.00 / 1,000 results
Idealista Scraper: Property Listings PT, ES, IT, FR
Scrape Idealista property listings in Portugal, Spain, Italy and France. Search sale and rent listings, get full details, totals, map data, locations and agency info as clean JSON.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Pinto Studio
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
Idealista Scraper Actor
The Idealista Scraper Actor is a web scraping tool deployed on the Apify platform that searches and extracts property listing data from Idealista — Portugal, Spain, Italy and France — through one operation-based input. It also exposes Idealista's own specialized endpoints (map data, location autocomplete, zone experts, translations, microsites...) that sit behind its search pages.
Overview
Idealista doesn't publish an official public API, so this Actor talks to the real site's own
internal ajax endpoints — the same ones its search pages call — on every run; there's no
stored database or stale snapshot. The operation input field picks which one. search (and
its three variants) and listing-detail return a normalized, consistent listing shape; every
other operation returns Idealista's own response close to as-is, since it doesn't fit a
normalized listing schema.
Features
- Search: keyword/location search for sale or rent, with price/bedroom/property-type filters, auto-paginated up to a configurable page count, one dataset row per listing.
- Listing detail: fetch one listing, or many in a single run — photos, description, energy rating, advertiser, amenities and more — a failed listing never stops the others.
- 32 operations total: everything above, plus every map variant, location autocomplete, zone experts, breadcrumbs, translations, agency branding and microsite variants of all of the above.
- Resilient by design: a
search/listing-detailrun reports per-page / per-listing failures in its output rather than failing the whole run; only a hard input error (bad country, missing proxy) fails the run.
Input Configuration
The operation field decides which other fields matter — a field used by an operation you
didn't pick is simply ignored. All operations accept the proxy/advanced fields at the bottom
(required for real results — see
Rate Limits and Best Practices).
operation: "search" (default) / "free-text" / "zones-of-interest" / "microsite-search"
| Parameter | Type | Default | Description |
|---|---|---|---|
country | string | pt | pt | es | it | fr |
location | string | — | City/area name or Idealista location slug |
type | string | sale | sale | rent |
propertyType | string | any | apartment | house |
minPrice / maxPrice | integer | — | Price range, EUR |
bedrooms | integer | — | Bedroom count; 6 means "6 or more" (ignored for it/fr) |
page | integer | 1 | First page to fetch |
maxPagesToScrape | integer | 1 | How many consecutive pages to fetch and combine, 1-20 |
freeText | string | — | Used by "free-text" only |
zoneOfInterest | string | — | Used by "zones-of-interest" only |
micrositeName | string | — | Used by "microsite-search" only |
operation: "listing-detail"
| Parameter | Type | Description |
|---|---|---|
country | string | Default country for any bare numeric id in listingId/listingIds |
listingId | string | A single listing's numeric id |
listingIds | array of strings | Fetch several listings in one run — each entry is "country:id" (e.g. "pt:35410511") or a bare id, falling back to country above. Takes priority over listingId. |
operation: "totals" / "microsite-totals"
Same parameters as search above — returns Idealista's own result-count payload instead of a
listing page.
Map operations
"map", "map-grouped", "map-no-pins", "draw-map", "draw-map-no-pins", "live-map",
"live-map-no-pins", "microsite-map": the pin/cluster data behind Idealista's map view, in
Idealista's own shape.
| Parameter | Type | Description |
|---|---|---|
country, location, type, propertyType, minPrice, maxPrice, bedrooms, page | — | Same as search |
northEast / southWest | string | Map viewport corners, "lat,lng" (e.g. "49,3") |
zoom | integer | Map zoom level |
"map-item" / "microsite-map-item" take a map pin/item identifier (from one of the map
operations above) via adId or extraParams — return that item's detail.
operation: "locations"
| Parameter | Type | Description |
|---|---|---|
country | string | pt | es | it | fr |
searchField | string | The text a user would be typing into Idealista's location search box |
type | string | sale | rent — changes which result set comes back |
operation: "zone-experts"
The "recommended agents for this area" panel Idealista shows on search pages. Parameters:
location, country, type.
operation: "agency-branding"
Numeric adId — an agency's branding shown on one of its ads.
operation: "microsite-configuration"
micrositeName — that microsite's configuration/theming payload.
Listing media / detail helpers
"comment", "translation", "static-map", "signed-map", "slideshow" — pass adId (and
for "translation": language, requestTranslation).
Geography / URL-building helpers
"breadcrumbs" / "microsite-breadcrumbs", "free-text-url", "draw-search-url",
"live-search-url", "draw-search-area" — thin pass-throughs mirroring the small internal
calls Idealista's own search UI makes while you type or draw a search area. These don't have
individually modeled fields above; use extraParams (see below) to pass whatever Idealista
itself expects.
Advanced: extra params and proxy configuration (all operations)
| Parameter | Description |
|---|---|
extraParams | Extra upstream query parameters forwarded as-is, merged on top of (and able to override) every field above. The escape hatch for any niche endpoint's own parameter names. |
baseProxyUrl | A generic HTTP(S) proxy URL, e.g. http://user:pass@host:port |
residentialProxyUrl | A residential rotating-exit proxy, retried once if the base proxy gets blocked |
impitProxyMethodUrl | A service that fetches a URL with a real browser TLS fingerprint — this is how every request to Idealista is actually made; required for real results |
requestUserAgent, requestTimeoutMs, searchCacheTtlMs, detailCacheTtlMs | Advanced overrides — leave blank for sane built-in defaults |
Parameter Options
Country (country)
pt— idealista.pt (Portugal)es— idealista.com (Spain)it— idealista.it (Italy)fr— idealista.fr (France)
Location (location)
There's no address-autocomplete/geocoding service behind this field — it's passed straight
through (slugified) to Idealista. Use the "locations" operation first to find the exact
slug/path Idealista itself resolves a place name to, especially for anything more specific than
a well-known city. Leaving it empty falls back to a nationwide (map-bounded) search.
Usage Examples
Basic search
{"operation": "search","country": "pt","location": "braga","type": "sale","propertyType": "apartment"}
Search, auto-paginated across 5 pages
{"operation": "search","country": "es","location": "madrid","type": "rent","maxPagesToScrape": 5}
Fetch several listings' full detail in one run
{"operation": "listing-detail","listingIds": ["pt:35410511", "pt:34938548"]}
Resolve a location slug before searching it
{"operation": "locations","country": "pt","searchField": "Braga"}
Map pins for a drawn viewport
{"operation": "map-grouped","country": "fr","location": "paris","northEast": "49,3","southWest": "48,2","zoom": 12}
Output Format
search / free-text / zones-of-interest / microsite-search
One dataset row per listing — the normalized listing shape:
{"id": "idealista:pt:35410511","source": "idealista","title": "Apartamento T2 na Rua Germão Galharde, 16, São Victor","url": "https://www.idealista.pt/imovel/35410511/","transaction": "sale","propertyType": "apartment","price": { "amount": 270000, "currency": "EUR" },"pricePerSquareMeter": { "amount": 3292.68, "currency": "EUR" },"areaSquareMeters": 82,"bedrooms": 2,"location": { "district": null, "council": null, "parish": null, "neighborhood": null, "address": "...", "latitude": null, "longitude": null },"agency": { "name": "Tânia Cruz - RE/MAX", "type": "agency" },"isPrivateOwner": false,"postedAt": null}
The run's OUTPUT key-value record holds a summary instead (operation, query,
pagesFetched, pagination, errors, count) — the listings themselves are in the dataset.
listing-detail
One dataset row per listing, with extra fields on top of the shape above:
description, images, characteristics, plus normalized fields where available —
bathrooms, floor, constructionYear, condition, orientation, hasElevator,
isFurnished, amenities, advertiser, energy, media, coordinates. OUTPUT holds a
summary (listingIds, count, errors) rather than the listings themselves.
Every other operation
One dataset row for the whole run, since there's no repeatable "item" in these responses:
{ "operation": "locations", "country": "pt", "params": { "searchField": "Braga" }, "result": { "...": "Idealista's own response" } }
OUTPUT holds this exact same object.
Data Storage
- Dataset: one row per listing for
search-like andlisting-detailoperations; one row for the whole run for every other operation (see Output Format above). - Key-value store: a summary (or, for non-listing operations, the full result) is also saved
under
OUTPUTfor quick viewing in the Apify Console.
Error Handling
search/listing-detail: a single page or listing failing doesn't fail the run — checkerrorsinOUTPUT.- Every other operation: a failure (bad country, missing location, no proxy configured) fails the run with a descriptive message, visible in the run log and as the run's status message.
listing-detailreturns a clear per-id error if a listing doesn't exist, rather than an empty success.
Performance Tips
- Resolve a location with the
"locations"operation first rather than guessing a slug — an unrecognized location falls back to a much coarser nationwide search. - Keep
maxPagesToScrapeas low as you actually need; each page is a separate upstream request. - For
listing-detail, batch many ids into onelistingIdsrun instead of one run per id — it's the same number of upstream requests either way, but far less Actor run overhead. - Results are cached briefly in memory within a single run (
searchCacheTtlMs/detailCacheTtlMs) — this doesn't help across separate runs, so don't rely on it for de-duplication across runs.
Rate Limits and Best Practices
- A proxy is required, not optional, here. Idealista reliably blocks naive server-side
fetches.
impitProxyMethodUrl(a service that fetches with a real browser TLS fingerprint) combined withbaseProxyUrlis how every request in this Actor is actually made — without them, every operation fails fast with a clearMY_PROXY_METHOD must be configurederror rather than silently trying and getting blocked. - Expect an occasional
502/access-challenge error even with a good proxy configured — retrying after a short delay usually succeeds. - Don't scrape or expose Idealista's authenticated features (saved alerts, messaging an advertiser, account data) through this Actor — it deliberately only talks to Idealista's public, logged-out pages, and sends no messages or forms on anyone's behalf.
- Treat
price/pricePerSquareMeteras the current asking price, not a confirmed achieved sale/rental price.
Integration Examples
JavaScript/Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const input = {operation: 'search',country: 'pt',location: 'braga',type: 'sale',};const run = await client.actor('YOUR_ACTOR_ID').call(input);const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((listing) => {console.log(`${listing.title} — ${listing.price?.amount} ${listing.price?.currency}`);});
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"operation": "search","country": "pt","location": "braga","type": "sale",}run = client.actor("YOUR_ACTOR_ID").call(run_input=run_input)items = client.dataset(run["defaultDatasetId"]).list_items().itemsfor listing in items:price = listing.get("price") or {}print(f"{listing['title']} — {price.get('amount')} {price.get('currency')}")
Support
If you have any questions or encounter any issues, please consult the Apify documentation or reach out to us through one of the following channels:
- Telegram: @pintoflow
- Email: pintoflowpt@gmail.com
- Apify Platform: You can also contact us directly through this platform.