Habitaclia Spain Property Scraper
Pricing
from $0.80 / 1,000 record scrapeds
Habitaclia Spain Property Scraper
Scrape Habitaclia property listings across all of Spain. Prices, locations with coordinates, energy ratings, features, photos and agency contacts for homes, rentals, offices, premises, parking and land.
Pricing
from $0.80 / 1,000 record scrapeds
Rating
0.0
(0)
Developer
BowTiedRaccoon
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Share
Collect property listings from Habitaclia (habitaclia.com), one of Spain's biggest property portals and the strongest one in Catalonia. Covers homes for sale and for rent, offices, commercial premises, parking, land, investment properties and industrial buildings in all 52 Spanish provinces.
What does the Habitaclia Spain Property Scraper do?
- Returns complete listings: price, full description, exact coordinates, rooms, bathrooms, built area, floor, condition, energy rating, features, photos and the advertiser's contact details
- Covers every province in Spain, from Barcelona and Madrid to the Balearic and Canary Islands, Ceuta and Melilla
- Handles sale and rental listings, and seven property types, in a single run
- Reaches every listing, including provinces and cities with tens of thousands of ads
- Narrows by price range, or by pasting any Habitaclia search page (a city, district or neighbourhood)
What data does it extract?
| Field | Description |
|---|---|
listing_id | Habitaclia listing id |
reference | Advertiser's own reference for the property |
listing_url | Link to the listing on Habitaclia |
title | Listing headline (empty when the advertiser left it blank) |
price | Asking price in EUR, or monthly rent for rentals. Empty when the price is on request |
currency | EUR |
transaction_type | sale or rent |
property_type | Subtype such as flat, house, penthouse, chalet, office |
address | Street and number |
neighborhood, district, municipality, province | Location hierarchy |
latitude, longitude | Coordinates |
rooms, bathrooms | Bedroom and bathroom counts |
area_sqm | Built area in square metres |
floor | Floor number, or mezzanine |
construction_year | Year the building was constructed |
condition | Condition of the property, such as GOOD or NEEDS_RENOVATION |
energy_certificate | Energy efficiency rating, A to G |
description | Full listing text, in the language the advertiser wrote it |
features | Listed amenities such as ELEVATOR or TERRACE |
agency_name, agency_url | Advertiser name and website |
agent_phone, agent_email | Contact details |
image_urls | Photo URLs |
updated_at | When the listing was last updated |
scraped_at | When the record was collected |
Fields the advertiser did not fill in come back empty. In a sample of 300 listings from Barcelona, Madrid and Girona, price, coordinates, area, description and contact phone were present on every listing, bathrooms on 96 percent, rooms on 90 percent and the energy rating on 62 percent.
How to use it
- Choose Transaction Types (for sale, for rent, or both) and Property Types.
- Choose the Provinces to cover. Leave the list empty to cover the whole country.
- Set Max Items to the number of listings you want.
- Optionally set a Minimum Price or Maximum Price.
- Run it and download the dataset as JSON, CSV or Excel.
Input
| Field | Type | Default | Description |
|---|---|---|---|
maxItems | integer | 10 | Maximum number of listings to return |
transactionTypes | array | ["buy"] | buy, rent, or both |
propertyTypes | array | ["home"] | home, parking, commercial, office, land, investment, industrial |
provinces | array | ["barcelona"] | Provinces to cover. Empty means all of Spain |
searchUrls | array | empty | Habitaclia search page URLs. When set, these replace the province selection |
minPrice | integer | none | Lowest price in EUR (monthly rent for rentals) |
maxPrice | integer | none | Highest price in EUR (monthly rent for rentals) |
Example, 500 flats for rent in Madrid under 1,500 EUR a month:
{"maxItems": 500,"transactionTypes": ["rent"],"propertyTypes": ["home"],"provinces": ["madrid"],"maxPrice": 1500}
Example, everything on sale in one neighbourhood:
{"maxItems": 2000,"searchUrls": ["https://www.habitaclia.com/comprar/viviendas/barcelona-provincia/barcelona-capital/eixample/s"]}
Resuming a large crawl
Every run emits a resumeCursor in its Output. If a large crawl stops before it finishes — because it hit maxItems, your spend cap (maxTotalChargeUsd), or was aborted — start a new run with the same input plus that resumeCursor to continue from where it left off. The crawl resumes from the queued work the previous run didn't reach.
- You are not re-charged for records the earlier run already delivered.
- Resume within your account's run-retention window — on the free tier, roughly your 10 most recent runs. Once the source run is pruned, its
resumeCursoris no longer valid. resumeCursoris opaque — supply it unmodified.
Output example
{"listing_id": "d5645052-64df-4a30-917f-407945b02da0","reference": "V02363","listing_url": "https://www.habitaclia.com/comprar/planta-intermedia/de-la-riera/centre/vic/d5645052-64df-4a30-917f-407945b02da0/d","price": 395000,"currency": "EUR","transaction_type": "sale","property_type": "flat","address": "De la Riera","district": "Centre","municipality": "Vic","province": "Barcelona","latitude": 41.9294,"longitude": 2.2533,"rooms": 3,"bathrooms": 2,"area_sqm": 104,"energy_certificate": "E","agency_name": "CODOLGESTIO","agent_phone": "+34938863638"}
Good to know
- Each listing appears once per run, identified by
listing_id. - Listing text is returned as written, mostly Spanish or Catalan.
- Listings change all day. Counts reflect the portal at the moment of the run.
Support
Questions or a field you need? Write to actor-support@orbtop.com.