{
  "openapi": "3.0.1",
  "info": {
    "title": "Propiedades.com Scraper: Mexico Listings, Prices & Advertisers",
    "description": "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.",
    "version": "0.0",
    "x-build-id": "Q2jfRAHf7anair541"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~propiedades-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-propiedades-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~propiedades-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-propiedades-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~propiedades-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-propiedades-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "propiedades.com links",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "locations": {
            "title": "Places to search",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "sale",
              "rent",
              "any",
              "auction"
            ],
            "type": "string",
            "description": "For the places above: buy, rent, both, or bank and foreclosure auctions (remates).",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "any",
              "apartment",
              "house",
              "condoHouse",
              "residentialLand",
              "ranch",
              "room",
              "residential",
              "office",
              "retail",
              "commercialWarehouse",
              "commercialLand",
              "building",
              "commercial",
              "industrialWarehouse",
              "industrialBuilding",
              "industrialLand",
              "industrial"
            ],
            "type": "string",
            "description": "For the places above.",
            "default": "any"
          },
          "minPrice": {
            "title": "Price from (MXN)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in pesos. Empty: no lower limit."
          },
          "maxPrice": {
            "title": "Price up to (MXN)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in pesos. Empty: no upper limit."
          },
          "minBedrooms": {
            "title": "Bedrooms from",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Fewest bedrooms (recámaras)."
          },
          "minBathrooms": {
            "title": "Bathrooms from",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Fewest bathrooms (baños)."
          },
          "minBuiltArea": {
            "title": "Built area from (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest construction area in square metres."
          },
          "maxBuiltArea": {
            "title": "Built area up to (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest construction area in square metres."
          },
          "mustHave": {
            "title": "Must have",
            "enum": [
              "none",
              "pool",
              "garden",
              "terrace",
              "furnished",
              "pets",
              "fireplace",
              "laundryArea",
              "basement"
            ],
            "type": "string",
            "description": "Only listings with this feature. propiedades.com filters by one feature at a time.",
            "default": "none"
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "The order listings come in.",
            "default": "relevance"
          },
          "fullDetails": {
            "title": "Full details",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "enrichContacts": {
            "title": "Advertiser phone numbers",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "type": "integer",
            "description": "Listings in the whole run, across every place and link. Free plan runs stop at 100.",
            "default": 1000
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Used only as a last resort for listing pages; the run brings its own Mexican addresses first. Leave as is.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "MX"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}