Idealista Scraper - Spain, Italy & Portugal Listings avatar

Idealista Scraper - Spain, Italy & Portugal Listings

Pricing

from $2.10 / 1,000 listings

Go to Apify Store
Idealista Scraper - Spain, Italy & Portugal Listings

Idealista Scraper - Spain, Italy & Portugal Listings

Collect Idealista property listings in Spain, Italy and Portugal by location or URL. Get prices, rooms, floor area, agency names and photos. Pay per delivered listing row plus a start fee.

Pricing

from $2.10 / 1,000 listings

Rating

0.0

(0)

Developer

kane liu

kane liu

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Get Idealista property listings from Spain, Italy and Portugal as structured rows you can export to a spreadsheet or read through an API.

  • Search homes for sale or rent by location or use your own Idealista URLs.
  • Collect prices, rooms, floor area, descriptions, agency names and image links where available.
  • Choose homes, new developments, rooms, garages, storage, offices, commercial property, land or buildings.
  • Enrich search results with listing details, or keep search-card data only.
  • Pay for the rows you receive: $3.00 per 1,000 rows on the Free plan, plus a small start fee.

What does Idealista Scraper do?

Idealista Scraper collects property listings from idealista.com, idealista.it and idealista.pt. It returns one property listing per row (rowType listing) for price comparisons, inventory monitoring or property research. Choose one country per run.

  • Location search: fill location, then choose country, channel and propertyType.
  • Search URLs: fill startUrls with Idealista search pages. The URLs take priority over the location and select the market.
  • Listing URLs: provide individual property URLs in startUrls to collect those listings directly.
  • Detail enrichment: scrapeDetails is on by default. It adds detail fields to the same listing row, not a separately billed row.

Business transfers are supported in all three markets. Holiday categories are supported in Spain and Italy, not Portugal.

What data can you extract from Idealista?

The fields below belong to listing rows. Availability depends on the page and whether details were collected.

FieldDescriptionExample
rowTypeRow categorylisting
idListing identifier, stored as text123456789
urlListing pagehttps://www.idealista.com/inmueble/123456789/
countryMarket codeES
channelSale or rentalBUY
propertyTypeLocal category nameviviendas
titleListing titleExample apartment in Madrid
priceAmountNumeric advertised price350000
priceFormattedPrice text shown on the page350.000 €
roomsRoom count interpreted from the listing3
livingSpaceAdvertised floor area in square metres85
floorFloor description, when shown2ª planta
descriptionAvailable property descriptionExample listing description
addressStructured address: street, locality, district, neighborhood, region (exact details may be absent){"street":"Calle de Santa Brígida","locality":"Madrid","district":"Centro","neighborhood":"Chueca-Justicia","region":"Madrid"}
geoCoordinates when available on the detail pagenull
agencyNameAdvertiser or agency labelExample Agency
orgAgency name and identifier when available{"name":"Example Agency","id":null}
imagesAvailable image URLs[]
plansCountFloor-plan count from detail data0
videosCountVideo count from detail data0
phonesPhone numbers the site exposes on the listing[{"value":"+34910000000","type":"mobile","e164":"+34910000000"}]
emailsEmail addresses are not collected[]
sourceLayerSearch, detail or combined datasrp+ldp
leadSourceSource of contact-related fields (search = listing row, detail = listing page)detail
leadRevealHow contact data was obtained: inline in the row, click, absentinline
leadAbsencesWhy an empty contact field is empty: not_verified, not_on_list_page, not_collected or gated (emails only); filled fields have no entry{"emails":"not_verified","person":"not_verified"}
qualityFor not_collected fields: missingFields and the reason in evidence{"missingFields":{"web":"not_collected"},"evidence":{"web":"…"}}
scrapedAtCollection timestamp2026-10-24T08:00:00+00:00

Search-card agency names can populate org without detail enrichment. Exact addresses and coordinates are not guaranteed.

How to scrape Idealista

  1. Open Idealista Scraper in Apify Console. A free Apify account is enough to try it.
  2. Fill startUrls, or clear its sample URL and fill location for your chosen country.
  3. Set maxResults to 5 for your first run.
  4. Click Start and wait for the run to finish.
  5. Open the dataset and download JSON, CSV or Excel, or read the rows through the API.

