Idealista Scraper: Property Listings PT, ES, IT, FR avatar

Idealista Scraper: Property Listings PT, ES, IT, FR

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Idealista Scraper: Property Listings PT, ES, IT, FR

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

Pinto Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

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-detail run 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).

ParameterTypeDefaultDescription
countrystringptpt | es | it | fr
locationstring—City/area name or Idealista location slug
typestringsalesale | rent
propertyTypestringanyapartment | house
minPrice / maxPriceinteger—Price range, EUR
bedroomsinteger—Bedroom count; 6 means "6 or more" (ignored for it/fr)
pageinteger1First page to fetch
maxPagesToScrapeinteger1How many consecutive pages to fetch and combine, 1-20
freeTextstring—Used by "free-text" only
zoneOfIntereststring—Used by "zones-of-interest" only
micrositeNamestring—Used by "microsite-search" only

operation: "listing-detail"

ParameterTypeDescription
countrystringDefault country for any bare numeric id in listingId/listingIds
listingIdstringA single listing's numeric id
listingIdsarray of stringsFetch 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.

ParameterTypeDescription
country, location, type, propertyType, minPrice, maxPrice, bedrooms, page—Same as search
northEast / southWeststringMap viewport corners, "lat,lng" (e.g. "49,3")
zoomintegerMap 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"

ParameterTypeDescription
countrystringpt | es | it | fr
searchFieldstringThe text a user would be typing into Idealista's location search box
typestringsale | 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)

ParameterDescription
extraParamsExtra 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.
baseProxyUrlA generic HTTP(S) proxy URL, e.g. http://user:pass@host:port
residentialProxyUrlA residential rotating-exit proxy, retried once if the base proxy gets blocked
impitProxyMethodUrlA 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, detailCacheTtlMsAdvanced 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

{
"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

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 and listing-detail operations; 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 OUTPUT for quick viewing in the Apify Console.

Error Handling

  • search/listing-detail: a single page or listing failing doesn't fail the run — check errors in OUTPUT.
  • 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-detail returns a clear per-id error if a listing doesn't exist, rather than an empty success.

Performance Tips

  1. Resolve a location with the "locations" operation first rather than guessing a slug — an unrecognized location falls back to a much coarser nationwide search.
  2. Keep maxPagesToScrape as low as you actually need; each page is a separate upstream request.
  3. For listing-detail, batch many ids into one listingIds run instead of one run per id — it's the same number of upstream requests either way, but far less Actor run overhead.
  4. 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 with baseProxyUrl is how every request in this Actor is actually made — without them, every operation fails fast with a clear MY_PROXY_METHOD must be configured error 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/pricePerSquareMeter as 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 ApifyClient
client = 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().items
for 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: