Fotocasa Scraper
Pricing
from $6.00 / 1,000 listing scrapeds
Fotocasa Scraper
Extract property listings from Fotocasa.es, Spain's largest real estate portal. Scrape prices, rooms, area, GPS coordinates, agency contacts, and images. Filter by location, operation, property type, price range, size, and publication date. Export as JSON, CSV, or Excel. API access included.
Pricing
from $6.00 / 1,000 listing scrapeds
Rating
0.0
(0)
Developer
ParseBird
Maintained by CommunityActor stats
1
Bookmarked
6
Total users
2
Monthly active users
14 days ago
Last modified
Categories
Share
Fotocasa Scraper
Extract property listings from Fotocasa.es, Spain's leading real estate portal with millions of listings for sale, rent, shared housing, and commercial transfers across every Spanish city and region.
| Search any Spanish city, filter by price, size, operation type, and publication date — get structured property data with GPS coordinates, agency contacts, and images ready for analysis at scale. |
| ParseBird Real Estate • European property data at scale | ||
|
🏠 Fotocasa Scraper ➤ You are here |
🏡 Funda.nl Scraper Dutch residential listings |
🏢 Immoweb.be Scraper Belgian property data, 70+ fields |
Copy to your AI assistant
Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.
parsebird/fotocasa-scraper on Apify. Call: ApifyClient("TOKEN").actor("parsebird/fotocasa-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items for results. Key inputs: location (string, e.g. "Madrid", "Barcelona", "Valencia"), operation (string: "buy"/"rent"/"share"/"rentBuyOption"/"transfer", default "buy"), propertyType (string: "home"/"newHome"/"premises"/"garages"/"office"/"boxRoom"/"land"/"building", default "home"), maxItems (integer, default 10), minPrice/maxPrice (integer, 0=no limit), minSize/maxSize (integer, m², 0=no limit), sortBy (string: "rating"/"latest"/"cheapest"/"mostExpensive"/"biggest"/"smallest"/"cheapestPerM2"), publicationDate (string: ""/"last48h"/"lastWeek"/"lastMonth"). Full actor spec: fetch via GET https://api.apify.com/v2/acts/parsebird~fotocasa-scraper (Bearer TOKEN). Get token: https://console.apify.com/account/integrations
What is Fotocasa Scraper?
Fotocasa Scraper extracts structured property listing data from Fotocasa.es, Spain's largest real estate portal. It collects prices, rooms, surface area, GPS coordinates, agency contact details, images, and full descriptions — all from search result pages without visiting individual listings.
Use it as a Fotocasa API alternative to get Spanish real estate data in JSON, CSV, or Excel. No coding required — configure your search, click Start, and download results. Or integrate via the Apify API to automate property data collection at scale.
What can Fotocasa Scraper do?
- 🔍 Search any Spanish location — cities, regions, neighborhoods, and coastal areas
- 🏘️ Five operation types — buy, rent, shared housing, rent-to-buy, and business transfers
- 🏗️ Eight property categories — homes, new construction, commercial premises, garages, offices, storage rooms, land, and entire buildings
- 💰 Filter by price and size — set minimum/maximum price (€) and area (m²)
- 📅 Publication date filter — last 48 hours, last week, last month, or all time
- 📊 Seven sort options — relevance, latest, cheapest, most expensive, biggest, smallest, cheapest per m²
- 🔄 Schedule recurring runs — monitor new listings, track price changes, and build historical datasets with Apify scheduling
- 🔗 API access and integrations — connect to Google Sheets, Zapier, Make, webhooks, or any workflow via the Apify API
What data can you extract from Fotocasa?
| Field | Description |
|---|---|
propertyId | Unique Fotocasa listing identifier |
transaction.type | SALE, RENT, SHARE, TRANSFER |
transaction.price | Listing price in euros |
surface | Property area in m² |
rooms | Number of rooms |
baths | Number of bathrooms |
street, number, floor | Street address details |
address | Country, district, municipality, province |
location | GPS latitude and longitude |
agency.name, agency.phone | Real estate agency contact |
multimedia | Image URLs with type and classification |
description | Full listing description (Spanish) |
buildingType, buildingSubtype | Property classification |
publicationDate | When the listing was published |
detailUrl | Relative URL to the full listing page |
How to scrape Fotocasa
- Go to the Fotocasa Scraper page on Apify Store
- Click Try for free to open the Actor console
- Enter a location (e.g. Madrid, Barcelona, Valencia, Málaga)
- Select an operation type — buy, rent, share, rent-to-buy, or transfer
- Choose a property type — home, new construction, premises, garages, office, storage, land, or building
- Set optional filters — min/max price, min/max size, publication date, sort order
- Set Max Items to control how many listings to collect
- Click Start and wait for the run to finish
- Download your data in JSON, CSV, Excel, or connect via the Apify API
Python API example
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("parsebird/fotocasa-scraper").call(run_input={"location": "Barcelona","operation": "rent","propertyType": "home","maxItems": 50,"maxPrice": 1500,"sortBy": "cheapest",})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['transaction']['price']}€ — {item['surface']}m² — {item.get('street', 'N/A')}")
JavaScript API example
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: "YOUR_API_TOKEN" });const run = await client.actor("parsebird/fotocasa-scraper").call({location: "Barcelona",operation: "rent",propertyType: "home",maxItems: 50,maxPrice: 1500,sortBy: "cheapest",});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((item) => {console.log(`${item.transaction.price}€ — ${item.surface}m² — ${item.street ?? "N/A"}`);});
Input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
maxItems | integer | No | 10 | Maximum number of property listings to scrape |
location | string | No | "Madrid" | City or region to search (e.g., Madrid, Barcelona, Valencia) |
operation | string | No | "buy" | Operation type: buy, rent, share, rentBuyOption, transfer |
rentalTypes | array | No | [] | Rental duration (only for rent): longTerm, temporary |
propertyType | string | No | "home" | Property category: home, newHome, premises, garages, office, boxRoom, land, building |
minPrice | integer | No | 0 | Minimum price in euros (0 = no minimum) |
maxPrice | integer | No | 0 | Maximum price in euros (0 = no maximum) |
minSize | integer | No | 0 | Minimum area in m² (0 = no minimum) |
maxSize | integer | No | 0 | Maximum area in m² (0 = no maximum) |
publicationDate | string | No | "" | Publication filter: "" (any), last48h, lastWeek, lastMonth |
sortBy | string | No | "rating" | Sort order: rating, latest, cheapest, mostExpensive, biggest, smallest, cheapestPerM2 |
proxyConfiguration | object | No | Apify Proxy | Proxy settings (residential proxies recommended) |
Output example
{"propertyId": "187123129","transaction": {"type": "SALE","price": 120000},"surface": 57,"rooms": 3,"baths": 1,"street": "Calle de Benimamet","number": "51","floor": "10","address": {"country": "España","district": "Centro","municipality": "Madrid","province": "Madrid"},"publicationDate": "2025-07-21T19:15:08.237Z","location": {"latitude": "40.3443439","longitude": "-3.6871201"},"agency": {"name": "OCASIONES INMOBILIARIAS DEL HENARES SL","phone": "912170482"},"multimedia": [{"url": "https://static.fotocasa.es/images/ads/06cd3b85-dd58...","type": "image","classification": "exterior"},{"url": "https://static.fotocasa.es/images/ads/4085ad4c-5c34...","type": "image","classification": "bedroom"}],"description": "Piso en venta en el centro de Madrid...","buildingType": "Flat","buildingSubtype": "Flat","isNewConstruction": false,"detailUrl": "/es/comprar/vivienda/madrid/centro/187123129/d","sourceUrl": "https://www.fotocasa.es/es/comprar/viviendas/madrid/todas-las-zonas/l?sortType=scoring"}
Download results in JSON, HTML, CSV, or Excel.
Use cases
- 📈 Real estate market analysis — Track pricing trends, average €/m² costs, and inventory levels across Spanish cities
- 💼 Investment research — Compare property yields, identify undervalued neighborhoods, and monitor price-per-square-meter trends
- 📇 Lead generation — Extract agency contact information for partnership and outreach opportunities
- 🏠 Relocation planning — Build filtered shortlists matching specific criteria (price, size, location, rooms)
- 🔄 Market monitoring — Schedule recurring runs to track new listings and price changes over time
- 🔗 PropTech integration — Feed property data into CRMs, comparison tools, valuation models, or analytics dashboards
How much does it cost to scrape Fotocasa?
| Event | Price per event | Price per 1,000 |
|---|---|---|
listing-scraped | $0.006 | $6.00 |
One event is charged each time a property listing is successfully scraped and saved to the dataset. You only pay for listings actually returned.
Cost examples:
| Listings | Cost |
|---|---|
| 10 (default run) | $0.06 |
| 100 | $0.60 |
| 1,000 | $6.00 |
| 10,000 | $60.00 |
Apify offers a free trial with $5 of platform credits — enough to scrape ~830 property listings at no cost.
How it works
- Constructs a Fotocasa.es search URL from your input parameters (location, operation, filters)
- Opens the search page in a headless Chromium browser with residential proxies
- Accepts cookie consent and waits for listings to load
- Extracts property data via network interception of Fotocasa's internal API responses
- Falls back to page state extraction or DOM parsing if network interception yields no results
- Paginates through search results until
maxItemsis reached or no more listings are found - Pushes each property listing to the Apify dataset
FAQ
What locations can I search on Fotocasa? Any location available on Fotocasa.es — cities (Madrid, Barcelona, Valencia, Sevilla, Málaga), regions (Costa del Sol, Costa Brava, Islas Baleares), provinces, or neighborhoods. Enter the location name as it appears on the site.
Can I scrape rental listings from Fotocasa?
Yes. Set operation to rent and optionally specify rentalTypes to filter by long-term or temporary rentals.
Why does this scraper use residential proxies? Fotocasa.es uses anti-bot protection. Residential proxies (especially Spanish ones) provide the best success rate. The scraper uses Apify's RESIDENTIAL proxy group by default.
How many Fotocasa listings can I scrape per run?
There is no hard limit. Set maxItems to control how many listings to collect. Larger runs use more compute time and proxy bandwidth.
Does this scraper visit individual listing detail pages? No. It extracts data from search result pages only, which already contain comprehensive property information including price, area, rooms, GPS coordinates, agency details, and images.
Can I schedule recurring scrapes? Yes. Use Apify scheduling to run daily, weekly, or at any custom interval. Combine with webhooks or integrations to automate your property data pipeline.
Can I access the data via API? Yes. Every run produces a dataset accessible via the Apify API. Integrate with Python, JavaScript, Google Sheets, Zapier, Make, or any HTTP-capable tool.
What property types does Fotocasa Scraper support? Eight categories: homes (viviendas), new construction (obra nueva), commercial premises (locales), garages (garajes), offices (oficinas), storage rooms (trasteros), land (terrenos), and entire buildings (edificios).
Is it legal to scrape Fotocasa?
This Actor extracts publicly available data from Fotocasa.es. Scraping public data is generally considered legal based on recent court rulings, including the US Ninth Circuit's decision in hiQ Labs v. LinkedIn. However, users are responsible for ensuring their use of scraped data complies with applicable laws, Fotocasa.es Terms of Service, and data protection regulations including GDPR. Do not use extracted personal data for unsolicited contact or purposes incompatible with the original collection context. For more information, read Apify's blog post on web scraping legality.
Other ParseBird real estate scrapers
| Actor | Target site | Region |
|---|---|---|
| Fotocasa Scraper | Fotocasa.es | 🇪🇸 Spain |
| Funda.nl Scraper | Funda.nl | 🇳🇱 Netherlands |
| Funda in Business Scraper | FundaInBusiness.nl | 🇳🇱 Netherlands (commercial) |
| Immoweb.be Scraper | Immoweb.be | 🇧🇪 Belgium |
Browse all ParseBird actors on the Apify Store.