# Supercasa Scraper — Portugal Homes for Sale and Rent (`memo23/supercasa-scraper`) Actor

Collect SuperCasa listings for sale or rent across Portugal: asking price, size, bedrooms, bathrooms, neighborhood, photos, energy class and the agency. Filter by city, price, area and condition, sort the results, or paste a SuperCasa search link and export JSON or CSV.

- **URL**: https://apify.com/memo23/supercasa-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Supercasa Scraper — Portugal homes for sale and rent

Pull SuperCasa listings into a dataset you can filter, schedule and export. One row per home: asking price, size, rooms, neighborhood, photos, energy class and the agency.

Sale and rent. Lisbon, Porto, the Algarve, or any SuperCasa search link.

![How the Supercasa Scraper works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-supercasa.png)

### Why Use This Scraper?

- Portugal's national property portal, in rows you can drop into a sheet or a model.
- Price, price per m², area, bedrooms, bathrooms and the floor, not just a title.
- Map coordinates, the full photo set, the energy class and the agency on each listing.
- City, price, size, condition and sort, or paste the search you already built on SuperCasa.
- JSON, CSV or Excel from the dataset. No SuperCasa account.

### Overview

SuperCasa publishes homes, rooms, offices, shops, land and buildings across Portugal. This actor turns a search into a dataset: one listing per row, with the fields buyers and analysts actually compare.

Open each listing (the default) and the row also carries the description, every photo, the feature lists and the agency profile link. Leave that off and you still get price, size and title from the search results, faster.

The public listing page does not show the agency phone number. This actor does not invent one.

### Supported Inputs

**A place name.** `lisboa`, `porto`, `cascais`, `faro`, `lisboa/benfica`. `Lisbon` and `Porto` are accepted in English. A parish path is the two segments SuperCasa uses, such as `lisboa/benfica`.

**A search link.** Paste the page you are looking at, filters included:

```text
https://supercasa.pt/comprar-casas/lisboa/com-apartamentos,t2,preco-max-500000
https://supercasa.pt/arrendar-casas/porto
```

**A single listing.**

```text
https://supercasa.pt/venda-apartamento-t2-lisboa/i2237959
```

When Start URLs is filled in, Location and the filter fields are not applied. Each link is handled on its own.

SuperCasa shows at most 75 pages for one search (25 listings a page). A larger market needs a tighter price or area band, or several locations.

### Use Cases

| Who | What they do with the rows |
|---|---|
| Agencies | Watch new instructions in a parish and the agency that listed them |
| Investors | Compare €/m² across neighborhoods |
| Portals and proptech | Keep a Portugal feed next to Idealista |
| Analysts | Track asking prices, size and energy class over time |
| Relocation teams | Shortlist rentals by bedrooms, budget and elevator |

### How It Works

1. Set a city and sale or rent, or paste a SuperCasa link.
2. Add price, size, bedrooms, condition or sort if you want a narrower set.
3. Run. The default opens each listing so the row includes photos, coordinates and the agency.
4. Download JSON, CSV or Excel, or call the dataset from the Apify API.

### Input Configuration

| Field | What it does |
|---|---|
| Location | City or area slug. Default `lisboa`. |
| More locations | Extra places, each searched with the same filters. |
| Sale or rent | Buy or rent. |
| Property type | Homes, rooms, new homes, offices, commercial, garages, land, storage, buildings. Empty means homes. |
| Home subtype | Apartments, houses, country homes, duplex, penthouses. |
| SuperCasa links | Search pages or listing links. Overrides the fields above. |
| Bedrooms | Studio through 4+. |
| Price and area | Minimum and maximum. 0 means no bound. |
| Condition | New, good condition, to renovate, under construction. |
| Floor | Ground, middle, or top. |
| Elevator, video, virtual visit | Keep only listings tagged with that. |
| Published within | Last 48 hours, week, or month. |
| Extra filters | Extra SuperCasa filter words, one per line. |
| Sort | Relevance, newest, price, €/m², size, floor. |
| Maximum listings | Stop after this many. Free plans stop at 100. |
| Open each listing | On by default. Off keeps the search-result fields only. |
| Parallel listings | 1 to 4 listing pages at once. |

