Fotocasa Property Scraper — Spain Real Estate, Prices & Agents avatar

Fotocasa Property Scraper — Spain Real Estate, Prices & Agents

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Fotocasa Property Scraper — Spain Real Estate, Prices & Agents

Fotocasa Property Scraper — Spain Real Estate, Prices & Agents

Scrape Fotocasa.es property listings for sale or rent across Spain — price, size, rooms, features, coordinates, photos and the agency name, phone and private-vs-agency seller. Search by location or paste URLs and export as JSON, CSV or Excel for lead generation and market research.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Collect property listings from Fotocasa.es, one of Spain's biggest real‑estate portals, as clean, structured data. Search by location (or paste a search URL) and get every listing back with price, size, rooms, features, coordinates, photos — plus the agency name, phone and whether the seller is a private owner or an agency.

Built for real‑estate agencies, lead‑generation teams, property investors, market analysts and data teams who need Spanish housing data — for sale or rent — without copying listings by hand.


✨ Why use this scraper

  • Full listing records — price, property type, rooms, bathrooms, surface (m²), floor, features and description.
  • Lead‑generation data — agency name, phone number, agency page, and a private‑owner vs agency flag with a filter to keep only private owners.
  • Location & map — full address (district, neighborhood, city, province, ZIP) plus latitude/longitude.
  • Buy or rent — scrape sale (comprar) or rental (alquiler) listings.
  • Photos & media — all listing image URLs, plus video/virtual‑tour flags.
  • Clean, typed output — price as a number, features parsed — ready for spreadsheets, databases and BI tools.
  • Fast & cheap — pure API‑style access (no browser), so runs are quick and low‑cost.
  • Export anywhere — JSON, CSV, Excel, HTML or via the Apify API and integrations.

🚀 Quick start

  1. Choose Buy or Rent.
  2. Enter one or more locations (for example madrid-capital, barcelona-capital) — or paste Start URLs.
  3. Set Maximum listings and click Start.

Each listing comes back as one clean record.


📥 Input

FieldTypeDescription
Operation (operation)selectcomprar (buy) or alquiler (rent).
Locations (locations)arrayFotocasa location slugs (madrid-capital, barcelona-capital …).
Start URLs (startUrls)arrayPaste Fotocasa search URLs directly (overrides operation/locations).
Only private owners (onlyPrivateOwners)booleanKeep only private‑owner listings (skip agencies).
Maximum listings (maxItems)integerCap the number of listings.
Max pages per search (maxPagesPerSearch)integerResult pages per search (~30 listings each).
Proxy configuration (proxyConfiguration)objectSpanish (ES) residential proxy is required.

Example — buy listings in Madrid

{
"operation": "comprar",
"locations": ["madrid-capital"],
"maxItems": 300
}

Example — only private owners (lead‑gen)

{
"operation": "comprar",
"locations": ["barcelona-capital", "valencia-capital"],
"onlyPrivateOwners": true,
"maxItems": 500
}

Example — paste a search URL

{
"startUrls": ["https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l"]
}

📤 Output

Each listing is one dataset item. Example:

{
"id": 190139043,
"url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/.../190139043/d",
"operation": "comprar",
"propertyType": "Flat",
"price": 354000,
"priceText": "354.000 €",
"isReduced": false,
"rooms": 3,
"bathrooms": 2,
"surface": 90,
"floor": 9,
"antiquity": 7,
"amenities": ["heating", "terrace", "elevator", "parking"],
"isNewConstruction": false,
"district": "San Blas",
"neighborhood": "Rosas - Musas",
"city": "Madrid",
"province": "Madrid",
"zipCode": "28022",
"latitude": 40.4311,
"longitude": -3.6074,
"agencyName": "VOhome Moratalaz",
"advertiserType": "professional",
"isPrivateOwner": false,
"phone": "+34910327367",
"agencyUrl": "https://www.fotocasa.es/es/inmobiliaria-...",
"photos": ["https://static.fotocasa.es/images/ads/..."],
"photoCount": 24,
"hasVirtualTour": false,
"publishedDaysAgo": 131,
"description": "Magnífico piso en la zona de Las Rosas...",
"scrapedAt": "2026-09-01T10:00:00.000Z"
}

