# Propiedades.com Scraper: Mexico Listings, Prices & Advertisers (`memo23/propiedades-scraper`) Actor

Scrape propiedades.com (Mexico) listings by colonia, city, state or search URL: price in MXN or USD, full description, rooms, built and land area, address, GPS, advertiser, photos, cadastral data and zone prices. Sale, rent or auctions.

- **URL**: https://apify.com/memo23/propiedades-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Real estate
- **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 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Propiedades.com Scraper: Mexico Listings, Prices & Advertisers

Collect property listings from **propiedades.com**, one of Mexico's largest real estate portals, by colonia, city, state or search link. Every row carries the asking price in pesos or dollars, the full description, bedrooms, bathrooms, parking, built and land area, address with GPS, amenities, every photo and the advertiser's name. An opt-in switch adds the advertiser's **direct phone number** to each row. On top of that: the lot's cadastral record (land use, lot size, buildable area, levels) and the zone's average prices. Sale, rent or bank auctions (remates). No login. JSON, CSV or Excel out.

![How it works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-propiedades.png)

### Why use this Propiedades.com Scraper?

- **Type a place, get a search.** "Polanco", "Monterrey", "Quintana Roo" or "Chapalita, Guadalajara" plus buy, rent or auctions. Pasted propiedades.com links work too, filters included.
- **The whole description.** The site shows a 200-character teaser; every row here has the full text the advertiser wrote.
- **Price you can compare.** `price` and `currency` as listed (MXN or USD), plus `priceMxn` so dollar listings sort next to peso ones.
- **Data the listing card doesn't show.** Cadastral land use, lot size, maximum buildable area and levels where the city publishes them, and the zone's average price and price per m² on every row.
- **The advertiser's direct phone (opt-in).** The site shows it only after a click per listing; with `enrichContacts` on, every row carries it under `phone` / `phones`, no clicks needed, billed only when a phone comes back. Emails exist only behind the site's contact form, so no row can carry one.
- **Every photo.** Full-size image links for the whole gallery, not just the cover.
- **Real filters.** Price range, bedrooms, bathrooms, built area, one must-have feature (pool, garden, terrace, furnished, pets...), cheapest or most expensive first.
- **You pay per listing, never for padding.** A place that cannot be searched is skipped, not charged, and the log says why.

### Overview

The actor is for anyone who needs Mexican listing data in a spreadsheet or a pipeline: agencies watching their colonias, investors comparing price per m², proptech teams filling a search product, analysts tracking supply. One run can cover several places and links; each listing becomes one flat row with 50+ fields. Numbers come as numbers (areas, rooms, prices), dates as ISO strings, and photos as a list of links.

### Supported inputs

| Input | Example |
|---|---|
| A state | `Jalisco`, `Quintana Roo`, `CDMX` |
| A city or municipality | `Guadalajara`, `Monterrey`, `San Pedro Garza García`, `Mérida` |
| A zone or colonia | `Polanco`, `Roma Norte`, `Chapalita, Guadalajara` |
| A propiedades.com search link | `https://propiedades.com/df/departamentos-venta` |
| A search link with filters | `https://propiedades.com/roma-norte-df/departamentos-renta#recamaras=2&precio-max=30000` |
| A search link naming several colonias | `https://propiedades.com/roma-norte-df&condesa-df/casas-renta` (one search each) |
| An auctions link | `https://propiedades.com/df/departamentos-remates` |
| A single listing | `https://propiedades.com/inmuebles/departamento-en-renta-orizaba-roma-norte-df-27854899` |

Not supported: price-guide pages (`/valores/...`), agency directory pages and blog pages. They are skipped with a note in the log.

Copy-paste start:

```json
{
    "startUrls": [{ "url": "https://propiedades.com/roma-norte-df/departamentos-renta" }],
    "maxItems": 50
}
```

### Use cases

| Who | What they do with it |
|---|---|
| Real estate agencies and brokers | See who lists what in their colonias, and at what price |
| Property investors | Compare asking prices and price per m² against the zone average and the lot's buildable area |
| Proptech and portals | Feed listings into search, valuation or alert products on a schedule |
| Market analysts and banks | Track supply, new listings and auctions by state, city and type |
| Relocation and corporate housing | Shortlist rentals by colonia, size, pets and furnishing |

### How it works

