Fotocasa Spain Scraper — Property Listings & Agency Leads avatar

Fotocasa Spain Scraper — Property Listings & Agency Leads

Pricing

from $3.50 / 1,000 properties

Go to Apify Store
Fotocasa Spain Scraper — Property Listings & Agency Leads

Fotocasa Spain Scraper — Property Listings & Agency Leads

Scrape Fotocasa.es sale and rent listings across Spain: price, m², rooms, location, agency contacts and listing URLs. Built for market analysis, lead gen and pricing intel. Clean property schema — not a bloated multi-portal scraper.

Pricing

from $3.50 / 1,000 properties

Rating

0.0

(0)

Developer

Noah Adler

Noah Adler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 hours ago

Last modified

Share

Fotocasa Scraper — Spain Real Estate Listings (Sale & Rent)

Fotocasa scraper for Spain property listings: extract ads from Fotocasa.es (comprar / alquiler) with price, m², rooms, bathrooms, neighborhood, coordinates and agency contacts.

Ideal if you need a Fotocasa API, pisos Fotocasa Madrid/Barcelona, alquiler Fotocasa scraper, or Spain real estate data for market analysis, leads and pricing intel.

Input: city / location or a Fotocasa list URL.
Output: one Dataset row per property.

Why this Actor: Spain-focused · Buy & rent · Agency fields · Pagination · Cleaner Idealista alternative channel


Table of contents

  1. What this Actor does
  2. What you get
  3. Features
  4. Input
  5. Output example
  6. Output fields
  7. Quick start (API)
  8. Use cases
  9. Limitations
  10. FAQ
  11. Keywords

What this Actor does

StepAction
1Open Fotocasa search result pages (venta or alquiler)
2Read structured listing JSON embedded in the page
3Paginate (/l, /l/2, …) until maxItems
4Normalize price, size, rooms, geo and agency fields

What you get

Pricing & property

  • price, pricePerM2, currency
  • surfaceM2, rooms, bathrooms, floor

Location

  • Municipality, district, neighborhood, zip, lat/lng

Agency

  • Name, phone (when public), type, URL

Features

CapabilityDetail
Location or URLMadrid / slug or paste list URL
Buy & rentoperation: buy | rent
FiltersOptional min/max price
PaginationmaxPages + maxItems caps
Spain SEOBuilt for ES real-estate queries

Input

FieldRequiredDescription
locationCond.City or slug (Madrid, barcelona-capital)
searchUrlsCond.Full Fotocasa list URLs
operationNobuy (default) or rent
propertyTypeNohome
maxItemsNoDefault 50 (max 500)
maxPagesNoDefault 10
minPrice / maxPriceNoEUR filters
proxyConfigurationNoUse RESIDENTIAL + ES if blocked

Example — Madrid sale

{
"location": "Madrid",
"operation": "buy",
"maxItems": 100,
"proxyConfiguration": { "useApifyProxy": true }
}

Example — Barcelona rent via URL

{
"searchUrls": [
"https://www.fotocasa.es/es/alquiler/viviendas/barcelona-capital/todas-las-zonas/l"
],
"maxItems": 50
}

Output example

{
"listingId": "189717534",
"listingUrl": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/.../d",
"operation": "buy",
"price": 650000,
"currency": "EUR",
"surfaceM2": 99,
"rooms": 3,
"bathrooms": 2,
"municipality": "Madrid",
"district": "Barrio de Salamanca",
"agencyName": "Lucas Fox"
}

Output fields

GroupFields
IdentitylistingId, listingUrl, operation, propertyType
Priceprice, priceFormatted, pricePerM2, currency
SpecssurfaceM2, rooms, bathrooms, floor
Geoaddress, district, neighborhood, municipality, province, zipCode, latitude, longitude
AgencyagencyName, agencyPhone, agencyType, agencyUrl
MetapublishedAt, features, scrapedAt

Quick start (API)

from apify_client import ApifyClient
client = ApifyClient("<YOUR_TOKEN>")
run = client.actor("YOUR_USERNAME/fotocasa-spain-property-scraper").call(
run_input={"location": "Barcelona", "operation": "rent", "maxItems": 40}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Use cases

  • Track sale & rent prices by neighborhood
  • Build agency lead lists (when phone is public)
  • Compare inventory vs Idealista or your CRM
  • Investor dashboards for Spanish cities

Limitations

  • Focused on viviendas list search in v0.1.
  • Some agency phones are gated / missing.
  • Site changes can require parser updates.
  • Respect Fotocasa Terms of Service.

FAQ

Madrid vs madrid-capital?
Both work — we slugify common city names.

Rent vs buy?
Set operation to rent or buy (or use an alquiler/comprar URL).

Blocked?
Enable Apify Proxy (RESIDENTIAL + ES often helps).


Keywords

fotocasa scraper, fotocasa api, fotocasa.es, spain real estate scraper, pisos fotocasa, alquiler fotocasa, madrid property listings, barcelona real estate data