Fotocasa Spain Scraper — Property Listings & Agency Leads
Pricing
from $3.50 / 1,000 properties
Fotocasa Spain Scraper — Property Listings & Agency Leads
Scrape Fotocasa.es sale and rent listings across Spain: price, m², rooms, location, agency contacts and listing URLs. Built for market analysis, lead gen and pricing intel. Clean property schema — not a bloated multi-portal scraper.
Pricing
from $3.50 / 1,000 properties
Rating
0.0
(0)
Developer
Noah Adler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 hours ago
Last modified
Categories
Share
Fotocasa Scraper — Spain Real Estate Listings (Sale & Rent)
Fotocasa scraper for Spain property listings: extract ads from Fotocasa.es (comprar / alquiler) with price, m², rooms, bathrooms, neighborhood, coordinates and agency contacts.
Ideal if you need a Fotocasa API, pisos Fotocasa Madrid/Barcelona, alquiler Fotocasa scraper, or Spain real estate data for market analysis, leads and pricing intel.
Input: city /
locationor a Fotocasa list URL.
Output: one Dataset row per property.
Why this Actor: Spain-focused · Buy & rent · Agency fields · Pagination · Cleaner Idealista alternative channel
Table of contents
- What this Actor does
- What you get
- Features
- Input
- Output example
- Output fields
- Quick start (API)
- Use cases
- Limitations
- FAQ
- Keywords
What this Actor does
| Step | Action |
|---|---|
| 1 | Open Fotocasa search result pages (venta or alquiler) |
| 2 | Read structured listing JSON embedded in the page |
| 3 | Paginate (/l, /l/2, …) until maxItems |
| 4 | Normalize price, size, rooms, geo and agency fields |
What you get
Pricing & property
price,pricePerM2,currencysurfaceM2,rooms,bathrooms,floor
Location
- Municipality, district, neighborhood, zip, lat/lng
Agency
- Name, phone (when public), type, URL
Features
| Capability | Detail |
|---|---|
| Location or URL | Madrid / slug or paste list URL |
| Buy & rent | operation: buy | rent |
| Filters | Optional min/max price |
| Pagination | maxPages + maxItems caps |
| Spain SEO | Built for ES real-estate queries |
Input
| Field | Required | Description |
|---|---|---|
location | Cond. | City or slug (Madrid, barcelona-capital) |
searchUrls | Cond. | Full Fotocasa list URLs |
operation | No | buy (default) or rent |
propertyType | No | home |
maxItems | No | Default 50 (max 500) |
maxPages | No | Default 10 |
minPrice / maxPrice | No | EUR filters |
proxyConfiguration | No | Use RESIDENTIAL + ES if blocked |
Example — Madrid sale
{"location": "Madrid","operation": "buy","maxItems": 100,"proxyConfiguration": { "useApifyProxy": true }}
Example — Barcelona rent via URL
{"searchUrls": ["https://www.fotocasa.es/es/alquiler/viviendas/barcelona-capital/todas-las-zonas/l"],"maxItems": 50}
Output example
{"listingId": "189717534","listingUrl": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/.../d","operation": "buy","price": 650000,"currency": "EUR","surfaceM2": 99,"rooms": 3,"bathrooms": 2,"municipality": "Madrid","district": "Barrio de Salamanca","agencyName": "Lucas Fox"}
Output fields
| Group | Fields |
|---|---|
| Identity | listingId, listingUrl, operation, propertyType |
| Price | price, priceFormatted, pricePerM2, currency |
| Specs | surfaceM2, rooms, bathrooms, floor |
| Geo | address, district, neighborhood, municipality, province, zipCode, latitude, longitude |
| Agency | agencyName, agencyPhone, agencyType, agencyUrl |
| Meta | publishedAt, features, scrapedAt |
Quick start (API)
from apify_client import ApifyClientclient = ApifyClient("<YOUR_TOKEN>")run = client.actor("YOUR_USERNAME/fotocasa-spain-property-scraper").call(run_input={"location": "Barcelona", "operation": "rent", "maxItems": 40})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Use cases
- Track sale & rent prices by neighborhood
- Build agency lead lists (when phone is public)
- Compare inventory vs Idealista or your CRM
- Investor dashboards for Spanish cities
Limitations
- Focused on viviendas list search in v0.1.
- Some agency phones are gated / missing.
- Site changes can require parser updates.
- Respect Fotocasa Terms of Service.
FAQ
Madrid vs madrid-capital?
Both work — we slugify common city names.
Rent vs buy?
Set operation to rent or buy (or use an alquiler/comprar URL).
Blocked?
Enable Apify Proxy (RESIDENTIAL + ES often helps).
Keywords
fotocasa scraper, fotocasa api, fotocasa.es, spain real estate scraper, pisos fotocasa, alquiler fotocasa, madrid property listings, barcelona real estate data