Fotocasa.es Scraper - Spanish Property Listings avatar

Fotocasa.es Scraper - Spanish Property Listings

Pricing

from $0.76 / 1,000 results

Go to Apify Store
Fotocasa.es Scraper - Spanish Property Listings

Fotocasa.es Scraper - Spanish Property Listings

Scrape fotocasa.es property listings for sale and rent across Spain. Each row carries the price in EUR, rooms and floor area with GPS location. Paste any fotocasa.es search URL with its filters and export every listing of a whole region in one run.

Pricing

from $0.76 / 1,000 results

Rating

0.0

(0)

Developer

Black Falcon Data

Black Falcon Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 hours ago

Last modified

Security

Limited permissions

Share

What does Fotocasa.es Scraper do?

Fotocasa.es Scraper extracts structured listing data from fotocasa.es — including contact details, descriptions, prices, and location data. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (descriptions and contact information) where the source provides them.

New to Apify? Sign up free and use the included $5 monthly platform credit to test this actor.

Key features

  • 💵 Structured pricing: structured price and currency on every listing — numbers you can sort and compare without parsing price text.
  • 📉 Price-change tracking: previousPrice show how a listing's price moved since the previous run.
  • 🏠 Property details: propertyType, rooms, bathrooms and floor on each listing as separate fields, not listing text.
  • 🔋 Energy rating: energyRating where the listing states it.
  • 🤝 Agent and agency: agencyName show who markets each listing.
  • 📍 Coordinates: latitude and longitude on each listing that has a location, ready for a map.
  • 🔍 Keyword search: search fotocasa.es by keyword with the query input, in the place you name in location.
  • 🔗 Paste-mode: paste fotocasa.es URLs into startUrls to scrape exactly the pages you picked in the browser.
  • 📋 Detail enrichment: two-stage scraping — list first, then enrich each listing with the full detail-page payload. One input toggle controls the depth.
  • ♻️ Incremental mode: daily runs emit only listings that are new or whose price/condition changed since last run. Perfect for inventory-diff dashboards and competitive pricing alerts. Saves 80–95% on recurring monitoring.
  • 🔔 Notifications: telegram / Slack / Discord / WhatsApp / webhook alerts on each run. Combine with incremental to ping only when prices or inventory actually move.

What data can you extract from fotocasa.es?

Each result includes Core listing fields (type, id, url, portalUrl, title, operation, propertyType, and propertySubtype, and more), detail fields when enrichment is enabled (description, detailsFetched, and detailFetched), and contact information (agencyPhone and externalContactUrl). In standard mode, all fields are always present — unavailable data points are returned as null, never omitted. In compact mode, only core fields are returned.

Detail enrichment is on by default and adds richer fields such as descriptions and contact information where the source provides them.

Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

  • query — A fotocasa.es search page URL (or just its path) — copy it from your browser after setting the filters you want. Leave empty to scrape every home for sale in Spain.
  • location — Optional. Overrides the location in the search URL with this location slug, e.g. "madrid-capital", "barcelona-capital", "valencia-capital".
  • maxResults — Maximum total results (0 = unlimited). (default: 100)
  • startUrls — Paste several fotocasa.es search URLs. Each URL becomes its own search task; results are merged and deduped by listing ID across all URLs. When provided, startUrls REPLACE the search/location fields (unsupported URLs are skipped, and if none is supported the run stops with an input error). (default: [])
  • includeDetails — Also open each listing page for the extras that only live there: energy certificate, agency reference and the full equipment list. (default: true)
  • enrichEmails — For listings from a professional agency, adds the agency's public contact email and website taken from its Fotocasa agency page. One extra page is opened per distinct agency. Private advertisers get empty values. (default: false)
  • descriptionMaxLength — Truncate description to N chars. 0 = no truncation. (default: 0)
  • compact — Core fields only (for AI-agent/MCP workflows). (default: false)
  • excludeEmptyFields — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: false)
  • incrementalMode — Compare against previous run state. stateKey is optional — defaults to a value derived from your search inputs (search URLs, locations, startUrls) so different filter sets never share state. (default: false)
  • stateKey — Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.
  • skipReposts — When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection). (default: false)
  • ...and 16 more parameters

