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

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

Pricing

$1.00 / 1,000 listing returneds

Go to Apify Store
Spain Property Scraper: Pisos.com & Habitaclia, Sale & Rent

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

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.

Pricing

$1.00 / 1,000 listing returneds

Rating

0.0

(0)

Developer

Juan Francisco

Juan Francisco

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Features

Limited permissions

Share

Spain Property Scraper: Pisos.com and Habitaclia listings, sale and rent

Scrape Spanish real estate listings from Pisos.com and Habitaclia in one clean JSON format: price, price per m², size, rooms, bathrooms, zone, coordinates and agency, for homes for sale and for rent. No login, no proxy, no API key. In incremental mode each run returns only new listings and price drops, so scheduled monitoring only pays for what matters.

Idealista and Fotocasa are protected against automated access. This Actor covers two large Spanish portals that are not, and joins them in a single schema, so you maintain one integration instead of two. It does not return Idealista or Fotocasa data.

Who is it for

  • Real estate agencies and investors: spot new listings and price drops below market in a city, every day.
  • Proptech and data teams: feed a CRM, dashboard or model with fresh structured data.
  • Analysts: price per m² by zone for sale listings, rent levels by city.
  • n8n, Make and AI-agent builders: compact JSON ready for an LLM.

Quick start

Paste this in the Console and press Start (about 15 seconds, 20 listings):

{
"cities": ["madrid"],
"maxListingsPerSource": 10
}

Real output (shortened):

{
"portal": "pisos.com",
"operation": "sale",
"title": "Piso en calle del General Álvarez de Castro",
"price": 1050000,
"currency": "EUR",
"pricePerM2": 9292,
"areaM2": 113,
"rooms": 3,
"bathrooms": 1,
"zone": "Trafalgar",
"city": "Madrid Capital",
"latitude": 40.4353091,
"longitude": -3.7019234,
"agency": "Tengacasa",
"url": "https://www.pisos.com/comprar/piso-trafalgar28010-65067693696_440000/"
}

Input

FieldTypeDescription
operationstringsale or rent. Default sale.
citiesarrayCities or provinces as they appear in portal URLs: madrid, barcelona, valencia, sevilla... Accents and spaces are handled.
portalsarraypisos.com, habitaclia or both (default).
propertyTypestringPisos.com only: pisos (apartments) or casas (houses). Habitaclia returns all residential types.
startUrlsarrayOptional. Paste search-result pages from either portal with your own filters (zone, price, rooms...).
maxListingsPerSourceintegerPer city and portal. Default 100. In incremental mode this is how many listings are checked.
onlyNewOrChangedbooleanIncremental mode. Default false.
minPrice, maxPrice, minRooms, minAreaM2integerOptional filters. Filtered-out listings are not charged.

Daily monitoring example:

{
"operation": "sale",
"cities": ["madrid", "barcelona"],
"maxListingsPerSource": 200,
"onlyNewOrChanged": true,
"maxPrice": 450000,
"minRooms": 2
}

Output

One dataset item per listing: portal, id, url, operation, propertyType, title, price, currency, pricePerM2, areaM2, rooms, bathrooms, floor, zone, city, region, postalCode, latitude, longitude, sellerType, agency, agencyUrl, description, imageUrl, changeType, previousPrice, scrapedAt.

changeType is new or price_changed in incremental mode (otherwise null). Habitaclia listings include postal code and region but no coordinates or agency in the public listing page. pricePerM2 is only calculated for sale listings.

Pricing compared with other Actors

Pay per event: you only pay for the listings you receive. Filtered-out listings and unchanged listings in incremental mode are free, as are searches that cannot be read.

ActorPortalPrice per 1,000 listings
This Actor (rawtojson)Pisos.com + Habitaclia$1.00
igolaizola/idealista-scraperIdealista$0.90 + start fee
memo23/idealista-scraperIdealista$1.00 + start fee
azzouzana/fotocasa scraperFotocasa$0.70 + start fee

Prices of other Actors taken from their public Store pages in November 2026 and may change. Those Actors cover other portals; this one is for Pisos.com and Habitaclia and includes built-in new-listing and price-drop detection. Set a maximum cost per run in the Apify run options and the Actor stops cleanly when it is reached.

Schedule it and send the data to Google Sheets, Slack or a webhook

  • Daily alerts: click Save as task, set onlyNewOrChanged: true, then Schedules to run it every day. Each run returns only new listings and price changes.
  • Google Sheets: use the Apify integration "Export to Google Sheets" on the task, or in n8n / Make use "Run Actor" followed by "Add row" in Google Sheets.
  • Webhook: add a webhook on the event "Run succeeded" in the task to call Slack, email, Zapier or your own API.
  • Price drops only: filter the output for changeType = price_changed where price < previousPrice.
  • AI agents (MCP): call it through the Apify MCP server (mcp.apify.com).

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.
  • Personal data: the Actor does not collect phone numbers or names of private sellers. It returns property data and the agency name for professional listings only. If you combine the data with other sources, you are responsible for complying with the GDPR.
  • The Pisos.com page for a big city can include nearby municipalities from the same province (for example a barcelona rent search can include towns such as Vic or Sabadell). Habitaclia returns the city itself. Use zone and city to filter.
  • Habitaclia incremental mode follows the portal's default order (relevance), so use a generous maxListingsPerSource for markets with many new listings per day.
  • Listings can appear on both portals. Use portal and id to deduplicate, or compare title, price and areaM2.
  • Portals can change their pages at any time. If a run returns an item with an error field, check that the city or URL opens in your browser, and open an issue if it does.

FAQ

Do I need an account or API key? No.

Does it include Idealista or Fotocasa? No. Only Pisos.com and Habitaclia.

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 filter the output for changeType = price_changed where price < previousPrice.

Why is a city name not found? Use the name as it appears in the portal URL (for example a-coruna). Items with an error field tell you which search failed.

The Actor reads only public search-result pages of Pisos.com and Habitaclia. It is not affiliated with either portal. Respect the portals' terms and applicable law, including the GDPR, and use the data for lawful purposes only.

En español (resumen)

Scraper de inmuebles de España para Pisos.com y Habitaclia: viviendas en venta y alquiler en un único formato JSON, con precio, precio por m², superficie, habitaciones, baños, zona, coordenadas y agencia. Sin login, sin proxy y sin API key. Con el modo incremental (onlyNewOrChanged) cada ejecución devuelve solo los anuncios nuevos o con cambio de precio, y solo pagas por ellos (1 $ por cada 1.000 anuncios). Programa una ejecución diaria y envía los resultados a Google Sheets, Slack o un webhook. No incluye Idealista ni Fotocasa. Puedes pegar tus propias URLs de búsqueda con filtros en startUrls.

Support

Found a bug or need another field? Open an issue on the Actor page; issues are answered within 24 hours. More Actors by rawtojson at https://rawtojson.com.