Home / Actors / Spain Property Scraper: Pisos.com & Habitaclia, Sale & Rent

LiveReal estate · Spain

Spain Property Scraper: Pisos.com & Habitaclia, Sale & Rent

Homes for sale and rent in Spain from Pisos.com and Habitaclia, with new-listing and price-drop alerts.

Try it on Apify ↗Download sample ↓How-to guidesRate it on Apify ↗

Scrape homes for sale and rent in Spain from Pisos.com and Habitaclia in one JSON schema: price, m2, rooms, zone, coordinates, agency.

Incremental mode returns only new listings and price drops. No login, no proxy. Pay per listing.

What it is for

  • Monitor a market daily and get alerts on new listings and price drops.
  • Price per m² by zone for sale listings, and rent levels by city.
  • Feed a CRM, spreadsheet, dashboard or proptech product with fresh structured data.
  • Investors and agencies: spot opportunities below market price.
  • AI agents: compact JSON ready for an LLM.

Input

The input is a small flat JSON. Only channels, or the first field, is required.

FieldTypeDescription
operationstringsale or rent.
citiesarrayCities or provinces as they appear in portal URLs.
portalsarraypisos.com, habitaclia or both.
propertyTypestringPisos.com only: pisos (apartments) or casas (houses).
startUrlsarrayOptional search-result pages from either portal with your own filters.
maxListingsPerSourceintegerPer city and portal. In incremental mode, how many listings are checked.
onlyNewOrChangedbooleanReturn only listings that are new or whose price changed since your last run.
minPrice / maxPriceintegerOptional price filters in EUR.
minRooms / minAreaM2integerOptional rooms and area filters.
input.json
{
  "operation": "sale",
  "cities": [
    "madrid",
    "barcelona"
  ],
  "portals": [
    "pisos.com",
    "habitaclia"
  ]
}

Output

One dataset item per result. This is real output from a real run.

Real output
{
  "portal": "pisos.com",
  "id": "65077851154.510936",
  "url": "https://www.pisos.com/comprar/piso-carabanchel_san_isidro28019-65077851154_510936/",
  "operation": "sale",
  "propertyType": "pisos",
  "title": "Piso en calle de San Cándido",
  "price": 439900,
  "currency": "EUR",
  "pricePerM2": 4888,
  "areaM2": 90,
  "rooms": 3,
  "bathrooms": 2,
  "floor": "1ª planta",
  "zone": "San Isidro",
  "city": "Madrid Capital",
  "latitude": 40.399459,
  "longitude": -3.7209612,
  "sellerType": "agency",
  "agency": "Redpiso Estudio Pradera De San Isidro",
  "changeType": "new",
  "previousPrice": null
}

Pricing

$0.65 per 1,000

Pay per event: you are charged only for results returned. Filtered-out items and failed lookups are free. Apify also lets you set a maximum cost per run.

Pricing →

Need something custom? →

How to export Pisos.com and Habitaclia listings →

Compare with other Actors on the Store →

Limits and good to know

  • Only public search-result pages are read. The Actor does not log in and does not open each listing's detail page.
  • It does not collect phone numbers or names of private sellers: only property data and the agency name for professional listings.
  • Pisos.com's city page for a big city can include nearby municipalities from the same province. Habitaclia returns the city itself.
  • Listings can appear on both portals. Use portal and id, or compare title, price and areaM2, to deduplicate.

Questions

Do I need an account or API key?

No.

Does it work for rent and for sale?

Yes. Set operation to rent or sale.

Can I use my own filters?

Yes. Paste a search URL with your filters from either portal into startUrls.

How do I get only price drops?

Turn on onlyNewOrChanged and keep the items where changeType is price_changed and price is below previousPrice.

Does it collect phone numbers or private sellers' names?

No. It returns property data and the agency name for professional listings only.

Rate it on Apify

Used it? A rating or review on Apify helps other people judge it, and tells us what to fix.

Rate it on Apify ↗