1. You give places (or propiedades.com links), an operation, a property type and any filters.
2. Each place is matched to propiedades.com's own location: a state, city, zone or colonia.
3. The run pages through every result of that search, 47 listings at a time, in the order you chose.
4. Each listing gets its full description and photo gallery, and with **Full details** on (the default) its advertiser, cadastral record, zone prices, building age, floor and land area.
5. Rows land in the dataset as they are collected, so you can open it while the run is going.

### Input configuration

In the order of the input form:

| Field | Type | Notes |
|---|---|---|
| `startUrls` | array | propiedades.com search links or listing links. A search link keeps its own place, operation and type; the filters below still apply on top. |
| `locations` | string\[] | Places to search, one per line: colonia, city, municipality, zone or state. Add the city after a comma when a colonia name repeats. |
| `operation` | enum | `sale` (default), `rent`, `any`, `auction`. Applies to `locations`. |
| `propertyType` | enum | `any` (default), `apartment`, `house`, `condoHouse`, `residentialLand`, `ranch`, `room`, `residential`, `office`, `retail`, `commercialWarehouse`, `commercialLand`, `building`, `commercial`, `industrialWarehouse`, `industrialBuilding`, `industrialLand`, `industrial`. Applies to `locations`. |
| `minPrice` / `maxPrice` | integer | Price range in pesos. |
| `minBedrooms` | integer | Fewest bedrooms (recámaras). |
| `minBathrooms` | integer | Fewest bathrooms (baños). |
| `minBuiltArea` / `maxBuiltArea` | integer | Construction area range in m². |
| `mustHave` | enum | `none` (default), `pool`, `garden`, `terrace`, `furnished`, `pets`, `fireplace`, `laundryArea`, `basement`. One at a time, as on the site. |
| `sortBy` | enum | `relevance` (default), `price_asc`, `price_desc`. |
| `fullDetails` | boolean | On by default. Adds advertiser, cadastral record, zone prices, building age, floor, units in the building, services, street and land area. |
| `enrichContacts` | boolean | Off by default. Adds `phone`, `phones` and (with `fullDetails` off) the advertiser name. Charged per listing that returns a phone, never on a miss. Emails exist only behind the site's contact form, so no listing can carry one. |
| `maxItems` | integer | Listings in the whole run (default 1,000). The free Apify plan stops at 100. |
| `proxy` | object | Leave as it is. |

#### Example: two-bedroom rentals with a pool in Monterrey, cheapest first

```json
{
    "locations": ["Monterrey", "San Pedro Garza García"],
    "operation": "rent",
    "propertyType": "apartment",
    "minBedrooms": 2,
    "mustHave": "pool",
    "sortBy": "price_asc",
    "maxItems": 300
}
```

#### Example: bank auctions of houses in Jalisco

```json
{
    "locations": ["Jalisco"],
    "operation": "auction",
    "propertyType": "house",
    "maxItems": 500
}
```

#### Example: a filtered search link plus single listings

```json
{
    "startUrls": [
        { "url": "https://propiedades.com/df/departamentos-venta/recamaras-3#precio-max=5000000" },
        { "url": "https://propiedades.com/inmuebles/departamento-en-renta-orizaba-roma-norte-df-27854899" }
    ],
    "maxItems": 200
}
```

### Output overview

One row per listing, flat, with these groups:

- **Identity:** `listingId`, `url`, `title`, `description`
- **Deal:** `operation`, `isAuction`, `price`, `currency`, `priceMxn`, `maintenanceFee`
- **Property:** `propertyType`, `propertyCategory`, `bedrooms`, `bathrooms`, `parkingSpaces`, `builtArea`, `landArea`, `floor`, `buildingAgeYears`, `unitsInBuilding`, `amenities`
- **Location:** `street`, `neighborhood`, `municipality`, `state`, `postalCode`, `fullAddress`, `latitude`, `longitude`, `coordinatesExact`
- **Advertiser:** `advertiserName`, `advertiserLogo`, `phone`, `phones`, `hasVerifiedWhatsApp`
- **Listing status:** `isExclusive`, `isFeatured`, `isNewListing`, `isDevelopment`, `publishedAt`, `updatedAt`, `listedFor`
- **Media:** `images`, `imageCount`
- **Extras:** `cadastre`, `zonePriceStats`, `detailsIncluded`, `scrapedAt`

### Output sample

A real row from a "Polanco, apartments for sale" run (description and photos shortened):

