# Zonaprop Scraper — Argentina Real Estate, Prices & Agents (`ocrad/zonaprop-property-scraper`) Actor

Scrape Zonaprop.com.ar, Argentina's #1 real estate portal: prices, addresses, features, photos and agents from any search URL. Works reliably on protected pages where other scrapers fail. Export JSON/CSV/Excel.

- **URL**: https://apify.com/ocrad/zonaprop-property-scraper.md
- **Developed by:** [Ocrad](https://apify.com/ocrad) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 78 total users, 3 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Zonaprop Property Search Scraper

Scrapes property listing data from [Zonaprop.com.ar](https://www.zonaprop.com.ar), Argentina's premier real estate platform. Extracts structured information including location, pricing, property details, publisher info, and images into a nested JSON schema suitable for analytics, integrations, and rich UIs.

### Input

| Field | Type | Description |
|-------|------|--------------|
| **URLs** | Array | Property list page URLs to scrape. When provided, search filters are ignored. |
| **Keyword** | Text | Search keyword (e.g. "buenos aires", "palermo", "recoleta"). Leave empty when using URLs. |
| **Property Type** | Select | Filter by type: departamentos, casas, ph, terrenos, locales-comerciales, etc. |
| **Operation Type** | Select | alquiler, venta, or alquiler-temporal |
| **Published Date** | Select | Filter by recency: 1-semana, 2-dias, 1-mes, etc. |
| **Sort By** | Select | precio-ascendente, publicado-descendente, precio-descendente, etc. |
| **Starting Page** | Integer | Page number to start scraping from (default: 1) |
| **Max Items Per URL** | Integer | Limit properties to extract per URL or search (default: 20) |
| **Max Retries Per URL** | Integer | Retry attempts per URL if scrape fails or is detected as bot (default: 2) |
| **Ignore URL Failures** | Checkbox | Continue running even if some URLs fail after max retries (default: true) |
| **Proxy Configuration** | Object | Proxy settings. Default: Residential proxies, Argentina. Disable if not using Apify Proxy. |

**Modes are mutually exclusive:** Use either URLs or search filters (keyword + property\_type + operation\_type, etc.), not both.

### Output

Each scraped property is pushed to the dataset with the following nested structure:

```json
{
  "posting_id": "56224308",
  "url": "/propiedades/clasificado/veclapin-venta-depto-2-ambientes-caballito-reciclado-56224308.html",
  "posting_code": "249070",
  "title": "Venta - Depto 2 Ambientes - Caballito - Reciclado - Apto Financiación - Acepta Permuta",
  "price_operation_types": [
    {
      "operation_type": { "name": "Venta", "operation_type_id": "1" },
      "prices": [
        { "currency": "USD", "amount": 69000, "formatted_amount": "69.000" }
      ]
    }
  ],
  "expenses": { "amount": 80000, "formatted_amount": "80.000", "currency": "$" },
  "main_features": {
    "c_f_t100": { "label": "Superficie total", "value": "34", "measure": "m²" },
    "c_f_t1": { "label": "Ambientes", "value": "2" },
    "c_f_t2": { "label": "Dormitorio", "value": "1" },
    "c_f_t3": { "label": "Baño", "value": "1" }
  },
  "publisher": {
    "publisher_id": "30409994",
    "name": "Century 21 Levi",
    "url": "/inmobiliarias/century-21-levi_30409994-inmuebles.html",
    "url_logo": "https://imgar.zonapropcdn.com/empresas/..."
  },
  "posting_location": {
    "address": { "name": "Mendez De Andes 769", "visibility": "EXACT" },
    "location": {
      "name": "Caballito Norte",
      "label": "ZONA",
      "parent": { "name": "Caballito", "label": "BARRIO", "parent": { "name": "Capital Federal", "label": "CIUDAD" } }
    },
    "posting_geolocation": { "geolocation": { "latitude": -34.614, "longitude": -58.445 } }
  },
  "visible_pictures": {
    "pictures": [
      { "url730x532": "https://imgar.zonapropcdn.com/avisos/...", "url360x266": "https://imgar.zonapropcdn.com/avisos/...", "title": "..." }
    ],
    "additional_pictures_count": 5
  },
  "status": "ONLINE",
  "posting_type": "PROPERTY",
  "whatsapp": "54 1164338863",
  "modified_date": "2025-07-04T11:48:58-0400",
  "from_url": "https://www.zonaprop.com.ar/departamentos-venta.html"
}
```

### Proxy

This Actor uses **Apify Proxy** by default to reduce the risk of IP blocking. Residential proxies from Argentina are recommended for zonaprop.com.ar (Argentine listings). You can:

- Disable proxy: Set `useApifyProxy: false` (may increase block risk)
- Change country: Set `apifyProxyCountry` to another code (e.g. `UY`, `CL`)
- Use different groups: Set `apifyProxyGroups` (e.g. `["RESIDENTIAL"]`)

Proxy usage is billed separately. See [Apify Proxy](https://apify.com/proxy) for pricing.

### Support

For issues or feature requests, open an issue in the Actor's repository.

# Actor input Schema

## `urls` (type: `array`):

List of property list page URLs to scrape. When provided, search filters are ignored.

## `ignore_url_failures` (type: `boolean`):

Continue running even if some URLs fail after max retries.

## `keyword` (type: `string`):

Search keyword for properties (e.g. 'buenos aires', 'palermo', 'recoleta'). Leave empty when using URLs.

## `property_type` (type: `string`):

Filter by property type (departamentos, casas, ph, terrenos, etc.)

## `operation_type` (type: `string`):

Filter by operation type

## `published_date` (type: `string`):

Filter by published date

## `sort_by` (type: `string`):

Sort properties by criteria

## `page` (type: `integer`):

Page number to start scraping from

## `max_items_per_url` (type: `integer`):

Limit the number of properties to extract per URL or search

## `max_retries_per_url` (type: `integer`):

Maximum retry attempts per URL if scrape fails or is detected as bot

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

Proxy settings. Use Argentina (AR) for zonaprop.com.ar. Disable if not using Apify Proxy.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.zonaprop.com.ar/departamentos-venta.html"
    }
  ],
  "ignore_url_failures": true,
  "keyword": "",
  "property_type": "departamentos",
  "operation_type": "venta",
  "published_date": "",
  "sort_by": "",
  "page": 1,
  "max_items_per_url": 20,
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing scraped property listings

# 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 = {
    "urls": [
        {
            "url": "https://www.zonaprop.com.ar/departamentos-venta.html"
        }
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ocrad/zonaprop-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 = {
    "urls": [{ "url": "https://www.zonaprop.com.ar/departamentos-venta.html" }],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ocrad/zonaprop-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 '{
  "urls": [
    {
      "url": "https://www.zonaprop.com.ar/departamentos-venta.html"
    }
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ocrad/zonaprop-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ocrad/zonaprop-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/RzoWHbr9olShG3kgl/builds/0DYoIXgy2dOUdovji/openapi.json
