Fotocasa Scraper: Spanish Property Listings for Sale and Rent
Pricing
from $1.00 / 1,000 listing delivereds
Fotocasa Scraper: Spanish Property Listings for Sale and Rent
Get property listings from Fotocasa.es list pages: price, old price, rooms, bathrooms, surface, address, coordinates, features, images, dates and agency details. Sale and rent, no login needed.
Pricing
from $1.00 / 1,000 listing delivereds
Rating
0.0
(0)
Developer
NanoScrape
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
Fotocasa Scraper
Get property listings from Fotocasa, the Spanish property portal. Give the actor a list page address or a city name, choose buy or rent, and it returns one record per listing: price, price drop, rooms, bathrooms, surface, address, coordinates, features, images, dates and the agency behind the ad. No login and no API key are needed.
What you get
- One record per listing from Fotocasa list pages, about 30 listings per page.
- Sale and rent lists. Pass a list page address, or a city slug with the operation.
- Several pages in one run. Set
maxItemsand the actor reads as many pages as it needs. - Each listing once per run, even if it shows up on more than one page.
- A run that is interrupted continues where it stopped. Listings already delivered are not delivered or charged again.
- You pay only for listings that were saved to the dataset.
Use with AI agents (MCP)
Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.
MCP server URL:
https://mcp.apify.com?tools=santamaria-automations/fotocasa-scraper
Example prompt once connected:
"Use
fotocasa-scraperto list 60 flats for sale in Madrid with price, rooms, surface and agency, as a CSV."
Data extracted
| Field | Example |
|---|---|
id | "191064926" |
url | Link to the listing page |
operation | "buy" or "rent" |
property_type, property_subtype | "Flat", "Attic" |
price | 349900 |
price_text | "349.900 €" |
currency | "EUR" |
price_period | "month" for monthly rents |
price_drop, old_price | Reduction shown on the card and the price before it |
rooms, bathrooms | 2, 1 |
surface_m2 | 80 |
floor_code | Site code for the floor |
attribute_codes | Site codes for conservation status, orientation, antiquity and hot water |
features | ["heating", "terrace", "elevator"] |
highlights | Highlight tags such as IS_EXTERIOR |
location, neighborhood, district, city, province, region, zip_code, country | Address parts |
latitude, longitude | Coordinates |
description | Text written by the advertiser |
images, image_count | Image links and their number |
other_media | Videos, virtual tours and floor plans |
published_at, updated_at | Dates in UTC |
is_new_construction, is_promotion, is_highlighted, is_top, is_opportunity, is_bare_ownership, is_occupied, is_auctioned, is_rented_with_tenants, is_temporary_rental | Flags shown by the site |
promotion_title, promotion_url | New development name and link, when the listing belongs to one |
advertiser_type | "professional" or "private" |
agency_name, agency_id, agency_url, agency_logo, agency_phone | Agency details, for professional advertisers only |
source_url, page, scraped_at | Where and when the row was read |
Fields that a page does not show are returned empty. For private advertisers the actor returns only advertiser_type; their name, link and phone number are not copied.
Pricing
Pay-per-event pricing. You pay only for listings that were saved to the dataset.
| Event | Price |
|---|---|
Actor start (actor-start) | $0.001 |
Listing scraped (listing-result) | $0.001 per listing ($1.00 per 1,000) |
The start event is charged once per run, together with the first saved listing. A run that returns nothing is not charged. If you set a maximum cost per run, the actor stops before it goes over that limit.
Input
| Field | Type | Description | Default |
|---|---|---|---|
startUrls | string[] | Fotocasa list pages, for example https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l. Filters that are part of the address are kept. | none |
locations | string[] | City slugs such as madrid-capital or barcelona-capital. Used with operation and propertyType. | none |
operation | string | buy or rent, for locations. | buy |
propertyType | string | viviendas (homes), locales, oficinas, garajes or terrenos, for locations. | viviendas |
maxItems | integer | Most listings to return across all inputs. 0 uses 100. | 100 |
At least one of startUrls or locations is required.
Usage examples
Flats for sale in Madrid
{"locations": ["madrid-capital"],"operation": "buy","maxItems": 60}
Rentals in two cities
{"locations": ["barcelona-capital", "valencia-capital"],"operation": "rent","maxItems": 200}
A list page you copied from the site
{"startUrls": ["https://www.fotocasa.es/es/alquiler/viviendas/barcelona-capital/todas-las-zonas/l"],"maxItems": 100}
Output
Results are saved to the default dataset. Export them as JSON, CSV or Excel, or read them through the API.
{"id": "191064926","url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/calefaccion-terraza-ascensor-no-amueblado/191064926/d","operation": "buy","property_type": "Flat","price": 349900,"price_text": "349.900 €","currency": "EUR","price_drop": 10000,"old_price": 359900,"rooms": 2,"bathrooms": 1,"surface_m2": 80,"features": ["heating", "terrace", "elevator", "balcony"],"location": "Calle de Benidorm, Ventas","district": "Ciudad Lineal","city": "Madrid","province": "Madrid","zip_code": "28017","latitude": 40.43145,"longitude": -3.65245,"image_count": 8,"published_at": "2026-10-08T19:51:12Z","advertiser_type": "professional","agency_name": "TengoTuCasa","agency_id": "9202776551264","source_url": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l","page": 1,"scraped_at": "2026-11-07T15:00:00Z"}
(The sample is shortened. Real rows also hold the description, image links and the other fields listed above.)
Limitations
- Only list pages are read. The actor does not open single listing pages, so details that appear only there are not included.
- Floor, conservation status, orientation, antiquity and hot water come as site codes, not as text. The actor does not translate them.
price_dropis the reduction the card shows;old_priceis calculated as price plus that reduction.- The site may limit how deep a long list goes. If a list ends early, the run ends with the listings it found.
- Only the home list type (
viviendas) has been tested in depth. Other property types use the same address pattern. - Descriptions are copied as the advertiser wrote them.
- Fotocasa terms limit commercial reuse of its content and images. You are responsible for how you use the data.
FAQ
How do I find the city slug?
Open a list page on fotocasa.es and look at the address. In .../comprar/viviendas/madrid-capital/todas-las-zonas/l the slug is madrid-capital.
Can I use filters such as price or rooms? Set them on the site, copy the list address and use it as a start URL. Filters that are part of the address are kept on every page.
Why is a field empty? The card did not show it. Phone numbers, for example, are missing on some ads.
Do I get private sellers?
Yes, as rows with advertiser_type set to private. Their name, link and phone number are not returned.
What happens when I set a maximum cost? The actor stops before the limit and the run status says so.
What does a run cost? One start event plus one result event per listing saved. See the pricing table above.