**Apartments for sale in Lisbon, 2 bedrooms, up to 500,000 €**

```json
{
  "location": "lisboa",
  "operation": "buy",
  "propertySubtypes": ["apartamentos"],
  "bedrooms": "2",
  "priceMax": 500000,
  "maxItems": 100
}
```

**Rentals in Porto with an elevator, from a link**

```json
{
  "startUrls": ["https://supercasa.pt/arrendar-casas/porto/com-elevador"],
  "maxItems": 50
}
```

### Output Overview

Each row is one listing. Search-only runs fill the price, size, rooms, title and first photo. With **Open each listing** on, the same row also has the description, the photo list, coordinates, energy class, feature groups and the agency.

### Output Samples

A T2 in São Vicente, from a live run. The photo list and the description are shortened.

```json
{
  "id": "1862479",
  "url": "https://supercasa.pt/venda-apartamento-t2-lisboa/i1862479",
  "title": "Apartamento T2 em São Vicente, Lisboa",
  "price": 359900,
  "currency": "EUR",
  "areaSqm": 47,
  "bedrooms": 2,
  "bathrooms": 1,
  "city": "Lisboa",
  "neighborhood": "São Vicente",
  "latitude": 38.71847,
  "longitude": -9.129592,
  "advertiserName": "Private Luxury - Real Estate",
  "energyClass": "C",
  "operation": "sale",
  "images": ["https://imagens.supercasa.pt/..."]
}
```

### Key Output Fields

**Price.** `price`, `currency`, `pricePerSqm`.

**Home.** `title`, `areaSqm`, `bedrooms`, `bathrooms`, `floor`, `energyClass`, `reference`, `description`, `features`.

**Place.** `address`, `neighborhood`, `city`, `region`, `latitude`, `longitude`.

**Agency.** `advertiserName`, `advertiserUrl`.

**Media.** `image` (first photo) and `images`.

**Identity.** `id`, `url`, `operation` (`sale` or `rent`), `datePosted`, `dateModified`.

### FAQ

**Does it cover rent and sale?**
Yes. Set Sale or rent, or paste an `arrendar` or `comprar` link.

**Can I paste a search I already filtered on SuperCasa?**
Yes. Put it in SuperCasa links. The filters in the link are kept. The form filters are not added on top.

**Why is there no phone number?**
SuperCasa does not print the phone on the public listing. The row has the agency name and the agency page instead.

**How many listings can one search return?**
SuperCasa pages a search to 75 pages, 25 listings each. Split a big city by price or by neighborhood.

**What is left out when I turn off Open each listing?**
Coordinates, the description, the full photo list, energy class, feature groups and the agency. Price, size, rooms, title and the first photo stay.

### Support

Questions and bugs go on the Issues tab of this actor. For a custom export or a scheduled watch on a set of parishes, say what the sheet should contain.

### Additional Services

Need the same feed on a schedule, a joined file with another Portugal portal, or columns renamed for a CRM? Open an issue with the sample row you want.

### Explore More Scrapers