```json
{
    "listingId": "30448815",
    "url": "https://propiedades.com/inmuebles/departamento-en-venta-calle-arquimedes-221-polanco-polanco-iv-secc-miguel-hidalgo-11560-ciudad-de-mexico-cdmx-221-polanco-v-seccion-df-30448815",
    "title": "Departamento en Venta en Polanco V Sección, Miguel Hidalgo",
    "description": "Exclusividad, amplitud y tranquilidad en el corazón de Polanco\nArquímedes 221 | Un departamento que rompe con lo tradicional…",
    "descriptionTruncated": false,
    "operation": "Venta",
    "isAuction": false,
    "propertyType": "Departamento",
    "propertyCategory": "Residencial",
    "price": 13950000,
    "currency": "MXN",
    "priceMxn": 13950000,
    "maintenanceFee": null,
    "bedrooms": 3,
    "bathrooms": 3,
    "parkingSpaces": 2,
    "builtArea": 175,
    "landArea": null,
    "floor": 1,
    "buildingAgeYears": 12,
    "unitsInBuilding": 20,
    "amenities": ["Alberca", "Gimnasio", "Terraza", "Área de lavado", "Cisterna", "Gas natural", "Se aceptan mascotas", "Seguridad privada", "Cuarto de servicio", "Elevador", "Estacionamiento"],
    "street": "Calle Arquímedes 221, Polanco, Polanco IV Secc, Miguel Hidalgo, 11560 Ciudad de México, CDMX",
    "neighborhood": "Polanco V Sección",
    "municipality": "Miguel Hidalgo",
    "state": "DF / CDMX",
    "postalCode": "11560",
    "latitude": 19.436959043602222,
    "longitude": -99.19042281904906,
    "coordinatesExact": true,
    "advertiserName": "Rafael Cahue L. chahuel",
    "phone": "(555) 507-1619",
    "phones": ["(555) 507-1619"],
    "hasVerifiedWhatsApp": true,
    "isExclusive": false,
    "isFeatured": true,
    "isNewListing": false,
    "isDevelopment": false,
    "publishedAt": "2025-10-17 00:47:10",
    "updatedAt": "2026-06-26",
    "listedFor": "1 año en Propiedades.com",
    "imageCount": 37,
    "images": ["https://propiedadescom.s3.amazonaws.com/files/original/084b75c9-aaf4-11f0-b7b0-67e7d0a8001b.jpeg"],
    "cadastre": null,
    "zonePriceStats": {
        "zone": "Zona Polanco",
        "parentArea": "Miguel Hidalgo",
        "averagePrice": 16918800,
        "averageBuiltArea": 200,
        "averagePricePerBuiltM2": 84594,
        "averageLandArea": 197,
        "averagePricePerLandM2": 85882,
        "listingsInZone": 3312,
        "asOf": "2026-11-01"
    },
    "detailsIncluded": true,
    "scrapedAt": "2026-11-16T15:22:03.641Z"
}
```

A Roma Norte rental from the same kind of run carried a cadastral record:

```json
"cadastre": {
    "cadastralAccount": "01009108",
    "landUse": "Habitacional con Comercio en P. B.",
    "lotArea": 389,
    "maxBuildableArea": 1866,
    "maxLevels": 6,
    "freeAreaPercent": 20,
    "maxHeight": null,
    "density": "Z(Lo que indique la Zonificación del programa)"
}
```

### Key output fields

| Field | Description |
|---|---|
| `price` / `currency` | Asking price as listed, in MXN or USD. |
| `priceMxn` | The same price in pesos, so USD listings compare with MXN ones. |
| `maintenanceFee` | Monthly maintenance in pesos, read from the description when the advertiser states it (e.g. "+ $2,200 de mantenimiento"); otherwise null. |
| `bedrooms` / `bathrooms` / `parkingSpaces` | Counts as numbers; null when the advertiser left them out. |
| `builtArea` / `landArea` | Construction and land area in m². |
| `floor` / `buildingAgeYears` / `unitsInBuilding` | From the listing page (`fullDetails`). Age 0 means new. |
| `amenities` | Features in the site's Spanish labels (Alberca, Gimnasio, Elevador...). |
| `neighborhood` / `municipality` / `state` / `postalCode` | The colonia, municipality (alcaldía in CDMX), state and C.P. |
| `latitude` / `longitude` / `coordinatesExact` | GPS; `coordinatesExact` is false when the site marks the pin as approximate. |
| `advertiserName` / `advertiserLogo` | The agency or person who published the listing. The logo needs `fullDetails`; the name does not. |
| `phone` / `phones` | The advertiser's direct phone line(s), as the site formats them; `phones` keeps every line when there are several. Filled with `enrichContacts` on; empty when the listing carries no phone. The site offers no email anywhere (contact is by form only), so email is not part of the output. |
| `hasVerifiedWhatsApp` | The advertiser has a verified WhatsApp on the site. |
| `cadastre` | Cadastral account, land use, lot size, maximum buildable area, levels, free-area percent and density, when the city publishes them (mostly CDMX). |
| `zonePriceStats` | The zone's average price, built area, price per built and land m², listings in the zone, and the month it refers to. |
| `publishedAt` / `updatedAt` / `listedFor` | First published, last updated, and the site's "time on propiedades.com" text. |
| `images` / `imageCount` | Full-size photo links for the whole gallery. |
| `descriptionTruncated` | `true` only if the full text could not be read and the 200-character teaser is there instead. |

