Fotocasa Scraper - Spain Property Listings & Price Drops
Pricing
from $0.51 / 1,000 listing delivereds
Fotocasa Scraper - Spain Property Listings & Price Drops
Scrape Fotocasa.es sale and rent listings in Spain: price, price per m², surface, rooms, floor, zone, agency, photos and price cuts. Search by URL or city with filters. Schedule it daily: only new listings and price drops. Error rows are free.
Pricing
from $0.51 / 1,000 listing delivereds
Rating
0.0
(0)
Developer
Scrapewise Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Fotocasa Scraper: Spain property listings, price per m² and price drops
Scrape Fotocasa.es, one of Spain's largest real estate portals, without an account, cookies or a browser. Paste a search URL with your filters, or give a city, town or province with contract (sale, rent or room share), property type, price, surface, bedrooms and bathrooms. Every listing comes with price, price per m², surface, bedrooms, bathrooms, floor, district and neighbourhood, coordinates, amenities, the full description, every photo, the agency and the price cut Fotocasa shows on the listing.
Built for daily monitoring: schedule the same search every morning and get only the listings that are new, plus the ones whose price changed, with the previous price and the drop in euros and percent. A quiet day costs nothing.
At a glance
- Price per 1,000 listings, Free plan: US$ 0.60 (down to US$ 0.51 on Gold and above)
- Full listing page (optional): US$ 0.60 per 1,000, on top
- Fee per run start: None
- Search by Fotocasa URL or by location + filters: Yes
- Sale, rent and room share; homes, garages, land, commercial premises, offices, storage rooms, buildings: Yes
- Only new listings since the last run (
onlyNew): Yes, free when nothing is new - Price tracking between runs (
trackPriceChanges,onlyPriceDrops): Yes - Price per m²: Yes, on every row
- Agency or private owner filter (
sellerType): Yes, skipped listings are free - Advertiser contact data: Never (see below)
- Error rows (bad URL, unknown place, no results): Free, with an
errorCode
One real row
From a test run on 2026-10-06 (location "Barcelona", rent, newest first, full listing pages on), shortened:
{"type": "listing","id": "191044924","url": "https://www.fotocasa.es/es/alquiler/vivienda/barcelona-capital/aire-acondicionado-parking-ascensor-amueblado-television-se-aceptan-mascotas-internet/191044924/d","title": "Flat for rent in Dreta de l'Eixample, Barcelona","contract": "rent","propertySubtype": "Flat","price": 600,"currency": "EUR","pricePeriod": "month","isPriceReduced": false,"pricePerSqm": 5.71,"surfaceSqm": 105,"rooms": 3,"bathrooms": 2,"floor": "2","amenities": ["air_conditioner", "parking", "elevator", "furnished", "tv", "pets_allowed", "internet"],"city": "Barcelona","district": "Eixample","neighbourhood": "Dreta de l'Eixample","province": "Barcelona","region": "Cataluña","zipCode": "08010","street": "Carrer de Pau Claris","latitude": 41.3895676,"longitude": 2.1716639,"mainPhoto": "https://static.fotocasa.es/images/ads/f4974211-e008-47e5-bd6e-1b1347609f5f?rule=original","photoCount": 9,"advertiserType": "agency","agencyName": "Inmobiliaria España","agencyUrl": "https://www.fotocasa.es/es/pro/inmobiliaria-espana/","publishedAt": "2026-10-06T21:17:27","energyCertificateStatus": "exempt","typology": "FLAT","orientation": "EAST","parking": "PRIVATE","elevator": "YES","furnished": "YES","occupancyStatus": "IS_AVAILABLE","constructionType": "secondHand","referenceCode": "MCIMWQZOJST-04","hasDetails": true}
A listing that Fotocasa marks as reduced carries the cut too, for example
"isPriceReduced": true, "priceReducedBy": 20000, "originalPrice": 895000, "price": 875000.
What you can do with it
- Investors: watch Madrid, Barcelona or Valencia every morning for new listings under a price per m², and catch
every price drop on what you already saw (
onlyNew+trackPriceChanges). - Agencies and brokers: follow new listings and price cuts in your area, and see which agencies publish the most in each district.
- Relocation and rental search: a daily alert of new rentals in Barcelona, Madrid or Malaga that match budget, size and bedrooms, straight into Slack, e-mail or Google Sheets.
- Price per m² research: median rent or sale price per m² by district and neighbourhood, by property type or energy class, for valuation, market reports and dashboards.
- Datasets and AI: clean, typed rows (numbers as numbers, dates as ISO) with coordinates, ready for maps and models.
Input
| Field | What it does |
|---|---|
startUrls | Fotocasa search URLs with your filters (every filter in the URL is kept), or listing URLs (ending in /<id>/d, returned with the full page) |
locations | Spanish cities, towns or provinces (Madrid, Barcelona, Valencia, Marbella, Malaga provincia, Spain); one search each |
contract | sale (default), rent or roomShare (rooms in shared flats) |
propertyType | homes (all residential, default), garage, land, commercial, office, storage, building |
minPrice, maxPrice | Euros (monthly rent for rentals) |
minSurface, maxSurface | Square metres |
minRooms, maxRooms | Bedrooms |
minBathrooms | Bathrooms |
sellerType | any (default), agency or private |
sortBy | newest (default), relevance, priceLowToHigh, priceHighToLow |
maxItems | Listings per search, default 50. 0 = up to 10,000 |
includeDetails | Also read each listing page (energy certificate, features, agency website), charged as a separate event |
onlyNew | Deliver only listings not delivered in earlier runs of the same search |
trackPriceChanges | Add the price from the previous run and the change; with onlyNew, also deliver seen listings whose price changed |
onlyPriceDrops | With onlyNew and trackPriceChanges: of the seen listings, only price drops |
proxyConfiguration | Default Apify Proxy (datacenter) |
Example: new rentals in Barcelona up to 2,000 euros with at least 2 bedrooms, every morning:
{"locations": ["Barcelona"],"contract": "rent","maxPrice": 2000,"minRooms": 2,"maxItems": 100,"onlyNew": true,"trackPriceChanges": true}
Or paste the search from your browser:
{"startUrls": ["https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l?maxPrice=400000&minRooms=2"],"maxItems": 200}
How daily monitoring works
The Actor remembers each search (same URL or same location and filters) in a named key-value store in your own
account, fotocasa-scraper-state: listing id, last price, first and last time seen.
onlyNew: the first run delivers up tomaxItemsand marks everything it read as seen. Later runs read the newest listings first and stop when they reach listings already seen. A day with nothing new delivers nothing and costs nothing.trackPriceChanges: every row getsisNewListing,previousPrice,priceChange,priceChangePct,isPriceDrop,firstSeenAtandpreviousSeenAt.maxItemsthen counts listings checked, so the cost of a daily run stays flat.- Both on: you get new listings plus listings seen before whose price changed. Older listings that the first run never reached are recorded as a price baseline, not delivered as "new".
- Delete the key-value store to start over.
Output
Every listing row: id, url, title, contract (sale, rent, roomShare), propertyType,
propertySubtype, category, price, currency, pricePeriod (month for rentals), isPriceReduced,
priceReducedBy, originalPrice, pricePerSqm, surfaceSqm, rooms (bedrooms), bathrooms, floor
(ground floor, mezzanine, 1, 2...), amenities, city, district, neighbourhood, province, region,
zipCode, street (agency listings), latitude, longitude, description, mainPhoto, photos, photoCount,
hasVideo, hasVirtualTour, hasFloorPlans, advertiserType (agency, private or other), agencyName,
agencyId, agencyUrl, agencyLogo, isNewConstruction, isOccupied, isAuction, isBareOwnership,
isRentedWithTenants, isTemporaryRental, isOpportunity, isHighlighted (paid placement), publishedAt
(Madrid time), position, searchUrl, scrapedAt.
With price tracking: isNewListing, previousPrice, priceChange, priceChangePct, isPriceDrop, firstSeenAt,
previousSeenAt.
With full listing pages (hasDetails: true): energyClass, energyConsumptionKwhM2Year, emissionsClass,
emissionsKgCo2M2Year, energyCertificateStatus, typology, orientation, parking, elevator, furnished,
occupancyStatus, extraFeatures (Fotocasa's own labels, in Spanish), constructionType (secondHand or new),
plotSurfaceSqm, agencyWebsite, referenceCode, createdAt. If a listing page cannot be read, the row still
comes with hasDetails: false and detailsError, and only the listing is charged.
No advertiser contact data, by design. For agencies (companies) you get the agency's name, id, page and logo.
For private owners you get only advertiserType: "private": never a name, phone or e-mail, and the location stops
at district, neighbourhood and postcode (no street, coordinates rounded to about 1 km), because a private listing
can be the owner's own home. Phone numbers are never returned for anyone, and phone numbers and e-mail addresses
inside the description text are replaced with [contact removed]. Use the listing url to contact the advertiser
through Fotocasa.
Error codes (never charged)
errorCode | Meaning |
|---|---|
INVALID_INPUT | A value the Actor does not understand (minimum above maximum, unknown property type, a URL that is not a Fotocasa search or listing) |
NOT_FOUND | Fotocasa has no search page for this place, or the listing was removed |
NO_RESULTS | No listing for this search and filters |
BLOCKED | Fotocasa's firewall refused every attempt on new IPs; run again or use the RESIDENTIAL proxy group |
NOT_REACHED | The run timeout arrived before this search or listing |
UNEXPECTED | A page came in a shape we did not expect; the rest of the run goes on |
Pricing
| Event | Per 1,000 |
|---|---|
| Listing delivered | US$ 0.60 |
Full listing page (only with includeDetails or listing URLs) | US$ 0.60 |
A daily onlyNew run on a busy Madrid search that finds 60 new listings costs about US$ 0.04; with full listing pages,
about US$ 0.07. Error rows, duplicates, listings already seen, listings with an unchanged price and listings filtered out
by sellerType are free, and there is no start fee.
Limitations
- Fotocasa has no agency or private filter in its search, so
sellerTypefilters the pages the Actor reads: a search for private owners reads more pages to fillmaxItems. - Fotocasa sits behind a firewall. On a bad day a search may come back as
BLOCKED(free): run it again. - Labels from the listing page (
extraFeatures) and descriptions are in Spanish, as the advertiser wrote them. - A city name searches the city itself (Madrid capital, Barcelona capital). For the province, add "provincia"; for a district or a drawn area, set it on the site and paste the URL.
- This Actor reads public pages only.
FAQ
Do I need a Fotocasa account or a Spanish IP? No. No login, no cookies, and the default datacenter proxy works.
Can I paste a search from my browser? Yes, in Spanish, English, Catalan or German. Price, surface, bedrooms, bathrooms, zone, property type and sort in the URL are kept.
How is price per m² computed? price / surfaceSqm as published on the listing. For rentals it is the monthly
rent per m².
How do I get an alert only when a price drops? Turn on onlyNew, trackPriceChanges and onlyPriceDrops,
schedule the Task daily and send the dataset to your integration.
Can I use it from n8n, Make, Zapier or an AI agent? Yes, through the Apify app or the Apify MCP server. Error rows are free, so an agent can explore cheaply.
What if a run is cut by its timeout? The Actor stops shortly before the limit and ends successfully with what it delivered, telling you in the status message how to get the rest.
Changelog
- 0.1 (2026-10-06): first version. Search by Fotocasa URL or by location with contract, property type, price,
surface, bedrooms, bathrooms, advertiser type and sort; sale, rent and room share; price per m²; the site's own
price cuts; optional full listing pages;
onlyNewand price tracking between runs for daily schedules; free error rows.