# Zonaprop Scraper 💰 $1/1K – Argentina Homes for Sale & Rent (`lukass/zonaprop-mp-actor`) Actor

Scrape Zonaprop.com.ar listings across Argentina: apartments, houses, PH, land, offices and new developments for sale or rent. USD/ARS price, expensas, m², rooms, GPS, photos, agency.

- **URL**: https://apify.com/lukass/zonaprop-mp-actor.md
- **Developed by:** [Lukáš Širhal](https://apify.com/lukass) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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

## Zonaprop Scraper - Argentina Homes for Sale & Rent

Scrape listings from [Zonaprop](https://www.zonaprop.com.ar), Argentina's largest property portal:
apartments, houses, PH, land, offices, shops, warehouses, garages and new developments, for sale,
for rent or for temporary rent, anywhere in Argentina.

### How to use

- **Type places**: a neighbourhood (`Palermo`), a city (`Rosario`, `Mar del Plata`), a province
  (`Córdoba`) or the capital (`Capital Federal` / `CABA`). Add the parent place to pin an exact one:
  `Palermo, Capital Federal`. A Zonaprop location id (`V1-C-1003694`) works too. The run log shows what
  each name was matched to. Or
- **Paste listing URLs** from zonaprop.com.ar to scrape single listings with all their details. Or
- Tick **Whole of Argentina**.

Then narrow with filters: operation (buy, rent, temporary rent, new developments), property types,
price in USD or pesos, rooms (ambientes), bedrooms, bathrooms, garage spaces, covered area, owners
or agencies only, and how recently the listing was published.

### Output

Each listing comes with its price and currency (USD or ARS), price per m², monthly expenses
(expensas), covered and total area, rooms, bedrooms, bathrooms, garages, age, address, **GPS
coordinates**, amenities (pool, gym, elevator, ...), other attributes (orientation, layout, ...),
all photos, whether it has a video or 360° tour, the agency id and licence, and publication dates.
New developments add the number of units and their size, room and bathroom ranges.

Turn on **Fetch listing details** to also get the **full description** (search results carry only
the first ~150 characters), the **agency name** and its rating, feature groups, the advertiser's
code, the agency licence number (matrícula) and the number of views. That costs one extra request
per listing.

```json
{
    "id": "60421306",
    "url": "https://www.zonaprop.com.ar/propiedades/clasificado/veclapin-amplio-2-ambientes-frente-al-mar-60421306.html",
    "title": "Amplio 2 ambientes frente al mar",
    "operation": "sale",
    "postingType": "property",
    "propertyType": "Departamento",
    "price": 92500,
    "currency": "USD",
    "pricePerSqm": 2313,
    "expenses": 150000,
    "expensesCurrency": "ARS",
    "coveredArea": 40,
    "totalArea": 40,
    "rooms": 2,
    "bedrooms": 1,
    "bathrooms": 1,
    "ageYears": 50,
    "fullAddress": "Falucho 100, Playa Varese, Mar del Plata, Buenos Aires Costa Atlántica",
    "latitude": -38.0177,
    "longitude": -57.5262,
    "amenities": ["Pileta", "Quincho", "SUM"],
    "attributes": { "Disposición": "Frente" },
    "photos": ["https://imgar.zonapropcdn.com/avisos/.../1206x893/2086857814.jpg"],
    "publisherName": "Erne propiedades",
    "publisherRating": 4.5,
    "publisherLicense": "3898",
    "views": 384
}
```

### Good to know

- The default Apify Proxy is enough. If Zonaprop ever refuses those IPs, the run switches to
  Apify's residential proxy in Argentina by itself.
- Sale prices are mostly in US dollars and rents in pesos. The price filter takes the currency you
  choose; Zonaprop converts between the two itself.
- **Rooms (ambientes)** count the living room: a "2 ambientes" has one bedroom.
- **Published within** counts a listing as new when it was published *or renewed* in that window.
- Pasting website search pages (`/departamentos-venta-palermo.html`) is not supported: type the
  place in **Locations** and use the filters instead.

### Live API (server mode)

Started as a Server Actor, the same scraper answers HTTP requests live:

- `GET /search?location=Palermo&operation=rent&propertyTypes=apartment&maxPrice=1500000&currency=ARS&page=1`:
  one page of 30 listings.
- `GET /listing?id=60421306` (or `url=`): one listing with all its details.
- `GET /locations?query=nunez`: place names and ids.

`GET /` lists every parameter. Each answered call is billed per request plus per listing returned.

### Pricing

Pay per result: each listing is billed once, and listing details are billed on top only when you
turn them on. Set **Maximum listings** or a maximum cost per run to stay within budget.

# Actor input Schema

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

Places in Argentina, one per line: a neighbourhood (Palermo), a city (Rosario, Mar del Plata), a province (Córdoba) or a Zonaprop location id (V1-C-1003694). Add the parent place to pin an exact one: "Palermo, Capital Federal". The run log shows what each name resolved to.

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

Single listings from zonaprop.com.ar (https://www.zonaprop.com.ar/propiedades/clasificado/...-60421306.html). Each one is scraped with its full details. Website search pages are not supported - use Locations and the filters below.

## `wholeCountry` (type: `boolean`):

Search all of Argentina with the filters below.

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

Buy, rent, temporary rent, or new developments (emprendimientos).

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

Leave empty for every type. All chosen types go into one search.

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

In the currency below. Asking price, or monthly rent.

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

In the currency below. Asking price, or monthly rent.

## `currency` (type: `string`):

Currency of the price filter. Sales are mostly in US dollars, rents in pesos.

## `minRooms` (type: `integer`):

Ambientes count the living room: a "2 ambientes" has one bedroom.

## `maxRooms` (type: `integer`):

Ambientes count the living room: a "3 ambientes" has two bedrooms.

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

Dormitorios.

## `maxBedrooms` (type: `integer`):

Dormitorios.

## `minBathrooms` (type: `integer`):

Baños (full bathrooms).

## `minGarages` (type: `integer`):

Cocheras.

## `minArea` (type: `integer`):

Superficie cubierta

## `maxArea` (type: `integer`):

Superficie cubierta

## `publisherType` (type: `string`):

Only owners (dueño directo) or only agencies (inmobiliaria). Leave empty for both.

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

Only listings published recently. Leave empty for any date.

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

Order within each search.

## `fetchDetails` (type: `boolean`):

One extra request per listing for the full description (search results carry the first ~150 characters), agency name and rating, feature groups, licence number (matrícula) and view count.

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

Stop after this many listings. Leave empty for everything.

## `proxy` (type: `object`):

Apify Proxy (datacenter) is enough. If Zonaprop refuses those IPs, the run switches to residential proxy in Argentina by itself.

## `debugLog` (type: `boolean`):

Log every request the Actor makes

## Actor input object example

```json
{
  "locations": [
    "Palermo, Capital Federal"
  ],
  "wholeCountry": false,
  "operation": "sale",
  "propertyTypes": [
    "apartment"
  ],
  "currency": "USD",
  "sortBy": "newest",
  "fetchDetails": false,
  "maxItems": 100,
  "proxy": {
    "useApifyProxy": true
  },
  "debugLog": false
}
```

# 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 = {
    "locations": [
        "Palermo, Capital Federal"
    ],
    "propertyTypes": [
        "apartment"
    ],
    "maxItems": 100,
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lukass/zonaprop-mp-actor").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 = {
    "locations": ["Palermo, Capital Federal"],
    "propertyTypes": ["apartment"],
    "maxItems": 100,
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lukass/zonaprop-mp-actor").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 '{
  "locations": [
    "Palermo, Capital Federal"
  ],
  "propertyTypes": [
    "apartment"
  ],
  "maxItems": 100,
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call lukass/zonaprop-mp-actor --silent --output-dataset

```

## MCP server setup

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

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/gCcPe6Eh7TOJIlJmG/builds/QP29OqXo9jC0MK3u1/openapi.json