### Pricing

Pay per event, no subscription:

| Event | When | Price |
|---|---|---|
| Actor start | Once per run | $0.005 |
| Listing | Each listing in the dataset, full details included | $1.40 per 1,000 |
| Advertiser phone | `enrichContacts` on, and the listing returned a phone | $0.01 |

1,000 listings cost $1.40 plus $0.005; with `enrichContacts` on, add $0.01 per listing that has a phone on the site — never on a miss. The free Apify plan returns up to 100 listings a run.

### FAQ

#### How many listings can one search return?

All of them. A search pages through every result the site lists for it (CDMX apartments for sale run past 800 pages). Use `maxItems` to cap a run.

#### Why was one of my places skipped?

propiedades.com has no place by that name. The log lists the closest names it offers; use one of those, add the city after a comma ("Centro, Monterrey"), or paste the search link from the site. A skipped place costs nothing.

#### I pasted a link with two colonias. Why two searches?

The site searches one location at a time, so each colonia in the link runs as its own search. Listings that appear in both are written once.

#### Does a colonia search only return that colonia?

It returns what propiedades.com shows for that search, which can include listings from the colonias right next to it. Filter on `neighborhood` if you need one colonia only.

#### Do I get the advertiser's phone or email?

Phone: yes, with `enrichContacts` on. The site hides each number behind a per-listing click; the actor performs that click for you and puts the line in `phone` / `phones`, billed per listing that returns one. Email: no. propiedades.com exposes no email for any listing — contact with the advertiser goes through the site's own form — so no scraper can return one.

#### Do I get the full description?

Yes, always. `fullDetails` only controls the listing-page extras (advertiser, cadastral record, zone prices, age, floor, land area). Turn it off for faster bulk runs.

#### Why is `cadastre` null on most rows outside Mexico City?

The site shows cadastral data only where the city publishes it, mostly in CDMX. Elsewhere the field is null.

#### Does it need a login or cookies?

No.

### Support

Issues or feature requests: the Issues tab of this Actor in Apify Console. Custom needs: <muhamed.didovic@gmail.com>

### Additional services

Need another Mexican portal, a scheduled feed into your database, de-duplication across portals, or extra fields? Write to <muhamed.didovic@gmail.com> with what you need.

### Explore more scrapers

