# Plusvalia Scraper - Ecuador Property Listings for Sale and Rent (`sian.agency/plusvalia-property-scraper`) Actor

Scrape Plusvalia, Ecuador's busiest property portal: USD price, m², bedrooms, GPS, agency and WhatsApp. Quito, Guayaquil, Cuenca, Cumbayá, sale and rent.

- **URL**: https://apify.com/sian.agency/plusvalia-property-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.32 / 1,000 property searches

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

## Plusvalia Scraper - Ecuador Property Listings for Sale and Rent 🏡

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Urbania Peru](https://img.shields.io/badge/Store-Urbania%20Peru-1AE392)](https://apify.com/sian.agency/urbania-property-scraper?fpr=sian) [![Zonaprop Argentina](https://img.shields.io/badge/Store-Zonaprop%20Argentina-1AE392)](https://apify.com/sian.agency/zonaprop-property-scraper?fpr=sian) [![Fincaraiz Colombia](https://img.shields.io/badge/Store-Fincaraiz%20Colombia-1AE392)](https://apify.com/sian.agency/fincaraiz-property-scraper?fpr=sian)

#### 🎉 About 47,600 live Ecuadorian property listings, neighbourhood by neighbourhood, from $1.50 per 1,000

##### Built for Quito and Guayaquil agencies, developers, investors, valuers and expats pricing property in US dollars

***

### 🔎 What is the Plusvalia Property Scraper — and when should you use it?

The **Plusvalia Property Scraper** turns public Plusvalia property listings from anywhere in Ecuador into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** Ecuadorian sale and rental listings as rows: apartments, houses, land, offices, shops, suites and new-build projects. Every search row carries the USD asking price as a number, price per m², built and total area, bedrooms, bathrooms, parking, the neighbourhood, city and province, a GPS point, the agency and the WhatsApp number it publishes. Open each listing in full and you also get every photo, the amenity list, the view count and the publication date.

**Use something else when:** you want property outside Ecuador. Use [Urbania Scraper](https://apify.com/sian.agency/urbania-property-scraper?fpr=sian) for Peruvian property listings. Use [Zonaprop Scraper](https://apify.com/sian.agency/zonaprop-property-scraper?fpr=sian) for Argentine property listings. Use [Fincaraiz Scraper](https://apify.com/sian.agency/fincaraiz-property-scraper?fpr=sian) for Colombian property listings. This actor reads Plusvalia only, for live listings. Sold prices are not returned: Plusvalia publishes live listings only.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/plusvalia-property-scraper

**Your agent can pay for its own runs.** This Actor is eligible for [agentic payments](https://docs.apify.com/platform/actors/publishing/monetize), so an agent can discover it, run it and settle the bill over [x402](https://www.x402.org/) (USDC on Base) or [Skyfire](https://www.skyfire.xyz/) — without an Apify account or API token of its own. Billing is the same either way: per successful row, never for errors.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want property listings and asking prices in US dollars from Plusvalia in Ecuador using the Apify Actor `sian.agency/plusvalia-property-scraper`.

Use it when I need: Ecuadorian sale and rental listings as rows: apartments, houses, land, offices, shops, suites and new-build projects. Every search row carries the USD asking price as a number, price per m², built and total area, bedrooms, bathrooms, parking, the neighbourhood, city and province, a GPS point, the agency and the WhatsApp number it publishes. Open each listing in full and you also get every photo, the amenity list, the view count and the publication date.

Don't use it when: you want property outside Ecuador — use urbania-property-scraper or zonaprop-property-scraper or fincaraiz-property-scraper instead.

How to call it: set `dealType` (`sale` or `rent`), `propertyType` (`apartment`, `house`, `land`, `office`, `shop`, `suite` and more, or `all`) and `location` (a city such as `quito`, `guayaquil` or `cuenca`, a neighbourhood such as `cumbaya` or `samborondon`, a province, or `ecuador`). `minPrice`, `maxPrice` and `minBedrooms` narrow the search, and `sort` set to `newest` puts fresh listings first. `includeDetails` opens each listing for every photo, amenities, views and the publication date, for an extra charge per listing. For a place not in the list, pass its Plusvalia results address in `searchUrls`. To expand listings you already have, set `operation` to `detail` and pass `listingUrls`.

Start with this input:
{
  "operation": "search",
  "dealType": "sale",
  "propertyType": "apartment",
  "location": "cumbaya",
  "maxPrice": 250000,
  "maxResults": 100
}

Ask me which city or neighbourhood to cover, which property type, and whether it is for sale or for rent, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *List apartments for sale in Cumbayá under 250,000 USD and give me the median price per m².*
- *Compare monthly rents for 3-bedroom houses in Samborondón and Vía a la Costa.*
- *Find new-build tower projects in Quito with their sales stage and delivery date.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/plusvalia-property-scraper.md](https://apify.com/sian.agency/plusvalia-property-scraper.md).

### 📋 Overview

**Plusvalia is Ecuador's busiest property portal, with about 47,600 live listings.** This Actor reads its public search results and listing pages and returns every property as a flat row. Sale and rent, Quito to Salinas, apartments through to farmland and new-build towers.

**What you get:**

- ✅ **The fields an Ecuadorian valuation needs**: asking price in USD, price per m², built and total area, bedrooms, bathrooms, parking and age, as typed numbers.
- 📍 **Neighbourhood, city and province on their own columns**, plus the GPS point. Prices in Cumbayá, Samborondón and Vía a la Costa differ a lot from the city average, so the neighbourhood gets its own column.
- 🏷️ **The right price for the side you searched.** Some properties are offered for sale and for rent at once; the rent search gets the rent, and both prices are kept.
- 🏢 **Agency and WhatsApp on every search row**: the agency or developer, its Plusvalia profile and the number it publishes on the listing.
- 💰 **$1.50 per 1,000 properties**, charged per delivered row and never for a row that failed.
- 🏗️ **New-build projects** with the sales stage, delivery date and number of units.

***

### ✨ Features

- 🏢 **Thirteen property types**: apartments, houses, land, offices, shops, suites, warehouses, farms, medical offices, parking spaces, rooms and the two kinds of new-build project, each for sale or for rent.
- 🗺️ **47 places in the list**: Quito and its valleys (Cumbayá, Tumbaco, Los Chillos, Conocoto, Nayón, Puembo, Calderón), Guayaquil, Samborondón, Vía a la Costa, Cuenca, Manta, Salinas and every province. Paste any Plusvalia results address for the rest.
- 🎚️ **Price range, minimum bedrooms and order**, applied by Plusvalia itself, so the rows you pay for already match.
- 🆕 **Newest first** for weekly monitors that only need the fresh supply.
- 📊 **Price per m² on every sale row**, worked out from the built area (or the total area when that is all the listing gives).
- 🧾 **Monthly condo fee** where the advertiser lists one.
- 📸 **Eight photos on the search row**, every photo in full size on the full listing.
- 📄 **Property Detail mode** expands listing links you already have into full records with amenities, views and the publication date.
- 🔁 **No double billing**: a property that turns up in two of your searches is returned and charged once per run.
- 📦 **Over 50 flat fields**: export as CSV, Excel or JSON, or pull them over the API.

***

### 🎬 Quick Start

Pick a place, choose sale or rent, press Start. Rows land in the dataset as they are found, and a run report goes to the key-value store with the counts and what they cost.

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~plusvalia-property-scraper/runs?token=YOUR_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"operation":"search","dealType":"sale","propertyType":"apartment","location":"quito","maxResults":100}'
```

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose what and where

Pick sale or rent, a property type and a place: a neighbourhood like Cumbayá or Samborondón, a city, a province or all of Ecuador.

#### Step 2: Narrow it down

Add a price range in USD, a minimum number of bedrooms or an order. For a neighbourhood the list does not have, paste its Plusvalia results address instead.

#### Step 3: Press Start

Set how many properties to collect. Switch on "Open each listing in full" when you need every photo, the amenities, the view count and the publication date.

**That's it. Within a minute you'll have:**

- Every matching property as a spreadsheet row
- Price per m², neighbourhood and GPS on each one
- A run report showing what was found, what failed and what it cost

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `operation` | string | No | `search` (default) reads search results; `detail` opens the listing links you paste |
| `dealType` | string | No | `sale` or `rent` (rent prices are monthly, in USD) |
| `propertyType` | string | No | `apartment`, `house`, `land`, `office`, `shop`, `suite`, `warehouse`, `farm`, `medical-office`, `parking`, `room`, `project-vertical`, `project-horizontal` or `all` |
| `location` | string | No | One of 47 places, e.g. `quito`, `cumbaya`, `guayaquil`, `samborondon`, `cuenca`, `salinas`, a province, or `ecuador` |
| `minPrice` / `maxPrice` | integer | No | Price range in USD (monthly rent for rentals) |
| `minBedrooms` | integer | No | Only properties with at least this many bedrooms |
| `sort` | string | No | `relevance` (default), `newest`, `price-low` or `price-high` |
| `maxResults` | integer | No | How many properties to return (default 100) |
| `includeDetails` | boolean | No | Open every listing in full, billed as one Property Detail per property |
| `searchUrls` | array | No | Plusvalia results addresses to read instead of the fields above |
| `listingUrls` | array | No | Plusvalia listing addresses for Property Detail mode |

**Example:**

```json
{
  "operation": "search",
  "dealType": "sale",
  "propertyType": "apartment",
  "location": "cumbaya",
  "maxPrice": 250000,
  "minBedrooms": 2,
  "maxResults": 200
}
```

**A neighbourhood you found on plusvalia.com:**

```json
{
  "operation": "search",
  "searchUrls": [
    { "url": "https://www.plusvalia.com/venta/casas/pichincha/quito/puembo" }
  ],
  "maxResults": 300
}
```

***

### 📤 Output

Results are saved to the Apify dataset with **over 50 fields** including:

| Field | Type | Description |
|-------|------|-------------|
| `listingId` | string | Plusvalia listing id |
| `propertyTitle` | string | Headline as published |
| `price` | number | Asking price in USD for the side you searched; monthly rent for rentals |
| `salePrice` / `rentPrice` | number | Both prices when the property is offered both ways |
| `pricePerSqm` | number | Sale price per m² |
| `builtAreaSqm` / `totalAreaSqm` | number | Built and total area in m² |
| `bedrooms` / `bathrooms` / `parkingSpaces` | number | Rooms and parking |
| `condoFee` | number | Monthly condo fee in USD |
| `neighborhood` / `city` / `province` | string | Location from Plusvalia's own place tree |
| `latitude` / `longitude` | number | Map point |
| `advertiserName` / `whatsapp` | string | Agency or developer and the number it publishes |
| `projectStage` / `projectDelivery` / `projectUnits` | string / number | New-build project details |
| `amenities` | array | Amenity list (full listing) |
| `viewCount` / `publishedAt` | number / string | Views and publication date (full listing) |
| `imageUrls` | array | Photos (all of them on the full listing) |

**Example (search row with the full listing):**

```json
{
  "listingId": "147412744",
  "listingCode": "PSV-M-147412744",
  "propertyTitle": "_exclusiva Casa Full Amoblada en Isla Mocolí",
  "listingUrl": "https://www.plusvalia.com/propiedades/clasificado/alclcain-_exclusiva-casa-full-amoblada-en-isla-mocoli-147412744.html",
  "dealType": "rent",
  "propertyType": "Casas",
  "listingKind": "listing",
  "price": 3000,
  "currency": "USD",
  "rentPrice": 3000,
  "condoFee": 200,
  "builtAreaSqm": 280,
  "totalAreaSqm": 400,
  "bedrooms": 3,
  "bathrooms": 3,
  "halfBathrooms": 1,
  "parkingSpaces": 2,
  "buildingAgeYears": 8,
  "address": "Isla Mocolí",
  "neighborhood": "Samborondón",
  "city": "Guayaquil",
  "province": "Guayas",
  "latitude": -2.109963006107876,
  "longitude": -79.86139523965788,
  "advertiserName": "Máster Inmobiliario",
  "advertiserUrl": "https://www.plusvalia.com/inmobiliarias/master-inmobiliario_50271852-inmuebles.html",
  "amenities": ["Jardín"],
  "publishedAt": "2025-08-26T23:08:02Z",
  "photoCount": 17,
  "hasDetail": true,
  "status": "success"
}
```

#### Coverage

All of Ecuador: Quito and its valleys, Guayaquil and Samborondón, Cuenca, the Manabí and Santa Elena coast, the Sierra cities and every province. On 2026-10-02 Plusvalia listed 35,790 properties for sale and 11,811 for rent; Quito alone held 17,685 for sale. Sold prices are not available: Plusvalia publishes live listings only.

***

### 💼 Use Cases & Examples

#### 1. Price per m² by neighbourhood

**A Quito developer benchmarks its launch against the buildings around it.**

**Input:** Apartments for sale in Cumbayá, Tumbaco or Centro Norte
**Output:** Every listing with neighbourhood, built area and USD price
**Use:** One pivot table gives the median price per m² per neighbourhood.

#### 2. Rental yield in Quito and Guayaquil

**An investor decides between Samborondón and Cumbayá.**

**Input:** The same place for sale and for rent
**Output:** Capital value per m² and monthly rent for matching sizes
**Use:** Gross yield is one division per neighbourhood and bedroom count.

#### 3. Agency lead lists

**A proptech startup builds its list of active agencies in Guayaquil.**

**Input:** Any city, all property types
**Output:** Agency or developer name, its Plusvalia profile and the WhatsApp number on each listing
**Use:** Rank agencies by how much live stock they hold.

#### 4. New-build project tracking

**A broker follows tower launches in Quito.**

**Input:** New-build tower projects in Quito
**Output:** Starting price, sales stage, delivery date and number of units
**Use:** See which projects are in pre-sale and when they deliver.

#### 5. Market monitoring in USD

**An analyst tracks new supply every week.**

**Input:** A weekly scheduled run sorted newest first
**Output:** Fresh listings with price, size and last-modified time
**Use:** Spot repricing and new stock as it appears.

#### 6. Expat and coastal research

**A relocation agency compares beach and highland towns.**

**Input:** Salinas, Manta, Playas or Cotacachi
**Output:** Price, size, amenities and photos
**Use:** A shortlist of towns that fit a client's budget.

***

### 🔗 Integration Examples

#### JavaScript / Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/plusvalia-property-scraper').call({
  operation: 'search',
  dealType: 'sale',
  propertyType: 'apartment',
  location: 'quito',
  maxResults: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/plusvalia-property-scraper').call(
    run_input={
        'operation': 'search',
        'dealType': 'rent',
        'propertyType': 'house',
        'location': 'samborondon',
        'maxResults': 200,
    }
)

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item.get('neighborhood'), item.get('price'), item.get('bedrooms'))
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~plusvalia-property-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation":"search","dealType":"sale","propertyType":"house","location":"cuenca","maxResults":100}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: a weekly schedule or a webhook
2. **HTTP Request**: call the Actor's run-sync endpoint with your search
3. **Process**: filter rows by neighbourhood, price or price per m²
4. **Action**: append to Google Sheets, a CRM or a Slack channel

***

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **25 properties** per run, full feature access, same data
- No credit card required
- Enough to check a neighbourhood before a bigger run

#### PAID Tier (Production Ready)

- **Unlimited** properties per run
- 30 properties per request, about 100 properties in 15 seconds
- Pay per result: only delivered rows are charged

💰 **$1.50 per 1,000 properties**, plus $3.00 per 1,000 for the optional full listing. Failed rows are never charged.

🔗 [View current pricing](https://apify.com/sian.agency/plusvalia-property-scraper?fpr=sian)

***

### ❓ Frequently Asked Questions

**Q: Does it cover all of Ecuador?**
A: Yes. Pick a neighbourhood such as Cumbayá or Samborondón, a city such as Quito, Guayaquil or Cuenca, a province, or all of Ecuador. For any other place, open it on plusvalia.com and paste the results address into Search page URLs.

**Q: What currency are prices in?**
A: US dollars, Ecuador's currency, exactly as the listing states. Rent is the monthly rent. A listing with no price shown returns an empty price, never a zero.

**Q: Why does one row have both a sale price and a rent?**
A: Some owners offer the same property for sale and for rent. `price` holds the one for the side you searched; `salePrice` and `rentPrice` hold both.

**Q: Do I get contact details?**
A: Each row names the agency or developer, links its Plusvalia profile and carries the WhatsApp number the advertiser publishes on the listing card, when there is one.

**Q: What do new-build project rows look like?**
A: Projects show a starting price, the sales stage (for example pre-sale), the delivery date and the number of units. Choose a project property type to get only projects.

**Q: How fresh is the data?**
A: Every run reads Plusvalia live. Each row carries the time it was fetched and the time the advertiser last changed the listing.

**Q: What output formats are available?**
A: JSON, CSV, Excel, XML and HTML, straight from the Apify dataset, or over the API.

***

### 🐛 Troubleshooting

**"Plusvalia does not recognise part of that address"**

- Plusvalia sent the search to a wider area, so nothing was collected or charged.
- Open the place on plusvalia.com with the site's own location box, check the results show only that area, and paste that address.

**"That address carries a filter this actor cannot carry over"**

- Sale or rent, property type, place and bedroom count travel in a pasted address. Remove amenity or other filters and paste it again, then filter those columns in your sheet.

**Fewer rows than expected**

- Check the results count on plusvalia.com for the same search, and raise "Properties to collect".
- Free plans are capped at 25 properties per run.

**Some rows have no area or bedrooms**

- The advertiser left it blank, which is common for land and projects. The Actor never fills a gap with a guess.

***

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union, by Ecuador's Organic Law on Personal Data Protection and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

Plusvalia is a trademark of its respective owner. This actor is not affiliated with, endorsed by, or sponsored by Plusvalia or the QuintoAndar group.

***

### 🤝 Support

**Join our active support community**

- For issues or questions, open an issue on the [Actor's Issues tab](https://apify.com/sian.agency/plusvalia-property-scraper/issues)
- Check [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/plusvalia-property-scraper/changelog.md

# Actor input Schema

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

Property Search reads Plusvalia search results. Property Detail opens the listing addresses you paste in the Listing URLs field.

## `dealType` (type: `string`):

Which side of the market to read. For rentals every price is the monthly rent in US dollars.

## `propertyType` (type: `string`):

Which kind of property. Apartments for sale in Quito is the largest single slice, with about 5,500 live listings.

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

A neighbourhood, a city, a province or the whole country. Quito holds about 17,700 listings for sale. For a place not listed here, open it on plusvalia.com and paste the results address into Search page URLs.

## `minPrice` (type: `integer`):

Lowest asking price in US dollars; for rentals, the monthly rent. Plusvalia applies it itself, so the row count you pay for already reflects it. Leave empty for no floor.

## `maxPrice` (type: `integer`):

Highest asking price in US dollars; for rentals, the monthly rent. Leave empty for no ceiling.

## `minBedrooms` (type: `integer`):

Only properties with at least this many bedrooms. Leave empty to include every size, including land and offices that list none.

## `sort` (type: `string`):

The order results come back in. Newest first suits a daily or weekly monitor that stops early.

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

How many properties to return. Each request reads 30, so a run stops on the request that reaches this number.

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

Also open every listing page for every photo in full size, the amenity list, the view count and the publication date. Billed as one Property Detail on top of the search row.

## `searchUrls` (type: `array`):

Paste Plusvalia results pages instead of using the fields above, for example https://www.plusvalia.com/venta/departamentos/pichincha/quito/cumbaya . Sale or rent, property type, place and bedroom count in the address are kept. An address carrying any other filter is refused before anything is charged, so you never pay for a wider search than the one you pasted. Ignored in Property Detail mode.

## `listingUrls` (type: `array`):

Plusvalia listing addresses for Property Detail, one per line, for example https://www.plusvalia.com/propiedades/clasificado/alclcain-casa-en-alquiler-en-urbanizacion-camino-del-rio-151094678.html .

## Actor input object example

```json
{
  "operation": "search",
  "dealType": "sale",
  "propertyType": "apartment",
  "location": "quito",
  "sort": "relevance",
  "maxResults": 50,
  "includeDetails": false
}
```

# Actor output Schema

## `plusvaliaProperties` (type: `string`):

Every property this run returned.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# 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 = {
    "operation": "search",
    "dealType": "sale",
    "propertyType": "apartment",
    "location": "quito",
    "sort": "relevance",
    "maxResults": 50,
    "includeDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/plusvalia-property-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 = {
    "operation": "search",
    "dealType": "sale",
    "propertyType": "apartment",
    "location": "quito",
    "sort": "relevance",
    "maxResults": 50,
    "includeDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/plusvalia-property-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 '{
  "operation": "search",
  "dealType": "sale",
  "propertyType": "apartment",
  "location": "quito",
  "sort": "relevance",
  "maxResults": 50,
  "includeDetails": false
}' |
apify call sian.agency/plusvalia-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/plusvalia-property-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/YTo6N38Nw06GNnc2e/builds/1h8UFes6RvwQmoOm3/openapi.json
