Data catalog › Real estate › Idealista Listings | Spain, Italy & Portugal Real Estate

Real estate · idealista.com

Idealista Listings | Spain, Italy & Portugal Real Estate

Idealista 房源表|西意葡房产租售与中介

A CSV of public Idealista listings from the Spanish, Italian and Portuguese sites, collected for the city, country site and sale or rent search you give when ordering.

Source
idealista.com
Coverage
Southern European real estate listings from Idealista across Spain, Italy and Portugal for sale and rent, one row per entity.
Collection modes
Search by location, Search by URL, Collect individual listings
Markets (3)
Spain (idealista.com), Italy (idealista.it), Portugal (idealista.pt)
Row contract
1 row = 1 entity. Each row is one public Idealista property listing, with prices and details to compare places.
Columns
46 documented output fields; the free sample has 64 columns collected 2026-11-26
Order size
1 to 100,000 rows per order on the shop (default 200)

Overview

You get a file with one row per property, read from public Idealista listings in Spain, Italy or Portugal.

You can compare property types, neighborhoods and available addresses, with descriptions and map positions. You can compare prices in euros, room counts and living space, with floor levels and other home details if published. You get photos and listing links to review properties, plus details such as available video or home tours. You can see agency names and public advertiser names and phones, including private landlords.

Coverage includes Spain (idealista.com), Italy (idealista.it) and Portugal (idealista.pt).

What the file contains

  • Properties and places. You can compare property types, neighborhoods and available addresses, with descriptions and map positions.
  • Prices and size. You can compare prices in euros, room counts and living space, with floor levels and other home details if published.
  • Photos and links. You get photos and listing links to review properties, plus details such as available video or home tours.
  • Agencies and public contacts. You can see agency names and public advertiser names and phones, including private landlords.

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 you can do with it

  • Compare prices for properties with similar living space.
  • Filter by neighborhood to compare homes in the same area.
  • Sort by floor level to compare properties at similar heights.

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.

中文简介

每条是一条公开的 Idealista 房源,提供价格和详情,方便比较。选择“国家”,填写“城市或地区”,选择“出售或出租”,还可选择“房产类型”。

你会得到一份文件,每条是一处房产,来自西班牙、意大利或葡萄牙的 Idealista 公开房源。

你可以比较房产类型、社区和可获得的地址,查看介绍和地图位置。还可比较欧元价格、房间数和居住面积,以及已公布的楼层和其他住宅信息。照片、房源链接以及可获得的视频或看房导览信息方便你查看房产。你可以查看中介机构名称和公开的发布方姓名与电话,包括个人房东。

覆盖西班牙(idealista.com)、意大利(idealista.it)和葡萄牙(idealista.pt)。

  • 房产与地点:你可以比较房产类型、社区和可获得的地址,查看介绍和地图位置。
  • 价格与面积:你可以比较欧元价格、房间数和居住面积,以及已公布的楼层和其他住宅信息。
  • 照片与链接:你会得到用于查看房产的照片和房源链接,以及可获得的视频或看房导览等信息。
  • 中介与公开联系方式:你可以查看中介机构名称和公开的发布方姓名与电话,包括个人房东。

用法:比较居住面积相近的房产价格。 按社区筛选,比较同一区域的住宅。 按楼层排序,比较高度相近的房产。

Where to get it

Every link below is a direct link to the live channel page for this source.

MCP endpoint for this source only: https://ai.opendata.best/s/idealista-com/mcp; all sources: https://ai.opendata.best/mcp. Both accept MCP clients (POST), not a browser.

x402 pay-per-call endpoint: https://x402.opendata.best/s/idealista-com/v1/search (an unpaid call returns a 402 quote; settles in USDC on Base).

Encyclopedia article with every channel side by side: Idealista Listings | Spain, Italy & Portugal Real Estate (wiki).

Input parameters

All 12 parameters of the Apify Actor lentic_clockss/idealista-scraper, read from its input schema. The shop form, the MCP tool and the APIs accept the same fields.

