Fotocasa Scraper — Spain Real Estate Listings & Prices
Pricing
Pay per usage
Fotocasa Scraper — Spain Real Estate Listings & Prices
Scrape real estate listings from fotocasa.es — Spain's leading property portal. Extract prices, photos, GPS coordinates, property details, and agency info for apartments, houses, and more. No login required.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Studio Amba
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
What does Fotocasa Scraper do?
Fotocasa Scraper extracts real estate listings from Fotocasa.es — one of Spain's largest and most popular property portals. It collects prices, property details, photos, GPS coordinates, agency info, and more for apartments, houses, chalets, penthouses, and other property types across all Spanish cities. No login or cookies required.
Use the Apify platform to run this scraper on a schedule, access results via API, or integrate with tools like Google Sheets, Slack, Zapier, and Make.
Why use Fotocasa Scraper?
- Market research — Track property prices across Spanish cities, compare neighborhoods, and identify market trends
- Lead generation — Collect real estate agency listings for B2B outreach or partnership opportunities
- Price monitoring — Set up scheduled runs to track price changes for specific cities or property types
- Data analysis — Export structured data to CSV, JSON, or Excel for portfolio analysis and investment decisions
- Competitive intelligence — Monitor competitor listings, pricing strategies, and market positioning
- Relocation planning — Compare rental prices and property availability across Spanish cities
How to scrape Fotocasa data
- Go to the Fotocasa Scraper page on Apify
- Click Try for free to open the actor in Apify Console
- Enter a city name (e.g., "Madrid", "Barcelona", "Valencia")
- Select listing type: For Sale or For Rent
- Optionally filter by property type (apartment, house, chalet, etc.)
- Optionally set a price range
- Set the maximum number of results you need
- Click Start and wait for the scraper to finish
- Download your data in JSON, CSV, Excel, or HTML format
Input
| Field | Type | Required | Description |
|---|---|---|---|
searchQuery | String | No | City or location to search (default: "Madrid"). Examples: "Barcelona", "Valencia", "Sevilla", "Malaga" |
listingType | String | No | "sale" (default) or "rent" |
propertyType | String | No | Filter: "pisos" (apartments), "casas" (houses), "chalets", "aticos" (penthouses), "duplex", "estudios" (studios), "lofts", or "all" (default) |
minPrice | Integer | No | Minimum price in EUR. Leave empty for no minimum |
maxPrice | Integer | No | Maximum price in EUR. Leave empty for no maximum |
maxResults | Integer | No | Maximum listings to return (default: 100) |
proxyConfiguration | Object | No | Proxy settings. Residential proxies with Spain targeting strongly recommended |
Output
Each listing contains:
| Field | Type | Example |
|---|---|---|
title | String | "Piso en venta en calle Gran Via" |
price | Number | 350000 |
currency | String | "EUR" |
listingType | String | "sale" |
propertyType | String | "piso" |
address | String | "Calle Gran Via, 25" |
city | String | "Madrid" |
postalCode | String | "28013" |
latitude | Number | 40.4200 |
longitude | Number | -3.7025 |
bedrooms | Number | 3 |
bathrooms | Number | 2 |
surface | Number | 95 |
buildYear | Number | 1975 |
imageUrl | String | Main listing photo URL |
imageUrls | Array | All listing photo URLs |
description | String | Full property description text |
agencyName | String | "Tecnocasa Madrid Centro" |
url | String | Full listing URL on Fotocasa |
scrapedAt | String | "2026-05-27T10:30:00.000Z" |
You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
Example output
{"title": "Piso en venta en calle Gran Via","price": 350000,"currency": "EUR","listingType": "sale","propertyType": "piso","address": "Calle Gran Via, 25","city": "Madrid","postalCode": "28013","latitude": 40.42,"longitude": -3.7025,"bedrooms": 3,"bathrooms": 2,"surface": 95,"buildYear": 1975,"imageUrl": "https://static.fotocasa.es/images/ads/...","imageUrls": ["https://static.fotocasa.es/images/ads/...","https://static.fotocasa.es/images/ads/..."],"description": "Luminoso piso en pleno centro de Madrid con 3 habitaciones...","agencyName": "Tecnocasa Madrid Centro","url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/calefaccion-ascensor/12345678/d","scrapedAt": "2026-05-27T10:30:00.000Z"}
How much does it cost to scrape Fotocasa?
Fotocasa requires browser-based scraping with residential proxies due to its JavaScript rendering. Estimated costs:
- ~20 listings per run:
0.3 compute units ($1.50) - ~100 listings per run:
1 compute unit ($5) - ~500 listings across multiple pages:
4 compute units ($20)
Costs vary based on proxy usage and the number of pages scraped. Use the maxResults parameter to control run costs.
Tips for best results
- Use residential proxies — Fotocasa works best with residential proxies targeted at Spain. This is preconfigured in the default proxy settings.
- Start small — Test with
maxResults: 10before running large jobs - Use specific cities — Searching by city name gives the most reliable results
- Schedule runs — Set up daily or weekly schedules to track market changes over time
- Filter by property type — Narrow results to reduce costs and get more relevant data
- Price filters — Use
minPriceandmaxPriceto target specific market segments
Supported cities
The scraper works with any city in Spain. Popular choices include: Madrid, Barcelona, Valencia, Sevilla, Malaga, Bilbao, Alicante, Zaragoza, Palma de Mallorca, Las Palmas, Murcia, Granada, Cordoba, Valladolid, San Sebastian, Salamanca, Marbella, Ibiza, Tenerife, and many more.
FAQ and support
Is it legal to scrape Fotocasa? This actor extracts publicly available data from fotocasa.es. Users are responsible for ensuring their use complies with applicable laws and the website's terms of service.
Why are some fields empty?
Not all listings include every detail (e.g., build year, postal code, GPS coordinates). The scraper returns null for missing fields.
The scraper returned 0 results? Fotocasa requires JavaScript rendering. Make sure you are using residential proxies with Spain country targeting in the proxy configuration. Also verify the city name is spelled correctly.
Can I scrape commercial properties? This scraper focuses on residential listings (viviendas). Commercial properties, garages, and storage units follow different URL patterns and may not be fully supported.
Need a custom solution? If you need modifications or a custom scraper, open an issue on the Issues tab or contact the developer.