# Mexico City Offices and Retail Units for Rent

**Use case:** 

Export CDMX commercial space: monthly rent, floor area, colonia and GPS for 10,519 offices and 3,384 retail units. Switch the type in one field.

## Input

```json
{
  "operation": "search",
  "location": "df",
  "market": "renta",
  "propertyType": "oficinas",
  "feature": "any",
  "maxResults": 30,
  "minPrice": 0,
  "maxPrice": 0,
  "currency": "any",
  "minAreaM2": 0,
  "onlyWithCoordinates": false,
  "listingUrls": [],
  "searchUrls": []
}
```

## Output

```json
{
  "mainImage": {
    "label": "📸 Photo",
    "format": "string"
  },
  "imageUrls": {
    "label": "🖼️ All photos",
    "format": "array"
  },
  "listingId": {
    "label": "🆔 Advert ID",
    "format": "string"
  },
  "listingUrl": {
    "label": "🔗 Advert URL",
    "format": "string"
  },
  "propertyTitle": {
    "label": "🏷️ Advert",
    "format": "string"
  },
  "market": {
    "label": "🤝 Market",
    "format": "string"
  },
  "propertyType": {
    "label": "🏠 Property type",
    "format": "string"
  },
  "propertyCategory": {
    "label": "🗂️ Category",
    "format": "string"
  },
  "price": {
    "label": "💰 Price",
    "format": "integer"
  },
  "currency": {
    "label": "💱 Currency",
    "format": "string"
  },
  "pricePerM2": {
    "label": "📊 Price per m²",
    "format": "integer"
  },
  "salePrice": {
    "label": "💵 Sale price",
    "format": "integer"
  },
  "rentPrice": {
    "label": "🔑 Rent price",
    "format": "integer"
  },
  "areaM2": {
    "label": "📐 Area (m²)",
    "format": "integer"
  },
  "bedrooms": {
    "label": "🛏️ Bedrooms",
    "format": "integer"
  },
  "bathrooms": {
    "label": "🚿 Bathrooms",
    "format": "integer"
  },
  "parkingSpaces": {
    "label": "🚗 Parking spaces",
    "format": "integer"
  },
  "address": {
    "label": "📮 Address",
    "format": "string"
  },
  "colony": {
    "label": "🏘️ Colonia",
    "format": "string"
  },
  "municipality": {
    "label": "🏙️ Municipality",
    "format": "string"
  },
  "state": {
    "label": "🗺️ State",
    "format": "string"
  },
  "postalCode": {
    "label": "📬 Postal code",
    "format": "string"
  },
  "latitude": {
    "label": "🧭 Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "🧭 Longitude",
    "format": "number"
  },
  "hasExactCoordinates": {
    "label": "📍 Real map pin",
    "format": "boolean"
  },
  "amenities": {
    "label": "✨ Features",
    "format": "array"
  },
  "hasPool": {
    "label": "🏊 Pool",
    "format": "boolean"
  },
  "hasGym": {
    "label": "🏋️ Gym",
    "format": "boolean"
  },
  "hasElevator": {
    "label": "🛗 Lift",
    "format": "boolean"
  },
  "hasTerrace": {
    "label": "🌇 Terrace",
    "format": "boolean"
  },
  "isFurnished": {
    "label": "🛋️ Furnished",
    "format": "boolean"
  },
  "petsAllowed": {
    "label": "🐕 Pets allowed",
    "format": "boolean"
  },
  "hasSecurity": {
    "label": "🛡️ Private security",
    "format": "boolean"
  },
  "hasServiceRoom": {
    "label": "🧹 Service room",
    "format": "boolean"
  },
  "hasAirConditioning": {
    "label": "❄️ Air conditioning",
    "format": "boolean"
  },
  "hasParking": {
    "label": "🚗 Parking",
    "format": "boolean"
  },
  "photoCount": {
    "label": "🔢 Photo count",
    "format": "integer"
  },
  "publishedAt": {
    "label": "📅 Published",
    "format": "string"
  },
  "updatedAt": {
    "label": "🔄 Updated",
    "format": "string"
  },
  "timeOnPortal": {
    "label": "⏳ Time on portal",
    "format": "string"
  },
  "isAuction": {
    "label": "🏦 Bank auction",
    "format": "boolean"
  },
  "isExclusive": {
    "label": "⭐ Exclusive",
    "format": "boolean"
  },
  "isNewListing": {
    "label": "🆕 New",
    "format": "boolean"
  },
  "isFeatured": {
    "label": "📌 Promoted",
    "format": "boolean"
  },
  "isOffMarket": {
    "label": "🚫 Off market",
    "format": "boolean"
  },
  "isDuplicate": {
    "label": "♊ Duplicate advert",
    "format": "boolean"
  },
  "isPrimaryOfDuplicateGroup": {
    "label": "👑 Primary of duplicates",
    "format": "boolean"
  },
  "searchedPlace": {
    "label": "🔎 Searched place",
    "format": "string"
  },
  "searchedPlaceLabel": {
    "label": "🔎 Place name",
    "format": "string"
  },
  "searchedMarket": {
    "label": "🔎 Searched market",
    "format": "string"
  },
  "searchedPropertyType": {
    "label": "🔎 Searched type",
    "format": "string"
  },
  "resultTotal": {
    "label": "📊 Adverts available",
    "format": "integer"
  },
  "pageNumber": {
    "label": "📄 Page",
    "format": "integer"
  },
  "scrapedAt": {
    "label": "🕐 Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Propiedades.com Scraper - Mexico Property Listings & Prices](https://apify.com/sian.agency/propiedades-property-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sian.agency/propiedades-property-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sian.agency/propiedades-property-scraper.md

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`).
