Idealista Scraper
Pricing
from $0.40 / 1,000 listing (search card)s
Idealista Scraper
Scrape Idealista property listings in Spain, Italy and Portugal: price, price drops, m², rooms, floor and agency, plus full details for Spain (bathrooms, address, GPS, features, energy rating, photos). Any search URL or location, with price-change tracking.
Pricing
from $0.40 / 1,000 listing (search card)s
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Scrape property listings from Idealista Spain (idealista.com), Italy (idealista.it) and Portugal (idealista.pt). Paste any Idealista search URL, or type a city with sale/rent, property type and price and size filters. Each row is one listing with price, price drop, price per m², size, rooms, floor, lift, parking, terrace, short description and the agency; for Spain, turn on full details to add bathrooms, address, neighborhood, district, coordinates, full description, features, energy rating and every photo. Turn on tracking to get only new listings and price changes on each scheduled run.
What can this Idealista scraper do?
- Any search URL: set filters on Idealista (price, size, bedrooms, features, sort order), copy the results URL and paste it. Every filter in the URL is kept.
- Location search without a URL:
madrid-madrid,barcelona-barcelona,milano-milano,roma-roma,lisboaand so on, with sale or rent, property type, price and size filters. - Three countries in one run: mix Spanish, Italian and Portuguese URLs freely.
- Full listing details (Spain): bathrooms, all features, energy certificate, year built, condition, address hierarchy, map coordinates and the complete photo gallery.
- Single listings (Spain): paste listing URLs such as
idealista.com/inmueble/112732471/to refresh known properties. - New-listing and price-change tracking: each row is marked
NEW,PRICE_CHANGEDorUNCHANGEDwith the previous price; unchanged ones can be skipped and are then not charged. - No duplicates: a listing returned by several searches in one run is saved once.
Who is it for?
Real estate investors
Watch a city or neighborhood every day, get new listings and price drops first, and compare price per m² across districts.
Real estate agents and agencies
Monitor competitor inventory, find private sellers (advertiserType: private) and see which agencies list in your area.
Proptech and data teams
Feed listings with coordinates, features and energy ratings into valuation models, dashboards and market reports for Spain, Italy and Portugal.
Relocation services and buyers
Build shortlists of homes for sale or rent with photos and full descriptions, and get notified when the price drops.
Researchers and journalists
Measure asking prices, rents and supply over time with consistent, structured data.
Why use this Idealista scraper?
- Spain, Italy and Portugal with one input format and one output format.
- Price drops included: Idealista's own "price before" and drop percentage on every listing that has one, plus your own run-to-run price history with tracking.
- Fast cards or full detail: search-card fields by default for all three countries; full listing pages for Spain when you need every field.
- No login, no API key, no proxy setup: the Actor brings its own residential proxy and browser.
- Honest status: the run ends with "Got X of Y listings" and the reason it stopped.
What data does it extract?
| Field | Example | Notes |
|---|---|---|
listingId, url | 112732471, https://www.idealista.com/inmueble/112732471/ | Idealista property code |
country, operation | es, sale | sale or rent |
propertyType, title | piso, Piso en venta en Plaza Pintor Amalio García del Moral, 10 | Site language |
price, currency | 679500, EUR | Monthly rent for rentals |
pricePerSquareMeter | 3634 | €/m² |
originalPrice, priceDropPercent | 385000, 8 | When Idealista shows a price drop |
sizeM2, rooms, bathrooms | 187, 5, 3 | Rooms = bedrooms (ES, PT) or locali (IT) |
floor, hasLift, hasParking, hasTerrace, hasSwimmingPool, hasAirConditioning | 2ª planta exterior, true | null = not stated |
address, neighborhood, district, municipality, province | Nervión, Sevilla | As shown on the listing |
latitude, longitude | 37.3771631, -5.9741061 | Map position of the listing |
description | Full advertiser text | Card excerpt when details are off |
features | ["187 m² construidos", "3 baños", ...] | Every line of the features block |
condition, yearBuilt | Segunda mano/buen estado, 2012 | |
energyRating, energyConsumption | E, 173 kWh/m² año | When the certificate is published |
thumbnail, photos, photoCount | URLs | All gallery photos with details on |
hasVideo, hasVirtualTour, hasFloorPlan | true | |
advertiserType, advertiserName, agencyUrl, agencyLogo, advertiserReference | professional, Gilmar Sevilla | Private sellers are private |
changeType, previousPrice, firstSeenAt | PRICE_CHANGED, 699000 | With tracking on |
searchUrl, detailsScraped, scrapedAt | Provenance |
How to scrape Idealista listings
- Open the Actor and go to the Input tab.
- Paste one or more Idealista search URLs, or enter a location such as
madrid-madridand choose country, operation and property type. - Set Maximum listings (for example 100).
- For Spanish searches, turn on Include full listing details for every field; leave it off for faster, cheaper card data.
- Click Start and download the results as JSON, CSV, Excel or HTML, or read them through the API.
Input parameters
| Parameter | Type | Description |
|---|---|---|
startUrls | array | Idealista search results URLs or listing URLs from idealista.com, idealista.it or idealista.pt. Filters in the URL are kept. |
locations | array | Locations as written in Idealista URLs, e.g. madrid-madrid, malaga-malaga, milano-milano, lisboa, or a deeper path like madrid/centro/sol. |
country | string | es, it or pt for locations. Default es. |
operation | string | sale or rent for locations. Default sale. |
propertyType | string | homes, rooms (rent), newDevelopments (sale), offices, premises, garages, lands, storageRooms, buildings. |
minPrice, maxPrice | integer | Price range in euros for locations (monthly rent for rentals). |
minSize, maxSize | integer | Size range in m² for locations. |
sortBy | string | relevance, newest, lowestPrice, highestPrice, biggest, biggestPriceDrop. |
maxItems | integer | Most listings to save in the run, across all searches. Default 100. |
includeDetails | boolean | Spain only: open each listing page for every field. Default false. |
monitoringMode | boolean | Track new listings and price changes between runs. |
onlyNewOrChanged | boolean | With tracking, skip unchanged listings (not saved, not charged). Default true. |
monitoringKey | string | Optional name to share tracking memory between tasks. |
Example input:
{"locations": ["sevilla-sevilla"],"country": "es","operation": "sale","propertyType": "homes","maxPrice": 400000,"minSize": 70,"sortBy": "newest","maxItems": 200,"includeDetails": true}
Output example
{"listingId": "112732471","url": "https://www.idealista.com/inmueble/112732471/","country": "es","operation": "sale","propertyType": "piso","title": "Piso en venta en Plaza Pintor Amalio García del Moral, 10","price": 679500,"currency": "EUR","pricePerSquareMeter": 3634,"originalPrice": null,"priceDropPercent": null,"sizeM2": 187,"rooms": 5,"bathrooms": 3,"floor": "2ª planta exterior","hasLift": true,"hasParking": true,"hasTerrace": null,"hasSwimmingPool": null,"hasAirConditioning": true,"address": "Plaza Pintor Amalio García del Moral, 10","neighborhood": "Nervión","district": "Nervión","municipality": "Sevilla","province": "Sevilla","latitude": 37.3771631,"longitude": -5.9741061,"description": "NO COBRAMOS COMISIÓN AL COMPRADOR ...","features": ["187 m² construidos", "5 habitaciones", "3 baños", "Plaza de garaje incluida en el precio", "Segunda mano/buen estado", "Aire acondicionado", "Con ascensor"],"condition": "Segunda mano/buen estado","yearBuilt": null,"energyRating": "E","energyConsumption": "173 kWh/m² año","photoCount": 41,"photos": ["https://img4.idealista.com/blur/WEB_DETAIL/0/id.pro.es.image.master/5e/20/7f/1482685657.jpg"],"hasVideo": true,"hasVirtualTour": true,"hasFloorPlan": true,"advertiserType": "professional","advertiserName": "Gilmar Sevilla","agencyUrl": "https://www.idealista.com/pro/gilmar-sevilla/","advertiserReference": "FP 227640","detailsScraped": true,"searchUrl": "https://www.idealista.com/venta-viviendas/sevilla-sevilla/","changeType": null,"previousPrice": null,"scrapedAt": "2026-11-20T07:20:11.000Z"}
How much does it cost to scrape Idealista listings?
Pay per event: you pay only for listings saved, plus one start fee per run. Prices on the Starter (Bronze) plan; higher plans pay less.
| Event | Price | When |
|---|---|---|
| Start (Spain) | $0.02 per run | Runs that read only idealista.com |
| Start (Italy or Portugal) | $0.04 per run | Runs that read idealista.it or idealista.pt, instead of the Spain fee |
| Listing (search card) | $0.000495 per listing | Every listing saved without opening its page (all three countries) |
| Listing with full details | $0.0016954 per listing | Spanish listings saved after opening their page (Include full listing details on) |
Examples: 1,000 Spanish card rows cost about $0.52; 1,000 Italian card rows about $0.54; 100 Spanish listings with full details about $0.19. With tracking and Save only new and repriced listings on, unchanged listings are skipped and not charged. Set Maximum charge per run in the run options to cap any run.
Track new listings and price drops every day
Turn on Track new listings and price changes, save the input as a task and schedule it daily or weekly. The Actor remembers each listing and its price in a key-value store in your account. The next run marks listings as NEW or PRICE_CHANGED (with previousPrice) and, with Save only new and repriced listings on, skips the rest, so you pay only for what changed. Give several tasks the same Tracking name to share one memory.
Use an Idealista search URL
Any results page works: city or neighborhood pages, pages with filters such as con-precio-hasta_300000,de-dos-dormitorios, and sorted pages (?ordenado-por=fecha-publicacion-desc). The Actor follows Idealista's own "next page" links until Maximum listings is reached or the search ends.
Export and integrations
Download results as JSON, CSV, Excel, XML or HTML, or connect the dataset to Google Sheets, Make, Zapier, n8n, Airbyte, Slack or a webhook through Apify integrations. Use listingId as a stable key when you merge runs.
Run through the Apify API with cURL
curl -X POST "https://api.apify.com/v2/acts/automation-lab~idealista-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"startUrls":[{"url":"https://www.idealista.com/venta-viviendas/madrid-madrid/"}],"maxItems":50}'
Run with JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('automation-lab/idealista-scraper').call({locations: ['barcelona-barcelona'],operation: 'rent',maxPrice: 1800,maxItems: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((item) => [item.price, item.sizeM2, item.url]));
Run with Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("automation-lab/idealista-scraper").call(run_input={"locations": ["milano-milano"],"country": "it","operation": "sale","maxItems": 100,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["price"], item["sizeM2"], item["url"])
Use with MCP and AI agents
Add the Actor-scoped Apify MCP endpoint to Claude Code:
claude mcp add --transport http apify \"https://mcp.apify.com?tools=automation-lab/idealista-scraper"
For Claude Desktop, Cursor or VS Code, add this MCP JSON configuration:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/idealista-scraper"}}}
The agent starts one run, keeps the run ID, checks that same run until it finishes, and then reads the dataset in pages (for example 20 rows at a time, with only the fields it needs) instead of loading everything at once.
Example prompts:
- "Use the Idealista scraper to get 50 flats for rent in Valencia under 1,200 € and list the cheapest per m²."
- "Collect 200 homes for sale in Lisbon with an energy rating and tell me the share of A and B ratings."
- "Find listings in Milan whose price dropped by more than 10%."
Reliability and limits
Idealista protects Spain with DataDome and Italy and Portugal with Cloudflare. The Actor opens a real stealth browser on a residential IP in the same country and reads every page from inside that browser session, switching to a new IP when a request is refused. Opening access usually takes 10-40 seconds per country.
Italy and Portugal allow only about 30 pages per IP address, and each new browser session there has to pass the Cloudflare check again. That makes listing pages several times dearer than in Spain, so for idealista.it and idealista.pt the Actor reads search results (card fields) only, and single listing URLs from those sites are not accepted. If the site keeps refusing access, the run ends with a clear message; you are charged only for listings actually saved.
Idealista limits how many result pages one search shows. For very large areas, split the search by price range, property type or neighborhood and run several URLs together; duplicates across them are removed.
Phone numbers are not collected: Idealista shows them only after an interactive check, and many advertisers are private people.
Is it legal to scrape Idealista?
The Actor reads only public listing pages that anyone can open without an account. It does not log in, contact advertisers or collect phone numbers. Listing texts and photos may be protected by copyright, and advertiser names can be personal data, so make sure your use complies with Idealista's terms, copyright and data-protection law (GDPR) in your jurisdiction. If you are unsure, consult a lawyer.
Troubleshooting
My location returned no listings
Write the location exactly as it appears in Idealista URLs: open the area on Idealista and copy the part after /venta-viviendas/, /vendita-case/ or /comprar-casas/. Spanish cities usually need the province too (malaga-malaga, marbella-malaga). The log says when a location is not a results page.
Why are some fields null?
Only what the advertiser publishes is available. Address, energy certificate and year built are often missing, and with details off (and always in Italy and Portugal) only the card fields are filled.
FAQ
Do I need an Idealista account or API key?
No.
Does maxItems apply per search?
No, it is the total for the run across all URLs and locations.
Can it scrape France or other countries?
Spain, Italy and Portugal are supported; full listing details are available for Spain. Idealista France is not.
Is this an official Idealista product?
No. This is an independent tool, not affiliated with or endorsed by idealista S.A.U.
Related automation-lab Actors
- Imovirtual Portuguese Real Estate Scraper
- ImmoScout24 Property Scraper
- Immowelt Property Listings & Agents Scraper
- Rightmove Scraper
- Zillow Scraper
Data handling and dependencies
No AI models or external enrichment services are used. Requests go to public Idealista pages through Apify residential proxy. Failed operations also send sanitized diagnostic input, exceptions, and Actor/build/run IDs to our private GlitchTip service for repair; secret fields are removed and diagnostic reports are retained for 30 days. Apify hosts runtime, logs and the run's default dataset under your storage settings. With tracking on, listing IDs, prices and first-seen dates are kept in a key-value store named idealista-scraper-monitoring in your own account until you delete it. Proxy and runtime usage are included in the price; no other accounts or fees are needed.
Output contains public listing data, including advertiser names as published (agencies, sometimes private sellers). Phone numbers and e-mail addresses are not collected. Logs contain counts and public URLs, not page bodies or credentials. Browser cookies live only for the run. Delete run storage in Console or through the Apify API when you no longer need it.
The Actor uses Apify's standard end-user terms. Idealista is named only to identify the public data source.
Support
If a run fails, open an issue on the Actor page with the run URL and your input (no credentials). We usually answer within one business day.