# Imovirtual Scraper - Portugal Real Estate (`jooah-code/imovirtual-scraper`) Actor

\[💰$2 / 1K] ⚡ Fast Imovirtual.com scraper. No login, no API key. Scrape Portugal apartments, houses, land and commercial property for sale or rent by search URL with any filter: price, price/m², area, typology, bathrooms, energy certificate, GPS, agency, phones and photos.

- **URL**: https://apify.com/jooah-code/imovirtual-scraper.md
- **Developed by:** [jooah code](https://apify.com/jooah-code) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Imovirtual Scraper - Portugal Real Estate

![Imovirtual Scraper - Portugal Real Estate](https://ik.imagekit.io/l2imuhdgi/banners/imovirtual-banner_3PCGg5uP7.png)

> Scrape apartments, houses, land, and commercial property for sale or rent from [Imovirtual.com](https://www.imovirtual.com/) and download them as JSON, CSV, Excel, or HTML. No account or login required.

### What does Imovirtual Scraper do?

**Imovirtual Scraper** turns Imovirtual.com search results into a clean, structured dataset of Portuguese property listings. Paste a search URL with the filters you already set on the site, and get the price, price per m², area, typology, bathrooms, energy certificate, address and GPS coordinates, photos, agency, and phone numbers for every listing.

[Imovirtual.com](https://www.imovirtual.com/) is one of the biggest property portals in Portugal. Private owners, real estate agencies, and developers use it to advertise homes, plots, shops, offices, garages, rooms, and new developments, which makes it a strong source for tracking the Portuguese housing market. The scraper reads the same public data you see in your browser, so you can run it once, put it on a schedule, or connect it to your own tools.

### Features

- **Any search URL**: start from any Imovirtual search, single listing, or new development page.
- **Keeps your filters**: location, price, area, typology, new build, owner type, sort order, and other filters in the URL shape the results.
- **Contact details**: agency name, agency profile link, and phone numbers are included with each listing.
- **Clean data**: prices and areas are real numbers, dates use one standard format, and descriptions are plain text.
- **Flexible cost**: set a result limit per URL, or turn off listing details for faster and cheaper runs.
- **Automation ready**: schedule runs, export to Google Sheets, or connect to Make, Zapier, and n8n.

### Data fields

1. **Listing**: `url`, `id`, `title`, `description`, `transaction`, `propertyType`, `market`, `isExclusiveOffer`
2. **Price**: `price`, `currency`, `pricePerSquareMeter`, `rentPrice`, `deposit`
3. **Property details**: `areaInSquareMeters`, `terrainAreaInSquareMeters`, `typology`, `bedrooms`, `rooms`, `bathrooms`, `floor`, `buildingFloors`, `buildYear`, `buildingType`, `constructionStatus`, `heating`, `energyCertificate`, `availableFrom`, `features`
4. **Location**: `street`, `neighborhood`, `parish`, `council`, `district`, `location`, `latitude`, `longitude`
5. **Advertiser**: `referenceId`, `advertiserType`, `isPrivateOwner`, `advertiserName`, `agencyName`, `agencyUrl`, `phones`
6. **New developments**: `developmentTitle`, `developmentUrl`, `developmentState`, `units`
7. **Media**: `images`, `videoUrl`, `virtualTourUrl`, `floorPlanUrl`
8. **Dates**: `createdAt`, `modifiedAt`

### Who uses this Imovirtual scraper?

- **Market researchers** compare asking prices and price per m² by district, council, or typology.
- **Real estate agencies** keep an eye on what competitors list and how they price it.
- **Sales teams** build contact lists of agencies, developers, and private sellers.
- **Investors** watch new listings and developments in the areas they care about.
- **Data and AI teams** load ready-to-use property data into spreadsheets, dashboards, valuation models, or AI workflows.

### How to use Imovirtual Scraper

**Step 1.** Search on [Imovirtual.com](https://www.imovirtual.com/), apply your filters, and paste the results page URL into **Start URLs**. Single listing and new development URLs work too.

**Step 2.** Set **Maximum number of results** to how many listings you want per URL.

**Step 3.** Leave **Scrape listing details** on for the full data, or turn it off for a quicker run.

**Step 4.** Click **Start** and wait for the run to finish.

**Step 5.** Download the data in JSON, CSV, Excel, or HTML from the **Output** tab.

### Input parameters

- `startUrls` (**Start URLs**): Imovirtual.com URLs to scrape. Supported pages: search results for any location and property type (apartments, houses, plots, commercial properties, offices, warehouses, garages, rooms, new developments), single listing pages, and new development pages. Filters set on the website are kept, and a search can start from any result page.
- `maxResults` (**Maximum number of results**): how many listings to collect for each start URL. Use 0 for no limit.
- `scrapeDetails` (**Scrape listing details**): on by default. Each listing is opened to add the full description, GPS coordinates, phone numbers, bathrooms, energy certificate, building details, features, all photos, and development units. Turn it off to keep only the data shown on the search results.

### Example input

#### Scrape apartments for sale in Lisbon

```json
{
  "startUrls": [
    { "url": "https://www.imovirtual.com/pt/resultados/comprar/apartamento/lisboa" }
  ],
  "maxResults": 5,
  "scrapeDetails": true
}
```

### Sample output

Every listing becomes one dataset item, for example:

```json
{
  "url": "https://www.imovirtual.com/pt/anuncio/apartamento-t3-com-garagem-arrecadacao-e-vista-desafogada-no-murta-ID1j4TK",
  "id": 19323400,
  "title": "Apartamento T3 com Garagem, arrecadação e vista desafogada no Murta...",
  "transaction": "Sale",
  "propertyType": "Flat",
  "market": "Secondary",
  "price": 475000,
  "currency": "EUR",
  "pricePerSquareMeter": 5397.73,
  "rentPrice": null,
  "areaInSquareMeters": 88,
  "terrainAreaInSquareMeters": null,
  "typology": "T3",
  "bedrooms": 3,
  "rooms": 4,
  "bathrooms": 2,
  "floor": "Floor 1",
  "buildingFloors": null,
  "buildYear": 1990,
  "buildingType": "Block",
  "constructionStatus": "Ready to use",
  "heating": null,
  "energyCertificate": "E",
  "deposit": null,
  "availableFrom": null,
  "features": ["Garage", "Balcony"],
  "description": "Apartamento T3, localizado numa zona residencial calma do Murtal, na Parede, com vista desafogada, duas frentes e um excelente potencial de remodelação...",
  "street": "Avenida Maria Lamas",
  "neighborhood": "Murtal - Madorna",
  "parish": "Carcavelos e Parede",
  "council": "Cascais",
  "district": "Lisboa",
  "location": "Murtal - Madorna, Carcavelos e Parede, Cascais, Lisboa",
  "latitude": 38.70275,
  "longitude": -9.36261,
  "images": [
    "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6Img2a2FzdXo4bzE3dDItRUNPU1lTVEVNIiwidyI6W3siZm4iOiI2OW5scGE3ZWNxbTcxLUFQVCIsInMiOiIxNiIsImEiOiIwIiwicCI6IjEwLC0xMCJ9XX0.Pfl5Wcvmt05ER--LZ2nIYkj_gw0IazRzf_9TzRH4P-g/image;s=2048x1536;q=80"
  ],
  "videoUrl": "https://www.youtube.com/embed/I9zHIWFuFNk",
  "virtualTourUrl": "https://floorfy.com/tour/2700668",
  "floorPlanUrl": "https://feedmedia.egorealestate.com/Zfeed/S5/C3652/P31306036/Tblueprint/ID34b1dd01-0000-0500-0000-00001ab7f629.jpg",
  "referenceId": "P5092",
  "advertiserType": "Business",
  "isPrivateOwner": false,
  "advertiserName": "Habisale Lda",
  "agencyName": "HABISALE",
  "agencyUrl": "https://www.imovirtual.com/pt/empresas/agencias-imobiliarias/habisale-ID50478",
  "phones": ["+351210207528"],
  "developmentTitle": null,
  "developmentUrl": null,
  "developmentState": null,
  "units": [],
  "isExclusiveOffer": false,
  "createdAt": "2026-10-27T11:38:41Z",
  "modifiedAt": "2026-11-04T02:00:12Z"
}
```

Export the dataset as JSON, CSV, Excel, XML, or HTML, or read it through the Apify API.

### Good to know

- Only Imovirtual.com search, listing, and new development pages are supported. Any other URL is skipped.
- Titles, descriptions, and place names stay in Portuguese, as the advertiser wrote them.
- `typology` uses the Portuguese T-system from the site (T2 means 2 bedrooms), while `rooms` is the total room count.
- For rentals, `price` is the monthly rent and `rentPrice` holds any extra monthly costs the advertiser lists.
- With **Scrape listing details** off, the description, coordinates, phone numbers, bathrooms, energy certificate, building details, and development units stay empty, because Imovirtual shows them only on the listing page.
- For new developments, `price` is the starting price and `units` lists the units shown on the development page.
- A listing found in more than one start URL is saved only once.
- Some advertisers hide the price or skip details such as year built, heating, or floor, so those fields come back as `null`.
- Listings that are removed from Imovirtual during the run are skipped.

### Frequently asked questions

**How many results can I scrape?**

As many as you set in **Maximum number of results**, or 0 for no limit. The scraper goes through the result pages until it hits your limit or the end of the search.

**Do I need an Imovirtual account?**

No. Only public data is collected, so you do not need to log in or share any account details.

**Can I scrape rentals and new developments?**

Yes. Paste a rental search, a new development search, or a single development page into **Start URLs**. Rentals include the deposit, extra costs, and availability date when the advertiser provides them.

**Can I run it on a schedule?**

Yes. Apify Schedules can run it every hour, day, or week, so you always have fresh listings.

**Can you add a new filter or input?**

Yes. The scraper works with Imovirtual start URLs today, so every filter on the website already works through the URL. Other inputs, such as searching a location by name, can be added on request.

**Can I get a custom or private version?**

Yes. It can be adapted to your workflow, delivered as a private version, or a new scraper can be built for another website. See the contact details below.

### Support and custom scrapers

Need another field, a private version, or a scraper for a different website? Get in touch:

- Email: jooah.code@gmail.com
- Apify profile: [joaah-code](https://apify.com/joaah-code)

### Image credit

Banner: screenshot of [Imovirtual.com](https://www.imovirtual.com/).

# Actor input Schema

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

Imovirtual.com search result URLs (any location, property type, typology and filters you set on the site) or listing URLs (single listings and new developments).

## `maxResults` (type: `integer`):

Maximum number of listings to scrape per start URL. Use 0 for no limit.

## `scrapeDetails` (type: `boolean`):

Open each listing to get the full description, coordinates, phone numbers, bathrooms, energy certificate, features and all photos. Turn off for faster runs with search result data only.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.imovirtual.com/pt/resultados/comprar/apartamento/lisboa"
    }
  ],
  "maxResults": 5,
  "scrapeDetails": true
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.imovirtual.com/pt/resultados/comprar/apartamento/lisboa"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jooah-code/imovirtual-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 = { "startUrls": [{ "url": "https://www.imovirtual.com/pt/resultados/comprar/apartamento/lisboa" }] }

# Run the Actor and wait for it to finish
run = client.actor("jooah-code/imovirtual-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 '{
  "startUrls": [
    {
      "url": "https://www.imovirtual.com/pt/resultados/comprar/apartamento/lisboa"
    }
  ]
}' |
apify call jooah-code/imovirtual-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jooah-code/imovirtual-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/NOoLboHtJip2uY5yJ/builds/zaAtP243Vpw2IzIQg/openapi.json