ParameterTitleTypeDefault and allowed valuesWhat it does
What to collect
startUrlsStart URLsarray / requestListSourcesform prefill [{"url": "https://www.idealista.com/venta-viviendas/madrid-madrid/"}]Idealista search or listing URLs from one country: idealista.com, idealista.it or idealista.pt. These URLs select the market and search, and take priority over location.
locationLocation pathstring / textfieldform prefill "madrid-madrid"Enter an Idealista location path such as madrid-madrid, roma-roma or lisboa, or a place name such as Madrid. Used only when startUrls is empty.
Search options
countryCountry / marketstring / selectdefault "ES"
ES Spain (idealista.com), IT Italy (idealista.it), PT Portugal (idealista.pt)
Choose Spain (ES), Italy (IT) or Portugal (PT). When startUrls is filled, its URL host selects the country instead.
channelChannelstring / selectdefault "BUY"
BUY For sale (BUY), RENT To rent (RENT)
Choose BUY for properties for sale or RENT for rentals. Rooms use RENT; search URLs select their own operation.
propertyTypeProperty typestring / textfielddefault "homes"
form prefill "homes"
Choose homes, new_homes, rooms, garages, storage, offices, commercial, land, buildings or business_transfer; holiday is supported only in Spain and Italy. Local category paths also work; startUrls takes priority when supplied.
maxResultsMax listings per URL or locationinteger / numberdefault 70
form prefill 3
1 to 300
Maximum listing rows for each URL or location, from 1 to 300; default 70, with larger requests collected in parts of 70. Your maximum run charge limits the total; free-plan users have 200 rows per run and 10 runs of this Actor; maxItems and limit are accepted aliases.
maxPagesSearch-page settingintegerdefault 1
1 to 25
Search-page setting from 1 to 25. Current row-limited runs follow continuation pages independently of this setting; use maxResults to cap delivered rows.
scrapeDetailsScrape detail pagesbooleandefault trueAdd available descriptions, agency information, property attributes and media from detail pages to search results. Default true; false keeps search-card data only, and phone numbers are not promised.
includeRawPayloadsInclude additional page databooleandefault falseKeep additional page text and map-related data, including rawCardText, map, mapConfig and detailSections. Leave false for smaller rows.
Advanced
requestDelayMillisDelay between page visits (ms)integerdefault 3000
0 to 30000
Requested delay between page visits, in milliseconds, from 0 to 30000. Default 3000.
cursorContinue from cursorstring / textfield—Paste RUN_SUMMARY.nextCursor from an earlier run that stopped at its time limit to continue the same search. The site's own continuation object is pasted as JSON text. Leave empty to start a new search.
workerBaseUrlDeveloper testing URLstring / textfield—Leave empty. Used only by the developer for testing.

Example input

Example input

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

Example input

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

Example input

{
  "startUrls": [
    {
      "url": "https://www.idealista.com/inmueble/123456789/"
    }
  ],
  "maxResults": 1
}

Output fields

46 fields from the dataset schema. Optional fields stay empty when the source does not publish them; nothing is estimated.

