Fotocasa Scraper — Spain Real Estate Listings & Prices avatar

Fotocasa Scraper — Spain Real Estate Listings & Prices

Pricing

Pay per usage

Go to Apify Store
Fotocasa Scraper — Spain Real Estate Listings & Prices

Fotocasa Scraper — Spain Real Estate Listings & Prices

Scrape real estate listings from fotocasa.es — Spain's leading property portal. Extract prices, photos, GPS coordinates, property details, and agency info for apartments, houses, and more. No login required.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Studio Amba

Studio Amba

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

What does Fotocasa Scraper do?

Fotocasa Scraper extracts real estate listings from Fotocasa.es — one of Spain's largest and most popular property portals. It collects prices, property details, photos, GPS coordinates, agency info, and more for apartments, houses, chalets, penthouses, and other property types across all Spanish cities. No login or cookies required.

Use the Apify platform to run this scraper on a schedule, access results via API, or integrate with tools like Google Sheets, Slack, Zapier, and Make.

Why use Fotocasa Scraper?

  • Market research — Track property prices across Spanish cities, compare neighborhoods, and identify market trends
  • Lead generation — Collect real estate agency listings for B2B outreach or partnership opportunities
  • Price monitoring — Set up scheduled runs to track price changes for specific cities or property types
  • Data analysis — Export structured data to CSV, JSON, or Excel for portfolio analysis and investment decisions
  • Competitive intelligence — Monitor competitor listings, pricing strategies, and market positioning
  • Relocation planning — Compare rental prices and property availability across Spanish cities

How to scrape Fotocasa data

  1. Go to the Fotocasa Scraper page on Apify
  2. Click Try for free to open the actor in Apify Console
  3. Enter a city name (e.g., "Madrid", "Barcelona", "Valencia")
  4. Select listing type: For Sale or For Rent
  5. Optionally filter by property type (apartment, house, chalet, etc.)
  6. Optionally set a price range
  7. Set the maximum number of results you need
  8. Click Start and wait for the scraper to finish
  9. Download your data in JSON, CSV, Excel, or HTML format

Input

FieldTypeRequiredDescription
searchQueryStringNoCity or location to search (default: "Madrid"). Examples: "Barcelona", "Valencia", "Sevilla", "Malaga"
listingTypeStringNo"sale" (default) or "rent"
propertyTypeStringNoFilter: "pisos" (apartments), "casas" (houses), "chalets", "aticos" (penthouses), "duplex", "estudios" (studios), "lofts", or "all" (default)
minPriceIntegerNoMinimum price in EUR. Leave empty for no minimum
maxPriceIntegerNoMaximum price in EUR. Leave empty for no maximum
maxResultsIntegerNoMaximum listings to return (default: 100)
proxyConfigurationObjectNoProxy settings. Residential proxies with Spain targeting strongly recommended

Output

Each listing contains:

FieldTypeExample
titleString"Piso en venta en calle Gran Via"
priceNumber350000
currencyString"EUR"
listingTypeString"sale"
propertyTypeString"piso"
addressString"Calle Gran Via, 25"
cityString"Madrid"
postalCodeString"28013"
latitudeNumber40.4200
longitudeNumber-3.7025
bedroomsNumber3
bathroomsNumber2
surfaceNumber95
buildYearNumber1975
imageUrlStringMain listing photo URL
imageUrlsArrayAll listing photo URLs
descriptionStringFull property description text
agencyNameString"Tecnocasa Madrid Centro"
urlStringFull listing URL on Fotocasa
scrapedAtString"2026-05-27T10:30:00.000Z"

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Example output

{
"title": "Piso en venta en calle Gran Via",
"price": 350000,
"currency": "EUR",
"listingType": "sale",
"propertyType": "piso",
"address": "Calle Gran Via, 25",
"city": "Madrid",
"postalCode": "28013",
"latitude": 40.42,
"longitude": -3.7025,
"bedrooms": 3,
"bathrooms": 2,
"surface": 95,
"buildYear": 1975,
"imageUrl": "https://static.fotocasa.es/images/ads/...",
"imageUrls": [
"https://static.fotocasa.es/images/ads/...",
"https://static.fotocasa.es/images/ads/..."
],
"description": "Luminoso piso en pleno centro de Madrid con 3 habitaciones...",
"agencyName": "Tecnocasa Madrid Centro",
"url": "https://www.fotocasa.es/es/comprar/vivienda/madrid-capital/calefaccion-ascensor/12345678/d",
"scrapedAt": "2026-05-27T10:30:00.000Z"
}

How much does it cost to scrape Fotocasa?

Fotocasa requires browser-based scraping with residential proxies due to its JavaScript rendering. Estimated costs:

  • ~20 listings per run: 0.3 compute units ($1.50)
  • ~100 listings per run: 1 compute unit ($5)
  • ~500 listings across multiple pages: 4 compute units ($20)

Costs vary based on proxy usage and the number of pages scraped. Use the maxResults parameter to control run costs.

Tips for best results

  • Use residential proxies — Fotocasa works best with residential proxies targeted at Spain. This is preconfigured in the default proxy settings.
  • Start small — Test with maxResults: 10 before running large jobs
  • Use specific cities — Searching by city name gives the most reliable results
  • Schedule runs — Set up daily or weekly schedules to track market changes over time
  • Filter by property type — Narrow results to reduce costs and get more relevant data
  • Price filters — Use minPrice and maxPrice to target specific market segments

Supported cities

The scraper works with any city in Spain. Popular choices include: Madrid, Barcelona, Valencia, Sevilla, Malaga, Bilbao, Alicante, Zaragoza, Palma de Mallorca, Las Palmas, Murcia, Granada, Cordoba, Valladolid, San Sebastian, Salamanca, Marbella, Ibiza, Tenerife, and many more.

FAQ and support

Is it legal to scrape Fotocasa? This actor extracts publicly available data from fotocasa.es. Users are responsible for ensuring their use complies with applicable laws and the website's terms of service.

Why are some fields empty? Not all listings include every detail (e.g., build year, postal code, GPS coordinates). The scraper returns null for missing fields.

The scraper returned 0 results? Fotocasa requires JavaScript rendering. Make sure you are using residential proxies with Spain country targeting in the proxy configuration. Also verify the city name is spelled correctly.

Can I scrape commercial properties? This scraper focuses on residential listings (viviendas). Commercial properties, garages, and storage units follow different URL patterns and may not be fully supported.

Need a custom solution? If you need modifications or a custom scraper, open an issue on the Issues tab or contact the developer.