Fotocasa Scrapper

Fotocasa Scrapper

by kaidev

Automatically extract property prices, locations, features, and images from fotocasa.es for market research. Get structured data without manual work.

145 runs
9 users
Try This Actor

Opens on Apify.com

About Fotocasa Scrapper

Need to pull real estate data from Fotocasa without the manual hassle? This actor is built for that. It's a straightforward scraper that logs into fotocasa.es and systematically extracts the property details you actually need for analysis. Think of it as your automated research assistant for the Spanish property market. It captures the essentials: listing prices, exact locations, square footage, room counts, and all the listed amenities. It also grabs image URLs, so you have a complete picture of each property. The data comes out structured and ready to go, typically in JSON or CSV formats, which makes it simple to drop into a spreadsheet or feed into your own analysis tools. I've used it primarily for two things: competitive market research to see pricing trends in specific neighborhoods, and for building consolidated property databases. It saves you from the tedious work of copying and pasting data from hundreds of listings manually. You configure your search parameters, run it, and get back a clean dataset. It's a practical solution for investors, analysts, or anyone who needs reliable, up-to-date property information from one of Spain's largest portals without spending hours collecting it by hand.

What does this actor do?

Fotocasa Scrapper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Fotocasa Scraper

An Apify Actor built on the JavaScript PuppeteerCrawler template for scraping real estate data from websites that require JavaScript execution. It uses headless Chrome to crawl pages in parallel and extract structured data.

Key Features

  • Puppeteer Crawler: Handles JavaScript-rendered content through headless Chrome.
  • Configurable Proxy: Built-in proxy management using Actor.createProxyConfiguration() to circumvent IP blocking. Supports Apify Proxy or custom proxy URLs.
  • Input Schema: Validates run configuration via a defined JSON schema.
  • Structured Output: Saves scraped data into an Apify Dataset, where each item shares the same attributes.
  • Custom Routing: Uses a handler-based router (routes.js) for different URL patterns and page types.

How It Works

The actor follows a standard Crawlee flow:

  1. Input Retrieval: Reads start URLs and configuration from INPUT.json.
  2. Crawler Setup: Initializes a PuppeteerCrawler instance with proxy configuration and a request handler.
  3. Request Handling: Routes URLs using handlers defined in routes.js. You can define a default handler and specific handlers (e.g., for 'detail' pages).
  4. Data Extraction: Within each handler, you can use Puppeteer (page) to interact with the page, extract data, and push results to the dataset with Dataset.pushData().
  5. Execution: The crawler runs with crawler.run(startUrls).

A basic detail handler looks like this:

router.addHandler('detail', async ({ request, page, log }) => {
    const title = await page.title();
    // Add your extraction logic here
    await Dataset.pushData({
        url: request.loadedUrl,
        title,
    });
});

How to Use

Run locally:

apify run

Deploy: Push your code to the Apify platform to run as a cloud Actor.

Input/Output

Input (INPUT.json):
Define startUrls and any custom configuration (like proxy settings) as required by your implementation.

Output:
Results are stored in an Apify Dataset. Each item is a JSON object containing the scraped fields you define in your request handlers (e.g., URL, title, property details).

Resources

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Fotocasa Scrapper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
kaidev
Pricing
Paid
Total Runs
145
Active Users
9
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support