Skip to content

Fotocasa Scraper

Try for free

Scrape public Fotocasa.es property listings in Spain from search URLs, listing URLs, or a place name with filters. Get price, rooms, bathrooms, m², floor, address, coordinates, photos, agency and energy certificate.

🏠 Fotocasa Scraper

Turn Fotocasa.es search results into clean, structured property data for Spain. Paste any Fotocasa search URL, or type a place such as Madrid, Sevilla or Eixample and pick your filters, and get price, bedrooms, bathrooms, m², floor, full address, GPS coordinates, every photo, the agency and, optionally, the energy certificate for each listing. No Fotocasa account needed.

✨ Why use Fotocasa Scraper?

  • 🔓 No login, no cookies: it reads only public Fotocasa pages.
  • ⚡ Fast: 30 listings per page, several pages in parallel. 1,000 listings take about a minute.
  • 📋 Rich rows: price, €/m², price drop, bedrooms, bathrooms, surface, floor, condition, age, orientation, address down to neighbourhood and ZIP code, coordinates, photos, videos, floor plans, virtual tour, agency name, phone and logo.
  • 🔎 Real filters: buy, rent, share, rent to buy; 14 property types; price, surface, bedrooms, bathrooms, publication date, features such as lift, terrace or pool, temporary or long-term rentals, new builds, and a radius around any point.
  • 🏷️ Energy certificate on demand: one switch opens each listing page for the energy rating and value, emissions, construction type, agency reference and website, and decoded features.
  • 🔔 Monitor mode: on a schedule it saves only new listings and listings whose price changed.

🎯 Use cases

  • 📊 Price monitoring: track asking prices and €/m² in a city or neighbourhood every day.
  • 🏘️ Market research: compare supply, sizes and conditions between districts and towns.
  • 🧲 Lead generation: list the agencies advertising in an area, with their Fotocasa page, phone and logo.
  • 🔔 New listing alerts: schedule a "newest first" search with monitor mode and get only fresh or reduced listings.
  • 🏦 Investment screening: find listings below a price per m², bank-owned or tenanted homes, or homes that need renovation.
  • 🗺️ Mapping: plot listings with the latitude and longitude on every row.

🚀 How to use

  1. Paste one or more Fotocasa search URLs (set any filters on fotocasa.es first, they are kept), or listing URLs. Or type a place in Location.
  2. For a Location search, choose buy or rent, the property type, the sort order and any filters.
  3. Set Max listings (0 means no limit).
  4. Click Start and watch the listings arrive in the Output tab.
  5. Export as JSON, CSV, Excel or HTML, or read the results through the API.

📥 Input

FieldWhat it does
startUrlsFotocasa search pages (filters and sort kept, pages followed automatically) or single listing pages.
locationA city, province, district or neighbourhood. Fotocasa's own place search picks the best match; locationType can prefer a province or district, or search a whole autonomous community (Cataluña, Madrid, or any place inside it).
maxItemsTotal listings to save. Default 10,000 (the run form starts at 20). 0 means no limit. Searches over 10,000 are read in full.
maxItemsPerSearchOptional cap for each URL or location, handy when you paste many searches.
operation, propertyType, sortByBuy, rent, share, rent to buy, transfer; homes, flats, houses, penthouses, garages, offices, land and more.
FiltersminPrice, maxPrice, minSurface, maxSurface, minRooms, maxRooms, minBathrooms, publicationDate, features, rentalType, newConstruction, and a radius (latitude, longitude, distanceKm).
fetchDetailsOpens each listing page for the energy certificate, construction type, agency reference and website, and decoded features.
monitorMode, monitorKeySave only new or changed listings compared with earlier runs.
{
  "location": "Valencia",
  "operation": "rent",
  "propertyType": "flats",
  "minPrice": 700,
  "maxPrice": 1400,
  "minRooms": 2,
  "features": ["elevator", "terrace"],
  "sortBy": "newest",
  "maxItems": 200
}