Input examples

Basic search — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

{
"query": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"maxResults": 50
}

Incremental tracking — Only emit listings that changed since the previous run with this stateKey.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set emitUnchanged: true to include unchanged records as well.

{
"query": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"maxResults": 200,
"incrementalMode": true,
"stateKey": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l-tracker"
}

Compact output for AI agents — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

{
"query": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"maxResults": 50,
"compact": true
}

Output

Each run produces a dataset of structured listing records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

Example listing record

{
"type": "listing",
"id": "190150819",
"url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/aire-acondicionado-calefaccion-parking-terraza-ascensor-piscina-no-amueblado/190150819/d",
"portalUrl": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/aire-acondicionado-calefaccion-parking-terraza-ascensor-piscina-no-amueblado/190150819/d",
"title": "Duplex for sale in Calle Cerro del Murmullo, Ensanche de Vallecas - La Gavia",
"operation": "buy",
"propertyType": "home",
"propertySubtype": "duplex",
"isNewConstruction": false,
"price": 239000,
"currency": "EUR",
"pricePerM2": 3983.33,
"isPriceReduced": true,
"rooms": 1,
"bathrooms": 2,
"sizeM2": 60,
"surfaceSqm": 60,
"floor": "2nd floor",
"floorNumber": 2,
"hasLift": true,
"hasHeating": true,
"hasAirConditioning": true,
"hasTerrace": true,
"hasBalcony": false,
"hasGarden": false,
"hasPool": true,
"hasParking": true,
"features": [
"air conditioner",
"cabinets",
"heating",
"parking",
"terrace",
"... 6 more items"
],
"condition": "3",
"address": "Calle Cerro del Murmullo, Ensanche de Vallecas - La Gavia, Villa de Vallecas, Madrid",
"street": "Calle Cerro del Murmullo",
"zipCode": "28051",
"neighborhood": "Ensanche de Vallecas - La Gavia",
"neighbourhood": "Ensanche de Vallecas - La Gavia",
"district": "Villa de Vallecas",
"municipality": "Madrid",
"city": "Madrid",
"area": "Madrid, Zona de",
"province": "Madrid",
"autonomousCommunity": "Madrid",
"country": "España",
"latitude": 40.364566756216654,
"longitude": -3.5831800373206257,
"exactLocation": false,
"description": "Inmobiliaria VOhome La Gavia vende magnífico ático dúplex tipo loft reformado, con una distribución moderna y funcional.\r\n\r\nEl inmueble cuenta con 35 m² útiles en planta baja, distribuidos en recibido...",
"publishedAt": "2026-07-04T14:05:05.403Z",
"daysOnPortal": 119,
"isFeatured": true,
"isHighlighted": false,
"isNewListing": false,
"hasSubsidies": true,
"hasVirtualTour": true,
"hasVideo": true,
"hasFloorPlans": false,
"isAuction": false,
"isOccupied": false,
"isBareOwnership": false,
"isRentedWithTenants": false,
"isTemporaryRental": false,
"isOpportunity": false,
"tags": [
"is_exterior",
"is_modern"
],
"image": "https://static.fotocasa.es/images/ads/00594e7f-49d8-463b-bca6-fbf96ab20b10?rule=original",
"imageCount": 28,
"images": [
"https://static.fotocasa.es/images/ads/00594e7f-49d8-463b-bca6-fbf96ab20b10?rule=original",
"https://static.fotocasa.es/images/ads/862606c5-029c-4955-a64e-22bdbba0bc58?rule=original",
"https://static.fotocasa.es/images/ads/1781c031-bef8-476c-aec7-52a7bbbc0482?rule=original",
"https://static.fotocasa.es/images/ads/3b307f20-778c-4317-9229-1f43ad493953?rule=original",
"https://static.fotocasa.es/images/ads/f59b8f4c-824b-4b25-8606-170fa4c16b23?rule=original",
"... 23 more items"
],
"videoUrls": [
"https://static.fotocasa.es/statics/ads/9414f9a3-4ac9-4bd6-9dc2-5e7c6822372b?rule=original"
],
"advertiserType": "agency",
"agencyName": "Vohome La Gavia",
"agencyId": "9202769992161",
"agencyUrl": "https://www.fotocasa.es/es/pro/vohome-la-gavia/",
"agencyLogo": "https://static.fotocasa.es/images/client/ec171001-7e95-4fb2-a718-43ae9a9d5aed/20260121084657?rule=original",
"agencyPhone": "+34910133200",
"detailsFetched": false,
"position": 1,
"searchLabel": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"searchUrl": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"scrapedAt": "2026-10-31T23:56:53.525Z",
"listingId": "4d4698cc2c4a8a769722ed2491fb56545c0b4ef19b4ca263be2ead2cbdaf348d",
"detailFetched": false,
"searchQuery": "https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l",
"contentQuality": "serp_only",
"source": "fotocasa.es",
"contentHash": "1e04f2cd3e73860258d5d56b9901032ad608c932a184c3134a2274c0a059516c"
}

