Fotocasa Scraper — Spain Real Estate Listings & Prices
DeprecatedPricing
from $5.00 / 1,000 result scrapeds
Fotocasa Scraper — Spain Real Estate Listings & Prices
DeprecatedScrape 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
from $5.00 / 1,000 result scrapeds
Rating
0.0
(0)
Developer
Studio Amba
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
16 days 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 | Accepted for backwards compatibility. Unblocking is handled inside the actor, so no proxy setup is needed |
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?
You pay per result. Each listing in the dataset is one charged result — there are no separate proxy or browser costs on your side. One page fetch returns ~30 listings, so runs are fast even at high maxResults. Use the maxResults parameter to control run costs.
A run's usage cost only settles once it reports SUCCEEDED — reading the dataset mid-run understates the eventual cost.
Tips for best results
- 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? Check the city name spelling first — the scraper expects a Spanish location like "madrid" or "barcelona". If a correct city keeps returning 0 results, the run fails loudly instead of returning an empty dataset, so open an issue on the Actor page and we will look at it.
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.