📤 Output

One row per listing.

FieldExample
id, url, title190000001, listing link, Piso en venta en Calle Mayor
price, priceText, pricePerSqm, priceDrop, periodicity249000, 249.000 €, 4980, 10000, monthly (rentals)
transactionType, propertyType, propertySubtypebuy, Flat, Flat
rooms, bathrooms, surface, floor, conservation, age, orientation2, 1, 50, 1, Needs renovation, 50-70 years, South
address, street, neighborhood, district, city, province, region, zipCode, latitude, longitudefull location
features, amenities_*["balcony", "elevator"], amenities_elevator: true
thumbnail, photos, photoCount, videoUrls, floorPlanUrls, virtualTourUrlmedia links
agencyName, agencyType, agencyUrl, agencyLogo, phoneadvertiser (public business details)
isNewConstruction, isOccupied, isAuctioned, isRentedWithTenants, isTemporaryRental, ...listing flags
listedDate2026-09-28T19:12:14.170Z
With fetchDetailsenergyRating, energyValue, environmentImpactRating, environmentImpactValue, constructionType, reference, agencyWebsite, extraFeatures, detailFeatures, subsidies

Sample row (fictional values, real shape):

{
  "id": "190000001",
  "url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/calefaccion/190000001/d",
  "transactionType": "buy",
  "propertyType": "Flat",
  "title": "Piso en venta en Calle Mayor",
  "price": 249000,
  "priceText": "249.000 €",
  "pricePerSqm": 4980,
  "rooms": 2,
  "bathrooms": 1,
  "surface": 50,
  "floor": "1",
  "conservation": "Needs renovation",
  "address": "Calle Mayor, Carabanchel",
  "neighborhood": "Comillas",
  "district": "Carabanchel",
  "city": "Madrid",
  "province": "Madrid",
  "zipCode": "28019",
  "latitude": 40.3916,
  "longitude": -3.7131,
  "features": ["balcony", "heating"],
  "amenities_elevator": false,
  "amenities_balcony": true,
  "thumbnail": "https://static.fotocasa.es/images/ads/00000000-0000-0000-0000-000000000000?rule=original",
  "photoCount": 26,
  "agencyName": "Inmobiliaria Ejemplo Madrid",
  "agencyType": "professional",
  "phone": "+34910000000",
  "listedDate": "2026-09-28T19:12:14.170Z",
  "energyRating": "E",
  "energyValue": 270,
  "constructionType": "secondHand",
  "detailFetched": true
}

❓ FAQ

Is it legal? It collects only publicly visible listing data. Make sure your use complies with Fotocasa's terms, the GDPR and the laws that apply to you, especially if you store contact details.

Do I need a login or my own proxy? No. The built-in proxy is used automatically: datacenter addresses first, residential addresses if Fotocasa refuses them.

How many listings can I get? As many as Fotocasa lists. Fotocasa pages through at most about 10,000 listings (333 pages) per search, so when a search lists more and you asked for more, the run keeps going past that and collects the whole search. A listing found twice in one run is saved once.

Why is a field empty? Advertisers fill in different fields. Bedrooms, floor or the exact street are missing when the advertiser did not publish them. Energy fields need fetchDetails.

Can I schedule it or use the API? Yes. Schedule a task in the console and turn on monitor mode to get only new or changed listings, or start runs and read datasets through the Scrape.ly API, CLI, or from AI agents through the Scrape.ly MCP server.

⚠️ Limits

  • Fotocasa pages through about 10,000 listings per search; bigger searches are collected in full automatically, except listings without a price: only those among the first 10,000 are reached.
  • Advertiser phone numbers are the public numbers shown on the listing; Fotocasa sometimes shows a tracked number instead of the agency's own.
  • Agency contact emails are not collected.
  • The radius filter is applied to the listings of the Location or URL you give, so the area you search must cover the circle.
//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.