FieldTypeTitleDescriptionIn sample
rowTypestring Values: listingyes
idstringIdealista listing id (numeric string)yes
urlstring | nullDetail page URLyes
sourcestringyes
countrystring | null Values: ES, IT, PT, yes
sourceLayerstring | null'srp' list row, 'ldp' detail-only task, 'srp+ldp' list row enriched with its detail document Values: srp, ldp, srp+ldp, yes
channelstring | nullSALE/venta/vendita normalized to BUY Values: BUY, RENT, yes
propertyTypestring | nullTop-nav category or typologyName; fallback recorded in warningsyes
titlestring | nullyes
priceAmountnumber | integer | nullNumeric price; '.' thousands separator stripped, ',' decimalyes
priceFormattedstring | nullOriginal localized price stringyes
pricePerAreastring | nullSRP price-per-area text (e.g. '3.150 €/m²')yes
roomsnumber | integer | nullBedroom count parsed from hab/dorm/locali/quartos/Tn tokensyes
livingSpacenumber | integer | nullArea in m²yes
floorstring | nullFloor feature text (planta/bajo/ático/...)yes
detailCharsarray | nullSRP card feature stringsyes
detailFeaturesarray | nullLDP headerFeatures text+subText + dom.features
detailSectionsobject | nulldom.detailSections raw object; stripped unless includeRawPayloads=true
addressobject | nullStructured address; App rows read the site's own province / municipality / district / neighborhood slots (the display text is masked to neighborhood level and is only the fallback), Web rows build it from the header mapyes
descriptionstring | nullyes
tagsarray | nullSRP listing-tags / pricedown labelsyes
agencyNamestring | nullyes
externalReferencestring | number | nullconfig.adExternalReference external listing refyes
imagesarray | nullDeduped image URLs, capped at 80yes
plansCountinteger | nullLDP floor-plan count
videosCountinteger | nullLDP video count
has3DTourboolean | nullvisit3DTour/visit3DTourURL flagyes
mapobject | nullSRP media.map raw object; null on the current search channel (search cards carry no map data); stripped unless includeRawPayloads=true
mapConfigobject | nullLDP mapConfig raw object; stripped unless includeRawPayloads=true
hasPhoneButtonboolean | nullSRP card shows a phone button — marker only, NOT proof a number is retrievableyes
contactPhoneEndpointstring | nullAPI path for the phone-reveal ajax call (e.g. /es/ajax/ads/{id}/contact-phones) — endpoint location, NOT a phone number
mustShowHousingSeekerProfileboolean | nullconfig.mustShowHousingSeekerProfile passthrough
sourceUrlstring | nullSearch page URL this row was collected fromyes
rawCardTextstring | nullSRP card raw text (≤2000 chars); stripped unless includeRawPayloads=true
detailErrorstring | nullPresent on rows whose detail enrichment failed (detail_fetch_failed/missing_expose/challenge_page:*/response_*), was cut off by a deadline or cancel (detail_not_fetched), or was skipped after repeated detail failures (detail_skipped_after_failures)
phonesarray | nullPhone numbers: App rows carry them inline on the list, Web rows after a click-reveal; [] when unavailable
emailsarray | nullAlways [] — contact e-mail sits behind the lead-form gate (structurally unavailable)
geoobject | null{lat,lng} from dom.geo or mapConfigyes
personobject | nullAlways null — site exposes no person entity
orgobject | nullAdvertiser as the listing row states it, plus what the agency profile ( /microsite/{shortName} ) publishes.yes
webobject | null{website,socials}: website comes from the agency profile (null when the agency publishes none — see quality.evidence.web); the site itself has no social-profile fieldyes
leadSourcestring | null Values: search, detail, reveal-xhr, yes
leadRevealstring | null'inline' = the App REST list row already carries the E.164 number (no click); 'click' = revealed behind the Web click-to-show button; 'absent' = not attempted/failed Values: absent, click, inline, yes
leadAbsencesobject | nullWhy each empty lead field is empty: not_verified (not checked on this row, sometimes with a note in parentheses), not_on_list_page (website search card), not_collected (not read in this run; reason in quality.evidence) or gated (contact form, emails only). A field that has a value has no entry. Conditional keys on website detail rows: address when the street is missing, addressUnit when the door number is privacy-hidden.yes
scrapedAtstringUTC ISO-8601 with +00:00 offset (fleet property-site convention)yes
qualityobject | nullSet when a field was not read in this run. missingFields[field]=not_collected, evidence[field]=why (for example the agency profile could not be read or was past the per-task cap).

Sample preview

All 3 rows of the free sample, collected 2026-11-26, shown one column per line. Columns that name or contact individual people were removed and email addresses masked before publishing. Download the full sample CSV.

