{
  "openapi": "3.0.1",
  "info": {
    "title": "Inmuebles24 🇲🇽 Listings Scraper & Property Search",
    "description": "[ 💰 $0.80 / 1K] Search Inmuebles24 by URL or keyword, apply rich property filters, and export structured Mexico real estate listings—all through lightweight HTTP requests.",
    "version": "1.0",
    "x-build-id": "nAyY5EbJPDQUTTfKL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetchfinch~inmuebles24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetchfinch-inmuebles24-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/fetchfinch~inmuebles24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetchfinch-inmuebles24-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/fetchfinch~inmuebles24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetchfinch-inmuebles24-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": "Search URLs",
            "type": "array",
            "description": "Inmuebles24 search result URLs copied from the site.",
            "items": {
              "type": "string",
              "pattern": "^https?://(www\\.)?inmuebles24\\.com/"
            }
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "One plain-text keyword or phrase. Matches listing titles, descriptions, property types, locations, and published features across fetched result pages. Increase maximum pages for broader matches."
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Several plain-text keywords or phrases. Each query becomes a separate search.",
            "items": {
              "type": "string"
            }
          },
          "operationType": {
            "title": "Operation",
            "enum": [
              "sale",
              "rent",
              "temporary"
            ],
            "type": "string",
            "description": "Operation filter for plain-text queries. Copied search URLs keep their own operation filter.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "all",
              "apartment",
              "house",
              "land",
              "office"
            ],
            "type": "string",
            "description": "Property filter for plain-text queries. Copied search URLs keep their own property type.",
            "default": "all"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Optional Mexican cities, neighborhoods, or states. Each location becomes a separate search; copied URLs can already contain their own location filter.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property categories",
            "type": "array",
            "description": "Optional additional category filter. Use copied search URLs when you need exact site-specific subtypes. Accepted values: apartment, house, land_lot, office, commercial_space, commercial_warehouse, condo_house, shared_apartment, horizontal_development, mixed_development, vertical_development, duplex, building, country_house, ranch, commercial_land, industrial_land, villa.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum listing price in the selected currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listing price in the selected currency."
          },
          "currency": {
            "title": "Price currency",
            "enum": [
              "any",
              "MXN",
              "USD"
            ],
            "type": "string",
            "description": "Currency used when matching the price range.",
            "default": "any"
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bedrooms."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bedrooms."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bathrooms."
          },
          "minParking": {
            "title": "Minimum parking spaces",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of parking spaces."
          },
          "minCoveredArea": {
            "title": "Minimum built area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum covered or built area in square meters."
          },
          "maxCoveredArea": {
            "title": "Maximum built area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum covered or built area in square meters."
          },
          "minLandArea": {
            "title": "Minimum land area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum land area in square meters."
          },
          "maxLandArea": {
            "title": "Maximum land area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum land area in square meters."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "agency",
              "direct"
            ],
            "type": "string",
            "description": "Filter by agency or direct advertiser where the source provides seller classification.",
            "default": "all"
          },
          "multimedia": {
            "title": "Required media",
            "type": "array",
            "description": "Keep listings that have each selected media type. Accepted values: video, 360_tour, floor_plan.",
            "items": {
              "type": "string"
            }
          },
          "buildingAge": {
            "title": "Building age",
            "enum": [
              "all",
              "under_construction",
              "brand_new",
              "up_to_5_years",
              "up_to_10_years",
              "up_to_20_years",
              "up_to_50_years",
              "over_50_years"
            ],
            "type": "string",
            "description": "Filter by the advertised property age when available.",
            "default": "all"
          },
          "publicationDate": {
            "title": "Publication freshness",
            "enum": [
              "all",
              "today",
              "last_week",
              "last_15_days",
              "last_30_days",
              "last_45_days"
            ],
            "type": "string",
            "description": "Keep listings published within the selected period.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "relevance",
              "lowest_price",
              "highest_price",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Sort matching listings by price or publication date.",
            "default": "relevance"
          },
          "featureKeywords": {
            "title": "Required features",
            "type": "array",
            "description": "Optional feature words to match against each listing's title, description, and published features.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum unique listings across all search URLs. Use 0 for no limit.",
            "default": 100
          },
          "maxPagesPerSearch": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "type": "integer",
            "description": "Safety limit on result pages fetched from each search URL.",
            "default": 10
          },
          "includeRawData": {
            "title": "Include source fields",
            "type": "boolean",
            "description": "Include the complete source listing object in a source field.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}