Home / Spain data / Export Pisos.com and Habitaclia listings to Google Sheets
Export Pisos.com and Habitaclia listings to Google Sheets, with price-drop alerts
A daily run reads both portals for a city, appends the listings to a sheet and marks which ones are new or changed price. This page goes through the input, the columns you get and the filter that leaves only the price drops.
Updated 2026-11-25
What you are building
- A saved input of Spain Property Scraper ↗ for one city, both portals and the only-new-or-changed switch on.
- A daily schedule, so each run returns only listings that are new or whose price changed since the last run.
- A step that appends those rows to Google Sheets, and a filter that keeps the price drops.
The Actor costs $0.65 per 1,000 listings. With the switch on, a run pays only for the listings it returns.
1. The input
{
"operation": "sale",
"cities": ["madrid"],
"portals": ["pisos.com", "habitaclia"],
"maxListingsPerSource": 100,
"onlyNewOrChanged": true
}operationis sale or rent.citiesare cities or provinces as they appear in the portal URLs.maxListingsPerSourcecounts per city and portal; in incremental mode it is how many listings are checked.minPrice,maxPrice,minRoomsandminAreaM2are optional filters. For your own filters, paste a search URL from either portal intostartUrls.
The columns you get
Two real rows from the sample of 16 sale listings published on this site (Madrid, 23 Nov 2026), one per portal:
| Field | Pisos.com | Habitaclia |
|---|---|---|
title | Piso en calle Solano | Piso con balcón en venta en Calle del General Díaz Porlier |
price (EUR) | 1060000 | 1650000 |
areaM2 / pricePerM2 | 206 / 5146 | 127 / 12992 |
rooms / bathrooms | 4 / 3 | 3 / 2 |
zone / city | Prado de Somosaguas / Pozuelo de Alarcón | Barrio De Salamanca / Madrid Capital |
postalCode | null | 28001 |
latitude | 40.4115232 | null |
agency | Inmobaralia | null |
changeType / previousPrice | null / null | null / null |
In this sample the Pisos.com rows carry coordinates and the agency but no postal code, and the Habitaclia rows carry postal code and region but no coordinates or agency. Plan the sheet for empty cells. Also note the first row: a search for Madrid on Pisos.com can include nearby towns of the same province, here Pozuelo de Alarcón and San Martín de la Vega.
2. Schedule it and keep only what changed
Save the input as a task and add a daily schedule; the schedules use case explains cron. With onlyNewOrChanged on, each run returns only listings that are new or whose price changed since your last run, and two fields say why:
changeType:newfor a listing not seen before,price_changedfor one whose price moved.previousPrice: the price before the change.
In our sample both fields are empty (null). The output example on the Actor page shows changeType: "new".
3. Send the rows to Google Sheets
There are three routes, described in send Actor results to Google Sheets: the Apify integration, n8n or Make, or a CSV link with IMPORTDATA. Read the token warning on that page before you use the last one. Because the Actor already returns only new or changed listings, appending rows is enough.
Keep only the price drops
The Actor FAQ gives the rule: keep the items where changeType is price_changed and price is below previousPrice. In an n8n Code node, before the Sheets step:
return items.filter((i) =>
i.json.changeType === "price_changed" && i.json.price < i.json.previousPrice
).map((i) => ({ json: { ...i.json, dropPct: Math.round((1 - i.json.price / i.json.previousPrice) * 1000) / 10 } }));The dropPct column is our addition: the drop as a percentage of the previous price, with one decimal.
Duplicates and limits
- The same home can be on both portals. The Actor does not merge them: use
portalandid, or comparetitle,priceandareaM2. - It reads only public search-result pages. It does not log in and does not open each listing.
- It does not collect phone numbers or names of private sellers: only property data and the agency name for professional listings.
- It reads Pisos.com and Habitaclia only.
Questions
Can I get the listings in Excel instead?
Yes. Open the Output tab of the run and download the dataset as Excel or CSV.
Does it work for rentals?
Yes. Set operation to rent.
Do I pay again for listings I already have?
Not with onlyNewOrChanged on: a run returns, and charges, only new listings and price changes.