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

  1. A saved input of Spain Property Scraper ↗ for one city, both portals and the only-new-or-changed switch on.
  2. A daily schedule, so each run returns only listings that are new or whose price changed since the last run.
  3. 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

input.json
{
  "operation": "sale",
  "cities": ["madrid"],
  "portals": ["pisos.com", "habitaclia"],
  "maxListingsPerSource": 100,
  "onlyNewOrChanged": true
}
  • operation is sale or rent.
  • cities are cities or provinces as they appear in the portal URLs.
  • maxListingsPerSource counts per city and portal; in incremental mode it is how many listings are checked.
  • minPrice, maxPrice, minRooms and minAreaM2 are optional filters. For your own filters, paste a search URL from either portal into startUrls.

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:

FieldPisos.comHabitaclia
titlePiso en calle SolanoPiso con balcón en venta en Calle del General Díaz Porlier
price (EUR)10600001650000
areaM2 / pricePerM2206 / 5146127 / 12992
rooms / bathrooms4 / 33 / 2
zone / cityPrado de Somosaguas / Pozuelo de AlarcónBarrio De Salamanca / Madrid Capital
postalCodenull28001
latitude40.4115232null
agencyInmobaralianull
changeType / previousPricenull / nullnull / 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: new for a listing not seen before, price_changed for 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:

n8n Code node
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 portal and id, or compare title, price and areaM2.
  • 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.

Sources

Keep reading