ColumnRow 1Row 2Row 3
id113165015113158669111156813
urlhttps://www.idealista.com/inmueble/113165015/https://www.idealista.com/inmueble/113158669/https://www.idealista.com/inmueble/111156813/
sourceidealistaidealistaidealista
countryESESES
sourceLayersrp+ldpsrp+ldpsrp+ldp
channelBUYBUYBUY
propertyTypeflatflatpenthouse
titlePiso en Avenida Diagonal, Sant Gervasi - Galvany, BarcelonaPiso en Calle del Comte d'Urgell, Sant Antoni, BarcelonaÁtico en Avenida Diagonal, 535, Les Corts, Barcelona
address{"street":"Avenida Diagonal","unit":null,"locality":"Barcelona","region":"Barcelona","postalCode":null,"country":"ES","full":"Avenida Diago…{"street":"Calle del Comte d'Urgell","unit":null,"locality":"Barcelona","region":"Barcelona","postalCode":null,"country":"ES","full":"Calle…{"street":"Avenida Diagonal, 535","unit":null,"locality":"Barcelona","region":"Barcelona","postalCode":null,"country":"ES","full":"Avenida …
addressTextPiso en Avenida Diagonal, Sant Gervasi - Galvany, BarcelonaPiso en Calle del Comte d'Urgell, Sant Antoni, BarcelonaÁtico en Avenida Diagonal, 535, Les Corts, Barcelona
priceAmount13200008400002050000
priceFormatted1.320.000 €840.000 €2.050.000 €
pricePerArea7.333 €/m²8.485 €/m²7.621 €/m²
rooms424
livingSpace18099269
floor728
detailChars["4","2","180.0 m²","ascensor","terraza","aire acondicionado"]["2","2","99.0 m²","ascensor","piscina"]["4","3","269.0 m²","ascensor","terraza","aire acondicionado"]
descriptionUbicada en una de las zonas más privilegiadas de Barcelona, en el entorno de Francesc Macià, encontramos esta magnífica vivienda de 180 m²,…Presentamos una propiedad verdaderamente singular en el corazón del barrio de Sant Antoni, ubicada en La Carbonería. Construida en 1864 com…Ubicado en la Avenida Diagonal, en una de las zonas residenciales más buscadas en la parte alta de Barcelona, a pocos minutos del Parque Tu…
tags["lift","exterior","video","360"]["lift","exterior","video"]["lift","exterior","video"]
agencyName(hidden in sample)(hidden in sample)Spain Sotheby's International Realty
images["https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbMiVSd6Ml4khBqGDIaJvI4s5m5JvBd5uodwaAdwuodwYIgAx6evcLCAjI9Zuoyw?Expire…["https://img4.idealista.com/s/v1/yLv6QcFaPGY-ndqtd3fIzjn3dwgl4inLwTKbMiVSd6Ml4khBqGDIaJvI4s5m5JvBd4AMd6jad7XOdwYIgAwlJaMlgCXI9Zuoyw?Expire…["https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbMiVSd6Ml4khBqGDIaJvI4s5m5JvBd3q1d6jOdwYIdwYIegt6JYB6gAbI9Zuoyw?Expire…
hasPhoneButtontruetruetrue
sourceUrlhttps://www.idealista.com/venta-viviendas/barcelona-barcelona/https://www.idealista.com/venta-viviendas/barcelona-barcelona/https://www.idealista.com/venta-viviendas/barcelona-barcelona/
geo{"latitude":41.3938082,"longitude":2.1435486}{"latitude":41.3791137,"longitude":2.1596069}{"latitude":41.3906654,"longitude":2.1383989}
org{"name":"(hidden in sample)","id":"proddigia-barcelona","microsite":"proddigia-barcelona","agencyWebUrl":"http://www.proddigia.com","agency…{"name":"(hidden in sample)","id":"walterhaus","microsite":"walterhaus","agencyWebUrl":"http://www.walterhaus.es","agencyTotalAds":152}{"name":"Spain Sotheby's International Realty","id":"barcelona-sothebys-international-realty","microsite":"barcelona-sothebys-international…
web{"website":"http://www.proddigia.com","socials":[]}{"website":"http://www.walterhaus.es","socials":[]}{"website":"http://www.barcelona-sothebysrealty.com","socials":[]}
leadSourcesearchsearchsearch
leadRevealinlineinlineinline
leadAbsences{"emails":"not_verified","person":"not_verified"}{"emails":"not_verified","person":"not_verified"}{"emails":"not_verified","person":"not_verified"}
propertyCode113165015113158669111156813
exteriortruetruetrue
externalReference164795758V324853
hasLifttruetruetrue
hasPlantruetruetrue
hasVideotruetruetrue
has360truefalsefalse
has3DTourtruetruetrue
hasStagingfalsefalsetrue
newDevelopmentfalsefalsefalse
newPropertyfalsefalsefalse
statusgoodgoodgood
locationId0-EU-ES-08-13-001-019-05-0050-EU-ES-08-13-001-019-02-0030-EU-ES-08-13-001-019-04-001
provinceBarcelonaBarcelonaBarcelona
municipalityBarcelonaBarcelonaBarcelona
districtSarrià-Sant GervasiEixampleLes Corts
neighborhoodSant Gervasi - GalvanySant AntoniLes Corts
numPhotos624452
showAddressfalsefalsetrue
distance
features{"hasSwimmingPool":false,"hasTerrace":true,"hasAirConditioning":true,"hasBoxRoom":false,"hasGarden":false}{"hasSwimmingPool":true,"hasTerrace":false,"hasAirConditioning":false,"hasBoxRoom":false,"hasGarden":false}{"hasSwimmingPool":false,"hasTerrace":true,"hasAirConditioning":true,"hasBoxRoom":false,"hasGarden":false}
priceDrop{"value":null,"percentage":null,"date":null,"formerPrice":null}{"value":null,"percentage":null,"date":null,"formerPrice":null}{"value":50000,"percentage":2,"date":1795203334000,"formerPrice":2100000}
badges{"favourite":false,"savedAd":{},"notes":[],"ribbons":[],"topHighlight":false,"topPlus":true,"topNewDevelopment":false,"newDevelopmentHighli…{"favourite":false,"savedAd":{},"notes":[],"ribbons":[],"topHighlight":false,"topPlus":true,"topNewDevelopment":false,"newDevelopmentHighli…{"favourite":false,"savedAd":{},"notes":[],"ribbons":[],"topHighlight":false,"topPlus":true,"topNewDevelopment":false,"newDevelopmentHighli…
appFields{"elementList[].propertyCode":"113165015","elementList[].url":"https://www.idealista.com/inmueble/113165015/","elementList[].thumbnail":"ht…{"elementList[].propertyCode":"113158669","elementList[].url":"https://www.idealista.com/inmueble/113158669/","elementList[].thumbnail":"ht…{"elementList[].propertyCode":"111156813","elementList[].url":"https://www.idealista.com/inmueble/111156813/","elementList[].thumbnail":"ht…
scrapedAt2026-11-26T00:07:30.331046+00:002026-11-26T00:07:30.331163+00:002026-11-26T00:07:30.331277+00:00
detail{"title":"Avenida Diagonal","hasHiddenAddress":true,"locationId":"0-EU-ES-08-13-001-019-05-005","locationName":"Distrito Sarrià-Sant Gervas…{"title":"Calle del Comte d'Urgell","hasHiddenAddress":true,"locationId":"0-EU-ES-08-13-001-019-02-003","locationName":"Distrito Eixample, …{"title":"Avenida Diagonal, 535","hasHiddenAddress":false,"locationId":"0-EU-ES-08-13-001-019-04-001","locationName":"Barrio Les Corts, Bar…
addressDetailAvenida DiagonalCalle del Comte d'UrgellAvenida Diagonal, 535
bathrooms223
usableArea173221
energyPerformance17152148
appDetailFields{"adid":113165015,"price":1320000,"priceInfo.amount":1320000,"priceInfo.currencySuffix":"€","operation":"sale","propertyType":"homes","exte…{"adid":113158669,"price":840000,"priceInfo.amount":840000,"priceInfo.currencySuffix":"€","operation":"sale","propertyType":"homes","extend…{"adid":111156813,"price":2050000,"priceInfo.amount":2050000,"priceInfo.currencySuffix":"€","operation":"sale","propertyType":"homes","exte…
detailFetchedtruetruetrue
rowTypelistinglistinglisting
engineapp-apiapp-apiapp-api
addressCheck{"status":"ok","precision":"district","countryCode":"ES","distanceKm":1.4,"reference":{"city":"Barcelona","district":"Sant Gervasi - Galvan…{"status":"ok","precision":"district","countryCode":"ES","distanceKm":1.08,"reference":{"city":"Barcelona","district":"Sant Antoni"},"sugge…{"status":"ok","precision":"address","countryCode":"ES","distanceKm":0.02,"reference":{"address":{"number":"535","street":"AVINGUDA DIAGONA…

Unpublished details stay empty, and some addresses are partly hidden; public advertiser contacts are hidden in the sample.

Use it from Claude and Gemini

This source is a tool on the OpenData MCP server. Connect once and every MCP source is available; rows are billed from a prepaid OpenData wallet at $0.005 per delivered row. Setup guides: Claude · Gemini.

Claude (web and desktop)

  1. Open Customize > Connectors in Claude (web or desktop), choose + Add, then Add custom connector.
  2. Name it OpenData and paste the server URL https://ai.opendata.best/mcp.
  3. Sign in with OAuth, or set Authentication to No sign in and add the header Authorization with the value Bearer odk_YOUR_KEY.
  4. In a chat, turn the connector on from the + menu under Connectors.

Claude Code

claude mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp in Claude Code and choose Authenticate

# or with an API key
claude mcp add --transport http opendata https://ai.opendata.best/mcp --header "Authorization: Bearer odk_YOUR_KEY"

Gemini CLI

gemini mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp auth opendata in Gemini CLI and approve access

# or with an API key
gemini mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcp

Or add it to ~/.gemini/settings.json:

{
  "mcpServers": {
    "opendata": {
      "httpUrl": "https://ai.opendata.best/mcp",
      "headers": {
        "Authorization": "Bearer odk_YOUR_KEY"
      }
    }
  }
}

Prompt to collect data

Use the OpenData MCP server to collect Idealista Listings data. Request: Country: Spain; City or area: barcelona-barcelona; For sale or for rent: For sale. Return up to 20 rows (one row per entity) as a table with these columns: id, url, source, country, sourceLayer, channel, propertyType, title, address, addressText. Tell me how many rows were delivered and what they cost before showing them.

Prompt to analyse the CSV

I attached a CSV export of Idealista Listings (64 columns, one row per entity). Compare prices for properties with similar living space. Filter by neighborhood to compare homes in the same area. Sort by floor level to compare properties at similar heights. Use only the values in the file and point out empty columns instead of guessing. Note: Unpublished details stay empty, and some addresses are partly hidden; public advertiser contacts are hidden in the sample.

n8n, Clay and Make

All three run the Apify Actor lentic_clockss/idealista-scraper with your Apify token. Set a spending cap with maxTotalChargeUsd: the run stops when it reaches that amount, and you pay only for delivered rows.

Apify API (any tool that can send HTTP)

curl -X POST "https://api.apify.com/v2/acts/lentic_clockss~idealista-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"country": "PT", "location": "lisboa", "channel": "RENT", "propertyType": "homes", "maxResults": 5}'

n8n

  1. Add the Apify node (Apify n8n integration), choose Run an Actor and get dataset, and enter Actor lentic_clockss/idealista-scraper.
  2. Paste the example input above as the Input JSON and set the memory and timeout you need.
  3. Or install the n8n-nodes-opendata-actors community node: it exposes the main inputs as fields and a Max Total Charge (USD) setting sent as maxTotalChargeUsd (default $1). It covers a growing set of these Actors; use the Apify node for the rest.

Clay

Add the Run Apify Actor enrichment from Clay's Apify integration, choose the Actor and paste this input. Replace the {{…}} placeholder with a column reference (type / in Clay).

{
  "actorId": "lentic_clockss/idealista-scraper",
  "input": {
    "country": "PT",
    "location": "lisboa",
    "channel": "RENT",
    "propertyType": "homes",
    "maxResults": 5,
    "startUrls": [
      "{{Start URLs}}"
    ]
  }
}

Make

  1. Add the Apify module Run an Actor (Apify Make integration), pick lentic_clockss/idealista-scraper, paste the input JSON and turn on Run synchronously.
  2. Add Get Dataset Items with the run's defaultDatasetId.
  3. Send the rows to Google Sheets, Airtable or your CRM with an iterator.

Pricing, billing and limits

  • Billing unit: one delivered row is one billable unit on every channel. A confirmed empty result, an input error, a source failure or a timeout creates no billable rows.
  • OpenData Shop: the first 1,000 rows cost $5.00 per 1,000 and additional rows $3.00 per 1,000, with a $1.00 minimum; the product page shows the exact price before you pay. If fewer rows are delivered than you paid for, the amount for the missing rows is credited to your account balance automatically (refund policy).
  • Apify: $0.003 per delivered row on the Free plan plus a $0.005 start event per GB of memory; the run stops at your maxTotalChargeUsd.
  • MCP gateway: $0.005 per delivered row from a prepaid OpenData wallet.
  • x402: $0.003 per delivered row in USDC on Base, up to 10 rows per call; an unpaid call returns a 402 quote.
  • RapidAPI and API.market: billed under the plan you subscribe to on the marketplace.

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.

Limitations

  • Each order covers one country and place; Rooms under Property type always returns rentals.
  • Living space and floor are not order filters; unpublished details stay empty, including the separate personal-profile details.
  • Off-market listings, agency intranet records and negotiations on your behalf are excluded.
  • You can request 1 to 100,000 rows, with 200, 1,000 and 5,000 as presets; fewer arrive if fewer properties match.
  • 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.

Frequently asked questions

What information is in the Idealista listings CSV?

Each row describes one property, with its location, type, description, photos and link. You can compare prices in euros, room counts, living space and floor levels if published. Agency names and public advertiser contact names and phones can appear, including private landlords. The separate personal-profile details stay empty. Unpublished values remain empty, and private pocket listings are excluded. The sample on this page shows the exact column names.

How do I choose Spain, Italy or Portugal when ordering Idealista data?

Pick Spain, Italy or Portugal as the Country, give the city name, and choose For sale or For rent. The form asks for the Country, the City or area, For sale or for rent and an optional Property type, and you set the number of rows. Living space and floor are not order options; they appear in the file, so you can filter them afterwards.

Do I need separate Idealista orders per country, and how many rows can I get?

Yes: pick Spain, Italy or Portugal under Country (one country and place per order); for large files, splitting the order by city is recommended. Coverage is public Idealista listings in Spain, Italy and Portugal, while off-market listings and agency intranet data are excluded. You can order any whole number of rows from 1 to 100,000, with 200, 1,000 and 5,000 as presets, and fewer rows arrive if fewer listings match.

Can I get Madrid flats for sale from Idealista with living space?

Yes. Enter madrid-madrid (or a Madrid district such as madrid/chamberi) in City or area with Spain as the Country and For sale under For sale or for rent. Each row lists the displayed price, rooms, living space, floor and agency name, so you can sort flats by size or price in a spreadsheet and use the listing link to review each property. Lisbon rentals in Portugal or Milan listings in Italy are ordered the same way.

How long until my Idealista file is ready?

Idealista listings for your city and country site are collected after you pay. Most orders arrive within 24–48 hours of payment and all orders within 72 hours; you download the CSV from the order page. If the city returns fewer matching listings than the rows you paid for, the value of the missing rows is credited to your account balance automatically.

Is it legal to scrape Idealista?

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.