Habitaclia Spain Property Scraper avatar

Habitaclia Spain Property Scraper

Pricing

from $0.80 / 1,000 record scrapeds

Go to Apify Store
Habitaclia Spain Property Scraper

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

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

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?

FieldDescription
listing_idHabitaclia listing id
referenceAdvertiser's own reference for the property
listing_urlLink to the listing on Habitaclia
titleListing headline (empty when the advertiser left it blank)
priceAsking price in EUR, or monthly rent for rentals. Empty when the price is on request
currencyEUR
transaction_typesale or rent
property_typeSubtype such as flat, house, penthouse, chalet, office
addressStreet and number
neighborhood, district, municipality, provinceLocation hierarchy
latitude, longitudeCoordinates
rooms, bathroomsBedroom and bathroom counts
area_sqmBuilt area in square metres
floorFloor number, or mezzanine
construction_yearYear the building was constructed
conditionCondition of the property, such as GOOD or NEEDS_RENOVATION
energy_certificateEnergy efficiency rating, A to G
descriptionFull listing text, in the language the advertiser wrote it
featuresListed amenities such as ELEVATOR or TERRACE
agency_name, agency_urlAdvertiser name and website
agent_phone, agent_emailContact details
image_urlsPhoto URLs
updated_atWhen the listing was last updated
scraped_atWhen 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

  1. Choose Transaction Types (for sale, for rent, or both) and Property Types.
  2. Choose the Provinces to cover. Leave the list empty to cover the whole country.
  3. Set Max Items to the number of listings you want.
  4. Optionally set a Minimum Price or Maximum Price.
  5. Run it and download the dataset as JSON, CSV or Excel.

Input

FieldTypeDefaultDescription
maxItemsinteger10Maximum number of listings to return
transactionTypesarray["buy"]buy, rent, or both
propertyTypesarray["home"]home, parking, commercial, office, land, investment, industrial
provincesarray["barcelona"]Provinces to cover. Empty means all of Spain
searchUrlsarrayemptyHabitaclia search page URLs. When set, these replace the province selection
minPriceintegernoneLowest price in EUR (monthly rent for rentals)
maxPriceintegernoneHighest 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 resumeCursor is no longer valid.
  • resumeCursor is 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.