- [Inmuebles24 Scraper](https://apify.com/memo23/inmuebles24-scraper): Mexico listings with agent phone and email
- [Zonaprop Scraper](https://apify.com/memo23/zonaprop-scraper): Argentina listings and agents
- [Zap Imóveis Scraper](https://apify.com/memo23/zapimoveis-scraper): Brazil listings from Zap Imóveis
- [Idealista Scraper](https://apify.com/memo23/idealista-scraper): Spain, Italy and Portugal listings

### 🤖 For AI Agents & LLM Apps

**Purpose.** Returns propiedades.com (Mexico) property listings for a place or search link: price (MXN/USD), full description, rooms, built and land area, address, GPS, amenities, photos, advertiser name, cadastral record and zone prices.

**Minimal tested input.**

```json
{ "locations": ["Polanco"], "operation": "sale", "propertyType": "apartment", "maxItems": 20 }
```

**Output fields (flat).** `listingId`, `url`, `title`, `description`, `operation`, `isAuction`, `propertyType`, `price`, `currency`, `priceMxn`, `maintenanceFee`, `bedrooms`, `bathrooms`, `parkingSpaces`, `builtArea`, `landArea`, `floor`, `buildingAgeYears`, `amenities`, `street`, `neighborhood`, `municipality`, `state`, `postalCode`, `latitude`, `longitude`, `advertiserName`, `phone`, `phones`, `hasVerifiedWhatsApp`, `publishedAt`, `updatedAt`, `images`, `cadastre`, `zonePriceStats`, `scrapedAt`.

**Behaviours an agent should plan for.**

- Places resolve to states, cities, zones or colonias; an unknown name is skipped with the closest names in the log.
- No phone or email in the output; the site does not publish them.
- Billing: $0.005 per run start and $0.0014 per listing. Bound cost with `maxItems`.
- A run where no place could be searched ends FAILED with the reason; nothing is charged for skipped places.

### ⚠️ Disclaimer

This Actor is not affiliated with, endorsed by or sponsored by Propiedades.com or its operator. Propiedades.com is a trademark of its owner, used here only to describe the data source. The Actor collects publicly available listing data: it does not log in, does not access private accounts and does not collect contact details that the site hides behind its contact form. You are responsible for using the data in line with propiedades.com's Terms of Service and applicable law, including Mexico's Ley Federal de Protección de Datos Personales en Posesión de los Particulares and, where they apply, GDPR and CCPA.

### SEO Keywords

propiedades.com scraper, propiedades scraper, propiedades.com api, mexico real estate scraper, scrape propiedades.com, inmuebles mexico scraper, casas en venta mexico data, departamentos en renta cdmx, mexico property listings export, mexico real estate data, remates bancarios mexico, real estate auctions mexico, precio por m2 cdmx, mexico rental market data, guadalajara real estate data, monterrey property listings, cancun real estate scraper, catastro cdmx uso de suelo, mexico proptech data, propiedades.com csv export

# Actor input Schema

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

Search pages from propiedades.com, with any filters you set on the site (e.g. https://propiedades.com/df/departamentos-venta or https://propiedades.com/roma-norte-df/departamentos-renta#precio-max=30000\&recamaras=2), or single listing pages (/inmuebles/...). A search link keeps its own place, operation and property type; the filters below still apply on top.

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

One place per line: a colonia, municipality, city or state as propiedades.com writes it, e.g. "Polanco", "Guadalajara", "San Pedro Garza García" or "Quintana Roo". Add the city after a comma when a colonia name repeats. Each place is one search, using the operation and property type below.

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

For the places above: buy, rent, both, or bank and foreclosure auctions (remates).

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

For the places above.

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

Lowest price in pesos. Empty: no lower limit.

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

Highest price in pesos. Empty: no upper limit.

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

Fewest bedrooms (recámaras).

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

Fewest bathrooms (baños).

## `minBuiltArea` (type: `integer`):

Smallest construction area in square metres.

## `maxBuiltArea` (type: `integer`):

Largest construction area in square metres.

## `mustHave` (type: `string`):

Only listings with this feature. propiedades.com filters by one feature at a time.

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

The order listings come in.

## `fullDetails` (type: `boolean`):

On (default): each listing also gets the advertiser's name and logo, cadastral data (land use, lot size, buildable area, levels), the zone's average prices, building age, floor, units in the building, services, street and land area. Off: faster, still with the full description, price, rooms, built area, address, GPS, amenities and every photo.

## `enrichContacts` (type: `boolean`):

On: each listing also gets the advertiser's direct phone number(s) under `phone` / `phones`, and the advertiser name even with Full details off. Charged per listing that returns a phone; listings without one cost nothing extra. The site gives no email address for any listing (contact there is by form only), so no email is ever returned.

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

Listings in the whole run, across every place and link. Free plan runs stop at 100.

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

Used only as a last resort for listing pages; the run brings its own Mexican addresses first. Leave as is.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://propiedades.com/roma-norte-df/departamentos-renta"
    }
  ],
  "operation": "sale",
  "propertyType": "any",
  "mustHave": "none",
  "sortBy": "relevance",
  "fullDetails": true,
  "enrichContacts": false,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}
```

# Actor output Schema

## `results` (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://propiedades.com/roma-norte-df/departamentos-renta"
        }
    ],
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "MX"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/propiedades-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://propiedades.com/roma-norte-df/departamentos-renta" }],
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "MX",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/propiedades-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://propiedades.com/roma-norte-df/departamentos-renta"
    }
  ],
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}' |
apify call memo23/propiedades-scraper --silent --output-dataset

```

## MCP server setup

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