An empty input starts a Madrid homes-for-sale example capped at 10 rows; the form's row-count sample is 3. If only country is changed, the example location becomes roma-roma for Italy or lisboa for Portugal. Filling a target field selects the matching search automatically; there is no mode field.

Search by location

Leave startUrls empty. Enter a location path such as madrid-madrid, roma-roma or lisboa, or a plain place name such as Madrid. For a less ambiguous search, copy a search URL from Idealista.

Search by URL

Paste search pages from one market into startUrls. Their country, category and search selection take priority over the location-based options. Do not leave the Madrid sample URL in place when you want a different location.

Collect individual listings

Use property URLs with paths such as /inmueble/, /immobile/ or /imovel/. Spanish /obra-nueva/ detail URLs are also recognized. This selects the supplied listings rather than searching a city.

What to fill in

FieldWhat to enterDefault
startUrlsIdealista search or listing URLs from one countryEmpty; form has a Madrid sample
locationPlace name or Idealista location path; used without URLsEmpty; example uses the market's default city
countryES, IT or PT; URLs select it when suppliedES
channelBUY for sale, RENT for rentalBUY
propertyTypeA category alias or local category pathhomes
maxResultsMaximum rows per URL or location, from 1 to 30070; form sample 3
maxPagesSearch pages, from 1 to 251
scrapeDetailsAdd available details to search rowstrue
includeRawPayloadsKeep additional page text and map-related data; increases row sizefalse
requestDelayMillisRequested delay between page visits, in milliseconds3000
cursornextCursor text from the previous run summary (paste as-is)Empty

Category aliases are homes, new_homes, rooms, garages, storage, offices, commercial, land, buildings and business_transfer. Use holiday only for Spain or Italy. Rooms are rent-only: the search uses RENT even if BUY was selected. Business-transfer paths use /traspasos/, /cessione-attivita/ or /trespasse/.

Location search, for Lisbon rentals:

{
"country": "PT",
"location": "lisboa",
"channel": "RENT",
"propertyType": "homes",
"maxResults": 5
}

Search URL, for Rome listings without detail enrichment:

{
"startUrls": [{"url": "https://www.idealista.it/vendita-case/roma-roma/"}],
"maxResults": 5,
"scrapeDetails": false
}

Individual listing; replace the illustrative ID with a current listing:

{
"startUrls": [{"url": "https://www.idealista.com/inmueble/123456789/"}],
"maxResults": 1
}
  • maxItems and limit are aliases for maxResults. The canonical field takes precedence.
  • Unknown fields alone do not fail the run: close misspellings are corrected; other fields are ignored with a note. Corrected values still need to be valid.
  • Invalid input stops before any row is charged. For example: INVALID_INPUT: maxPages must be a whole number from 1 to 25. The start fee is separate.
  • The INPUT_REPORT record in the run's key-value store lists fields filled, corrected or ignored.
  • For continuation, keep the same search and paste nextCursor from OUTPUT or RUN_SUMMARY into cursor (a cp1. cursor is pasted as-is; the site's own continuation object as JSON text).

Output example

This illustrative row shows a search result; omitted fields may also appear in actual output.

{
"rowType": "listing",
"id": "123456789",
"url": "https://www.idealista.com/inmueble/123456789/",
"source": "idealista",
"country": "ES",
"sourceLayer": "srp",
"channel": "BUY",
"propertyType": "viviendas",
"title": "Example apartment in Madrid",
"priceAmount": 350000,
"priceFormatted": "350.000 €",
"rooms": 3,
"livingSpace": 85,
"agencyName": "Example Agency",
"images": [],
"phones": [],
"emails": [],
"geo": null,
"scrapedAt": "2026-10-24T08:00:00+00:00"
}

You can export the dataset as JSON, CSV, Excel, XML, RSS or an HTML table. The separate OUTPUT record contains the run summary, warnings and any continuation token.

Why use this Idealista scraper?

  • Pay per delivered row. A listing is billed when written to the dataset, not for each page attempted.
  • Keep partial output. Available partial rows are delivered when collection ends early. Rows already written remain in the dataset; a forced stop before delivery may leave it empty.
  • Understand missing fields. Missing values stay empty; leadAbsences explains gaps in contact data.
  • Use several URLs. Collect multiple searches or listings from the same country in one run.
  • No proxy setup. You do not need to set up proxies, provide cookies or supply an Idealista account.

How much does it cost to scrape Idealista?

The Actor uses pay-per-event pricing: $0.005 per start event plus a price per delivered listing row. The start event is charged once per GB of memory, minimum one; at the default 512 MB, the start fee is $0.005.

Apify planPrice per rowPrice per 1,000 rows
Free$0.003$3.00
Starter$0.0027$2.70
Scale$0.0024$2.40
Business$0.0021$2.10
Platinum$0.0021$2.10
Diamond$0.0021$2.10
  • maxResults applies to each input URL, or to the location search. Its default is 70, with larger requests collected in parts of 70, up to 300.
  • Free-plan runs are capped at 200 rows across the run and 10 runs. A paid Apify plan removes the 10-run restriction, not input limits.
  • Set Maximum cost per run in the run options (maxTotalChargeUsd) to cap the run's event charges.
  • The Apify Free plan includes $5.00 in monthly usage credit (about 1,666 rows at $0.003 per row, up to 200 rows per run).

Example: three search URLs delivering 50 rows each produce 150 rows. On the Free plan at default memory, the event charges are 150 × $0.003 + $0.005 = $0.455. Fewer delivered rows mean fewer row charges.

What happens when the run timeout is too short

When automatic resumption is used, a run awaiting results can pause instead of failing. Its status message reads "Queued on the collection backend; this run will resume automatically when results are ready (about N s)." It temporarily shows ABORTED.

When results are ready, the same run resumes, reports "Resumed: delivering N rows.", writes to the same dataset and finishes as SUCCEEDED if delivery succeeds. Rows already delivered are skipped, so they are not charged again. A collection failure can still fail the run; resumption is not an unlimited retry mechanism.

Keep the default timeout of 3600 seconds to reduce pauses. Synchronous API endpoints (run-sync and run-sync-get-dataset-items) wait at most 300 seconds and can return an empty dataset while the run is paused. For longer searches, start asynchronously and read the dataset after SUCCEEDED, or use a webhook for ACTOR.RUN.SUCCEEDED.

When the run stops at its deadline with rows still pending, it finishes SUCCEEDED and RUN_SUMMARY.nextCursor holds a cp1. cursor. To continue, start a new run with the same search and paste that nextCursor value into cursor. From 2026-11-23 cursor is a text field: paste nextCursor as it is; API callers that sent a JSON object must send it as a JSON string.

Use with AI agents and the API

Apify MCP server (Claude, ChatGPT, Cursor, VS Code)

Add this remote MCP server in a compatible client:

https://mcp.apify.com?tools=lentic_clockss/idealista-scraper

Sign in with Apify through OAuth when prompted, or send Authorization: Bearer <YOUR_APIFY_TOKEN>. The tool starts a run and returns its run and dataset IDs; the agent can then read rows with get-dataset-items. Clients without remote MCP support can use npx @apify/actors-mcp-server --tools lentic_clockss/idealista-scraper with APIFY_TOKEN set.

Example prompt: "Collect five Lisbon rental listings from Idealista Portugal and show their prices, floor areas and listing URLs."

  • Agent execution note: Set maxResults to 5–20 on exploratory calls and read RUN_SUMMARY / INPUT_REPORT. Wait for auto-resumed ABORTED runs to finish as SUCCEEDED.

Apify API

Python:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("lentic_clockss/idealista-scraper").call(
run_input={"location": "madrid-madrid", "maxResults": 5}
)
if run["status"] == "SUCCEEDED":
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('lentic_clockss/idealista-scraper').call({
location: 'madrid-madrid', maxResults: 5,
});
if (run.status === 'SUCCEEDED') {
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
}

For asynchronous HTTP, send the input JSON to POST https://api.apify.com/v2/acts/lentic_clockss~idealista-scraper/runs with an Authorization: Bearer <YOUR_APIFY_TOKEN> header. After completion, read GET https://api.apify.com/v2/datasets/<datasetId>/items?format=json. A queued ABORTED pause is not final completion.

Standby HTTP endpoint

Base URL: https://lentic-clockss--idealista-scraper.apify.actor.

MethodRouteReturns
GET/Service information
GET/healthService health
GET/input-exampleSmall example input for a normal Actor run
GET/openapi.jsonOpenAPI document

These routes give information only; start collection through the Actor API above.

Integrations

Use the Actor's Integrations tab to connect results to Google Sheets, Make, Zapier, n8n, Slack, Airtable or a webhook. Use Apify Schedules for repeated runs.

En español

Este Actor recoge anuncios de Idealista en España, Italia y Portugal y entrega una fila por inmueble. Puedes consultar viviendas en venta o alquiler. Para empezar, introduce una localidad en location y elige country; si tienes un enlace de búsqueda, pégalo en startUrls. Prueba con maxResults igual a 5. Con scrapeDetails activado se añaden los detalles disponibles del anuncio. No se garantizan teléfonos, direcciones exactas ni coordenadas. Puedes descargar los resultados en Excel, CSV o JSON. Se cobra por fila entregada más el cargo de inicio. Utiliza una sola combinación de país y dominio por ejecución.

FAQ

Use only data you may lawfully collect and process. You are responsible for Idealista's terms and applicable data-protection law. Public availability does not remove privacy obligations; personal data requires a lawful basis.

Why did my run end as ABORTED?

If the status message says the run is queued and will resume automatically, this is a temporary pause; wait for the same run to resume. Manual stops and other aborts do not resume automatically.

How many results can I get?

Set maxResults from 1 to 300 per input. Available listings, the run's cost limit and free-plan limits can reduce delivery. The number requested is a ceiling, not a guarantee.

Why are some fields empty?

A listing may omit an attribute or hide its exact address. Search-only rows contain fewer fields than enriched rows. leadAbsences explains empty contact fields; empty values are never invented.

Can I combine Spain, Italy and Portugal in one run?

Use a separate run for each country. For location searches, choose ES, IT or PT; for URL searches, use links from the matching Idealista domain.

Is this the official Idealista API?

No. This is an independent Actor that collects listing-page data via the Apify API. It is not Idealista's own API.

What does scrapeDetails change?

For search results, false keeps search-card data; true adds available descriptions, advertiser information and media details. It can take longer.

Why did my free-plan run stop after 10 runs?

The developer allows 10 runs of this Actor for free-plan users, with up to 200 rows per run. A paid Apify plan removes this run-count restriction. The run summary explains when a free-plan limit is reached.

Why do leadAbsences reasons look different from earlier runs?

From November 2026 the reasons are English codes; earlier runs used Chinese labels. Website rows appear only when the idealista app API is unavailable. If you filter on the old labels, switch to the new codes:

FieldEarlier label (JSON-escaped)New value
phones, geo, web with a value"-"No entry
Empty phones, geo, org, address, addressUnit; website-card emails"\u672a\u9a8c\u8bc1"not_verified
App-row emails, person; website-detail person, web"\u672c\u7ad9\u65e0\uff1a<evidence>"not_verified
App-row web, agency profile read"\u672c\u7ad9\u65e0\uff1a<evidence>"not_verified (agency profile read; it gives no agencyWebUrl)
App-row web, agency profile not read"\u672a\u91c7\u96c6"not_collected
Website-card person, web"\u672c\u7ad9\u65e0\uff1a<evidence>"not_on_list_page
Website-detail emails"\u95f8\u95e8\u9501"gated

Limitations

  • Only the Spanish, Italian and Portuguese Idealista markets are supported. External holiday sites, including Rentalia, are outside scope.
  • Phone numbers appear when the listing itself publishes them; ads that hide the number return an empty phones list. The agency's own website is filled from its idealista profile when it publishes one (web.website, org.agencyWebUrl); email addresses, individual contact names and social profiles are not supplied.
  • Detail enrichment may be incomplete. Room counts and floor areas can be absent or inapplicable to garages, storage or land.
  • maxPages is not a strict stop condition in current row-limited runs; use maxResults and the cost cap.
  • A successful search can return no matching listings. Check the run summary rather than assuming every empty dataset is an error.

More real estate and property data scrapers from the same publisher:

Browse all of our scrapers at apify.com/lentic_clockss.

Support

Found a problem or need another field? Open an issue in the Issues tab of this Actor's page and include the run ID and the input you used.