Habitaclia Scraper - Spanish Real Estate Listings
Pricing
Pay per usage
Habitaclia Scraper - Spanish Real Estate Listings
Scrape property listings from Habitaclia.com. Search apartments and houses for sale or rent across Spain. Extract prices, rooms, surface area, and more. No login needed.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Studio Amba
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
Habitaclia Scraper
Scrape real estate listings from Habitaclia.com, one of Spain's largest property portals with a strong focus on Catalonia and the Barcelona area.
How to scrape Habitaclia data
- Go to Apify Console and create a new task with this actor
- Set the location (e.g., "barcelona", "madrid", "valencia")
- Choose listing type: buy (comprar) or rent (alquilar)
- Select property type: apartments, houses, studios, penthouses, or duplex
- Set max results to control how many listings to return
- Click Start and wait for results
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
location | string | barcelona | City or area to search |
listingType | string | comprar | Buy (comprar) or rent (alquilar) |
propertyType | string | pisos | Property type to search |
maxResults | integer | 50 | Maximum listings to return |
proxyConfiguration | object | ES residential | Proxy settings |
Output Format
Each listing includes:
{"itemTitle": "Piso en venta en Eixample","price": 350000,"currency": "EUR","rooms": 3,"bathrooms": 2,"surface": 85,"location": "Eixample, Barcelona","listingType": "comprar","propertyType": "pisos","image": "https://...","url": "https://www.habitaclia.com/...","scrapedAt": "2026-06-07T12:00:00.000Z"}
Use Cases
- Real estate market research in Spanish cities
- Price monitoring for specific neighborhoods
- Investment analysis across regions
- Competitive analysis for real estate agencies
- Academic research on housing markets
API Usage (JavaScript)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_TOKEN' });const run = await client.actor('studio-amba/habitaclia-scraper').call({location: 'barcelona',listingType: 'comprar',propertyType: 'pisos',maxResults: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
API Usage (Python)
from apify_client import ApifyClientclient = ApifyClient("YOUR_TOKEN")run = client.actor("studio-amba/habitaclia-scraper").call(run_input={"location": "barcelona","listingType": "comprar","propertyType": "pisos","maxResults": 100,})items = client.dataset(run["defaultDatasetId"]).list_items().itemsprint(items)
Supported Locations
Habitaclia covers all of Spain, with especially deep coverage in:
- Catalonia: Barcelona, Tarragona, Girona, Lleida
- Madrid and surrounding communities
- Valencia, Seville, Malaga, Bilbao
- Balearic Islands: Mallorca, Ibiza, Menorca
- Canary Islands: Tenerife, Gran Canaria
Proxy Requirements
A Spanish residential proxy is recommended for reliable results. The actor is pre-configured with Apify's Spanish residential proxy group.
Cost Estimate
| Results | Estimated Cost |
|---|---|
| 50 | ~$0.01 |
| 500 | ~$0.05 |
| 5,000 | ~$0.50 |
Frequently Asked Questions
Do I need a login or cookies?
No. This actor scrapes publicly available listing data. No login, cookies, or authentication required.
How often is the data updated?
Habitaclia updates listings in real-time. Run the actor daily or weekly for fresh data.
Can I filter by price range?
Set specific search criteria by providing category URLs with price filters directly via the location parameter.