Incremental fields

When incremental mode is on, each record also carries:

  • changeType — one of NEW, UPDATED, UNCHANGED, REAPPEARED, EXPIRED. Default output covers NEW / UPDATED / REAPPEARED; set emitUnchanged: true or emitExpired: true to opt into the others.
  • isRepost, repostOfId, repostDetectedAt — populated when a new listing matches the tracked content of a previously expired one. Set skipReposts: true to drop detected reposts from the output.

How to scrape fotocasa.es

  1. Go to Fotocasa.es Scraper in Apify Console.
  2. Enter a search keyword and optional location filter.
  3. Set maxResults to control how many results you need.
  4. Keep includeDetails on (the default) for descriptions, contact info, or turn it off for faster, cheaper runs.
  5. Click Start and wait for the run to finish.
  6. Export the dataset as JSON, CSV, or Excel.

Use cases

  • Extract listing data from fotocasa.es for market research and competitive analysis.
  • Track pricing trends across regions and categories over time.
  • Monitor new and changed listings on scheduled runs without processing the full dataset every time.
  • Use structured location data for regional analysis, mapping, and geo-targeting.
  • Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
  • Export clean, structured data to dashboards, spreadsheets, or data warehouses.

How much does it cost to scrape fotocasa.es?

Pricing for Fotocasa.es Scraper has not been finalized yet. It will be published here before the actor becomes publicly available.

You only use your normal Apify platform resources when you run the actor from your own account.

FAQ

How many results can I get from fotocasa.es?

The number of results depends on the search query and available listings on fotocasa.es. Use the maxResults parameter to control how many results are returned per run.

Does Fotocasa.es Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

Can I integrate Fotocasa.es Scraper with other apps?

Yes. Fotocasa.es Scraper works with Apify's integrations to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

Can I use Fotocasa.es Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the Apify API. Client libraries are available for JavaScript, Python, and other languages.

Can I use Fotocasa.es Scraper through an MCP Server?

Yes. Apify provides an MCP Server that lets AI assistants and agents call this actor directly. Use compact mode, descriptionMaxLength, a single descriptionFormat, and excludeEmptyFields to keep payloads manageable for LLM context windows.

This actor extracts publicly available data from fotocasa.es. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

Your feedback

If you have questions, need a feature, or found a bug, please open an issue on the actor's page in Apify Console. Your feedback helps us improve.

You might also like

Getting started with Apify

New to Apify? Create a free account with $5 credit — no credit card required.

  1. Sign up — $5 platform credit included
  2. Open this actor and configure your input
  3. Click Start — export results as JSON, CSV, or Excel

Need more later? See Apify pricing.

Disclaimer

This actor accesses only publicly available data on fotocasa.es. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Fotocasa.es's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Fotocasa.es or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

Search keywords

fotocasa scraper, fotocasa api, apify fotocasa, fotocasa data extraction, fotocasa.es scraper, fotocasa.es api, apify fotocasa.es, fotocasa.es data extraction, fotocasa.es data, property listings scraper, real estate data, property data.