# Underpriced T2 flats in Porto

**Use case:** 

Two-bedroom flats for sale in Porto priced well below comparable flats: deal score 80+, with estimated rent and gross yield for each. Best deals first.

## Input

```json
{
  "cities": [
    "porto"
  ],
  "mode": "scoreListings",
  "typology": [
    "T2"
  ],
  "areaMin": 15,
  "areaMax": 250,
  "minScore": 80,
  "maxScoredListings": 200,
  "includePrimaryMarket": true,
  "maxListingsPerSide": 0,
  "minSaleSample": 15,
  "minRentSample": 10,
  "onlyNewOrChanged": false,
  "watchlistName": "default",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "PT"
  }
}
```

## Output

```json
{
  "dealScore": {
    "label": "Deal score",
    "format": "number"
  },
  "discountVsMedianPct": {
    "label": "Below median (%)",
    "format": "number"
  },
  "price": {
    "label": "Price (EUR)",
    "format": "number"
  },
  "pricePerM2": {
    "label": "Price per m² (EUR)",
    "format": "number"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "district": {
    "label": "Freguesia",
    "format": "string"
  },
  "typology": {
    "label": "Typology",
    "format": "string"
  },
  "areaM2": {
    "label": "Area (m²)",
    "format": "number"
  },
  "estimatedRentMonthly": {
    "label": "Estimated rent (EUR/month)",
    "format": "number"
  },
  "grossYieldPct": {
    "label": "Gross yield (%)",
    "format": "number"
  },
  "url": {
    "label": "Listing URL",
    "format": "string"
  },
  "flags": {
    "label": "Flags",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Imovirtual Scraper with Rental Yield & Deal Score – Portugal Actor is ready to run with the inputs already set for "Underpriced T2 flats in Porto". [Sign up or log in](https://console.apify.com/create-task-from-example/keywYj5y0Co3NiqqD) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Underpriced T2 flats in Porto" task

The Imovirtual Scraper with Rental Yield & Deal Score – Portugal Actor will start running based on the input automatically. You can also change all the input fields, like cities, what to return, and more, to match your specific use case.

### 3. Receive the "Underpriced T2 flats in Porto" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as deal score, below median (%), price (eur), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Underpriced T2 flats in Porto" task via API](https://apify.com/data-nest/imovirtual-rental-yield.md).

## FAQ

### What does this task return?

Two-bedroom (T2) flats for sale in Porto with a deal score of 80 or more, best deals first. Each comes with its discount against comparable flats, an estimated monthly rent, a gross yield and a link to the listing.

### What does a deal score of 80 mean?

The flat's price per m² is clearly below the median of comparable T2 flats in the same freguesia. 50 means priced at the median, 100 means far below it.

### How much does it cost?

$0.001 per returned listing at the Free plan price (less on higher plans). To cap the cost, lower maxScoredListings, raise minScore or set a maximum charge per run.

### How long does it take?

About 4–8 minutes. The task reads the whole Porto market, for sale and for rent, to compute fair medians.

### Is a high score a guaranteed bargain?

No. Listings more than 40% below the median are left out as likely data errors, but a cheap flat may still need renovation. Always check the listing.

### Can I get only new deals every day?

Yes: set onlyNewOrChanged to true, choose a watchlistName and schedule the task daily. Each run then returns only new listings and price cuts.

## About this Actor

This example demonstrates how to use [Imovirtual Scraper with Rental Yield & Deal Score – Portugal](https://apify.com/data-nest/imovirtual-rental-yield.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/data-nest/imovirtual-rental-yield.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/data-nest/imovirtual-rental-yield.md

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`).
