Crawlsmith

Habitaclia.com Spain Scraper

Scrape habitaclia.com real-estate listings across Spain. Filter by transaction, property type, location, price, area, rooms and advertiser or paste any habitaclia URL. Get price, area, rooms, energy rating, amenities, photos and advertiser. Incremental monitoring for cheap daily runs.

What it does

This scraper automatically browses Habitaclia listings and collects structured, ready-to-use data — no manual copy-pasting, no logins. Just set your filters and hit Start.

Two ways to use it:

  1. Filter Mode — Pick a transaction (sale or rent), a property type, a location and optional price/area/room filters. The scraper builds the search for you and collects every matching listing.
  2. Direct URL Mode — Already have a Habitaclia search or property link? Paste it in and the scraper figures out the rest automatically.

Bonus — Monitoring Mode: Re-run the same search daily and get only what changed — new listings, price drops and removed properties. Perfect for catching deals the moment they appear, at a fraction of the cost.

Who uses it

User Use Case
Real estate agencies Track the market, benchmark prices, find new listings to match buyers
Property investors Spot undervalued properties and price drops across neighborhoods
Market analysts Build datasets on Spanish housing prices, supply and energy efficiency
Proptech & valuation Feed live supply data into pricing, recommendation and valuation models
Relocation services Find rentals matching client budgets, sizes and locations
Journalists & researchers Study housing affordability and trends with real, current data

Input

24 options. Required ones are marked.

Option What it does
Transaction type Whether to scrape properties for sale or for rent.
Property type Type of property. 'Any home' covers all residential listings; the rest map to habitaclia's dedicated categories.
Location Habitaclia location: a city, town, province or district.
Sort order Native habitaclia ordering of the search results. habitaclia dropped the area ordering in its 2026 redesign; old tasks that still use it get relevance order.
Start URLs (advanced — overrides filters) Optional.
Min price (€) Only keep listings priced at or above this (EUR).
Max price (€) Only keep listings priced at or below this (EUR).
Min area (m²) Only keep listings with at least this built area (m²).
Max area (m²) Only keep listings with at most this built area (m²).
Min rooms Only keep listings with at least this many rooms.
Max rooms Only keep listings with at most this many rooms.
Advertiser type Filter by who posted the ad.
Keyword Only keep listings whose title or description contains this text (accent-insensitive).
Fetch full property details When enabled, every listing is opened to collect the full record: long description, build year, energy certificate, all amenities, every photo and the advertiser.

Plus 10 more options. Full input reference on Apify.

Output fields

20 fields, grouped the way the dataset views show them. Export to JSON, CSV, Excel or pull them through the API.

Overview

  • Title
  • Price (€)
  • Currency
  • €/m²
  • Area m²
  • Rooms
  • Baths
  • Type
  • Location
  • Advertiser
  • URL

Location

  • Title
  • Neighborhood
  • District
  • City
  • Comarca
  • Province
  • URL

Monitoring changes

  • Change
  • Title
  • Price (€)
  • Price drop (€)
  • First seen
  • Last seen
  • URL

Example output

One record, shortened. Real runs return one row like this per result.

{
  "adId": "3722004441396",
  "realEstateAdId": "a8a9b811-f74e-4b51-98f1-f5ea03de70e7",
  "detailUrl": "https://www.habitaclia.com/i3722004441396.htm",
  "title": "Preciosa casa pareada OPORTUNIDAD EN VILAFORTUNY CAMBRILS",
  "shortDescription": "Ubicada en la tranquila y residencial zona de Els Ametllers, en Cambrils Vilafortuny, esta magnífica casa pareada es una…",
  "description": "Ubicada en la tranquila y residencial zona de Els Ametllers, en Cambrils Vilafortuny, esta magnífica casa pareada es una oportunidad única para quienes busca...",
  "transactionType": "sale",
  "propertyType": "house",
  "propertySubtype": "pairedhouse",
  "advertType": "secondhand",
  "advertiserType": "agency",
  "publisherId": "3722",
  "advertiserId": "3722",
  "advertiserName": "AGN SERVICIOS INTEGRALES",
  "advertiserUrl": "https://www.habitaclia.com/inmobiliaria/agn-servicios-integrales/",
  "agencyRef": "AGN942",
  "price": 448000,
  "priceCurrency": "EUR",
  "pricePerSqm": 1665,
  "priceDropValue": null,
  "hasPriceDrop": false,
  "areaSqm": 269,
  "rooms": 4,
  "bathrooms": 3,
  "floor": null,
  "location": "Carrer Treviso, Vilafortuny - Cap de Sant Pere, Cambrils",
  "province": "Tarragona",
  "comarca": "Baix Camp",
  "city": "Cambrils",
  "district": "Vilafortuny - Cap de Sant Pere",
  "neighborhood": "Els Ametllers",
  "latitude": 41.0775021,
  "longitude": 1.0862295,
  "energyConsumptionClass": null,
  "energyConsumptionValue": null,
  "energyEmissionsClass": null,
  "energyEmissionsValue": null,
  "features": [
    "FURNISHED",
    "EQUIPPED_KITCHEN",
    "WARDROBES"
  ],
  "hasElevator": null,
  "hasParking": false,
  "hasTerrace": null,
  "hasPool": true,
  "hasGarden": true,
  "hasAirConditioning": true,
  "isFurnished": true,
  "hasBalcony": true,
  "hasStorageRoom": false,
  "mainImageUrl": "https://static.fotocasa.es/images/ads/4cdb2c41-03e7-416c-9210-37942470d588?rule=original",
  "imageUrls": [
    "https://static.fotocasa.es/images/ads/4cdb2c41-03e7-416c-9210-37942470d588?rule=original",
    "https://static.fotocasa.es/images/ads/eae5b941-7c9c-440f-bc6f-b429e9ec5492?rule=original",
    "..."
  ],
  "imageCount": 53,
  "updatedAt": "2026-08-31T16:04:40.9354478+02:00",
  "itemId": "3722004441396",
  "scrapedAt": "2026-09-26T09:59:21.583Z"
}

How to run it

  1. 1. Open the scraper on Apify and sign in (free plan works).
  2. 2. Fill in the input: search terms, URLs or filters, and a result limit.
  3. 3. Run it, then download JSON, CSV or Excel, or pull the dataset through the API.
  4. 4. Schedule it to get fresh data daily or weekly.

FAQ

Do I need a Habitaclia account or login? +

No. The scraper only reads publicly visible listings — no account, no credentials, nothing to set up.

Can I scrape both for-sale and rental properties? +

Yes — just switch the transaction type. You can run separate searches for sale and rent.

How do I keep costs low? +

Leave full details off (the default) — you still get ~45 fields per listing for free, including the description, photos and energy certificate. Turn on full details only when you need the build year and the full characteristics list. For daily tracking, use Monitoring Mode to pay only for what changed.

Can I filter by price, size or rooms? +

Absolutely. Set min/max price, min/max area and min/max rooms — plus advertiser type and keyword — to get exactly the listings you want.

Can I export the data? +

Yes — JSON, CSV, Excel, XML, HTML, RSS. You can also push data directly to Google Sheets, Zapier, Make, or any webhook/API endpoint.

How often should I run this? +

For fresh data, run daily or weekly. You can schedule automatic runs on Apify with just a few clicks, and Monitoring Mode keeps recurring runs cheap.

Does it work with proxies? +

Yes — it uses Apify's built-in proxy service automatically. For very large or fast runs, residential proxies with country ES give the most reliable results.

Need something this scraper does not do?

Extra fields, a different filter, a recurring feed into your database or a one-off bulk export.

Ask for a custom version

Related scrapers