Field reference

Listing

FieldDescription
id, adIdFotocasa listing IDs.
urlListing page.
operationcomprar or alquiler.
propertyTypeFlat, house, etc.
price, priceTextPrice as number and as shown.
isReduced, reducedPricePrice‑drop flag/value.

Property

FieldDescription
rooms, bathrooms, surfaceRooms, baths and size (m²).
floor, antiquityFloor and age.
amenitiesFeatures (heating, terrace, elevator, parking …).
isNew, isNewConstructionNew‑build flags.

Location

FieldDescription
district, neighborhood, city, province, zipCodeAddress.
latitude, longitudeCoordinates.

Advertiser (lead‑gen)

FieldDescription
agencyNameAgency / advertiser name.
advertiserTypeprofessional or private.
isPrivateOwnerWhether it's a private owner.
phoneContact phone.
agencyUrlAgency page on Fotocasa.

Media & meta

FieldDescription
photos, photoCountImage URLs.
hasVideo, hasVirtualTourMedia flags.
publishedDaysAgoHow long the listing has been live.
descriptionListing description.

💡 Use cases

  • Lead generation — build lists of private owners or agencies with phone numbers for outreach.
  • Market & price analysis — aggregate prices by district, size and type to track the Spanish market.
  • Investment research — spot price drops, new builds and opportunities by area.
  • Agency intelligence — see which agencies list what, where and at what price.
  • Data & analytics — build clean datasets of Spanish real estate for models and dashboards.

🎯 Tips for best results

  • Use location slugs as they appear in Fotocasa URLs (madrid-capital, barcelona-capital, valencia-capital …), or paste a full search URL.
  • Filter to private owners with Only private owners for cleaner lead lists.
  • Combine locations to cover several cities in one run.
  • Filter after export — pull broadly, then filter on price, surface, rooms, advertiserType or district.

🔌 Run it your way

  • Apify Console — pick buy/rent, enter locations and click Start.
  • API — start runs and pull the dataset programmatically.
  • Scheduler — refresh listings and prices on a schedule.
  • Integrations — push results to Google Sheets, Zapier, Make, webhooks, S3 and more.

❓ FAQ

Which country does Fotocasa cover? Fotocasa is a Spanish real‑estate portal, covering property for sale and rent across Spain.

Do I need an account or API key? No. Just pick buy/rent and enter locations (or paste URLs).

Do I get phone numbers? Yes — listings include the advertiser's phone, agency name and whether the seller is a private owner or an agency.

Can I get only private owners? Yes — enable Only private owners to skip agency listings.

Why is a Spanish proxy required? Fotocasa geo‑restricts access, so a Spanish (ES) residential proxy is needed for reliable results.

In what format is the data? Structured JSON by default, exportable to CSV, Excel, HTML and more.

Can I run it on a schedule? Yes — use the Apify Scheduler, or start runs through the Apify API and its integrations.


This tool collects publicly available property‑listing information for legitimate business use such as market research and real‑estate lead generation. You are responsible for how you use the data and for complying with all applicable laws and regulations, the website's terms, and data‑protection rules (including the GDPR where personal data such as phone numbers is involved). Do not use the output to infringe intellectual‑property rights, to send unlawful communications, or for any unlawful purpose. This scraper is not affiliated with, endorsed by, or connected to Fotocasa; all trademarks belong to their respective owners.


Tags

fotocasa · fotocasa scraper · spain real estate · spain property · real estate scraper · property scraper · idealista alternative · real estate leads · property listings · inmobiliaria · pisos · lead generation · real estate data · housing market · property prices