- [**Idealista Scraper**](https://apify.com/memo23/idealista-scraper) — Spain, Italy, Portugal and France listings
- [**Standvirtual Scraper**](https://apify.com/memo23/standvirtual-scraper) — Portugal cars, dealers and EV battery fields

Full list at [apify.com/memo23](https://apify.com/memo23).

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/supercasa-scraper`).

**Purpose:** SuperCasa property listings in Portugal, sale or rent, one row per home with price, size, location, photos and agency.

**Minimal input:**

```json
{ "location": "lisboa", "operation": "buy", "maxItems": 20 }
```

**Output:** default dataset. Key fields: `url`, `title`, `price`, `areaSqm`, `bedrooms`, `bathrooms`, `city`, `neighborhood`, `latitude`, `longitude`, `advertiserName`, `energyClass`, `images`.

**Limits:** one search stops at 75 pages. No phone number. `includeDetails: false` skips coordinates, description and the agency.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by eGO Real Estate, the operator of supercasa.pt, or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available listing pages — no authenticated endpoints, paid features, or content behind the supercasa.pt login wall. Users are responsible for ensuring their use complies with supercasa.pt's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organization.

### SEO Keywords

supercasa scraper, supercasa.pt scraper, supercasa api, portugal property scraper, lisbon homes for sale, porto rentals data, algarve property listings, portuguese real estate data, property listings scraper, asking price dataset, energy class homes portugal, real estate lead generation portugal, agency listings portugal, idealista alternative portugal, housing market portugal

# Actor input Schema

## `location` (type: `string`):

City or area as SuperCasa writes it in the URL, for example lisboa, porto, cascais, or lisboa/benfica. Lisbon and Porto are accepted in English. Ignored when you paste Start URLs.

## `locations` (type: `array`):

Optional extra places, one per line. Each place is searched with the same filters.

## `operation` (type: `string`):

Buy is homes for sale. Rent is homes to let.

## `propertyTypes` (type: `array`):

Leave empty for houses and flats. Each selected type is its own search.

## `propertySubtypes` (type: `array`):

Optional, for homes and flats: apartments, houses, country homes, duplex or penthouses.

## `startUrls` (type: `array`):

Optional. Paste a SuperCasa search page or a single listing link. A search link keeps the filters already in it. When this is set, Location and the filters below are not used.

## `bedrooms` (type: `string`):

Minimum bedroom count on the search. 4+ uses SuperCasa's T4 filter.

## `priceMin` (type: `integer`):

Leave at 0 for no minimum.

## `priceMax` (type: `integer`):

Leave at 0 for no maximum.

## `areaMin` (type: `integer`):

Leave at 0 for no minimum.

## `areaMax` (type: `integer`):

Leave at 0 for no maximum.

## `status` (type: `string`):

Property condition on the search.

## `floorType` (type: `string`):

Floor band on the search.

## `hasElevator` (type: `boolean`):

Only listings SuperCasa tags with an elevator.

## `hasVideo` (type: `boolean`):

Only listings with a video.

## `hasVirtualVisit` (type: `boolean`):

Only listings with a virtual visit.

## `publishedWithin` (type: `string`):

Limit the search to recently published listings.

## `features` (type: `array`):

Optional SuperCasa filter words, one per line, added to the search. Examples already covered above: elevador, video, visita-virtual.

## `sortBy` (type: `string`):

Order of the search results.

## `maxItems` (type: `integer`):

Stop after this many listings. Free plans are capped at 100.

## `includeDetails` (type: `boolean`):

On by default. Adds the description, all photos, map coordinates, energy class, feature lists and the agency. Turn off for a faster run with price, size and title only.

## `maxConcurrency` (type: `integer`):

How many listing pages to open at once. Lower it if a run slows down.

## Actor input object example

```json
{
  "location": "lisboa",
  "operation": "buy",
  "bedrooms": "",
  "status": "",
  "floorType": "",
  "hasElevator": false,
  "hasVideo": false,
  "hasVirtualVisit": false,
  "publishedWithin": "",
  "sortBy": "relevance",
  "maxItems": 100,
  "includeDetails": true,
  "maxConcurrency": 4
}
```

# Actor output Schema

## `listings` (type: `string`):

One row per SuperCasa listing with price, size, bedrooms, location, photos, energy class and the agency.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "lisboa"
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/supercasa-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "location": "lisboa" }

# Run the Actor and wait for it to finish
run = client.actor("memo23/supercasa-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "lisboa"
}' |
apify call memo23/supercasa-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/supercasa-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/swHbeA3KbHHAe314P/builds/gtWjb5fCzGvXZOC17/openapi.json
