{
  "openapi": "3.0.1",
  "info": {
    "title": "Lamudi Real Estate Scraper",
    "description": "Scrape real estate listings from lamudi.com.ph - condos, houses, apartments, land and commercial property for sale or rent across the Philippines. Filter by region, price and bedrooms, or fetch exact listing URLs.",
    "version": "1.0",
    "x-build-id": "KvCbms2ORvzkYaBTe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~lamudi-real-estate-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-lamudi-real-estate-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/crawlerbros~lamudi-real-estate-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-lamudi-real-estate-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/crawlerbros~lamudi-real-estate-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-lamudi-real-estate-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",
        "required": [
          "mode",
          "transactionType",
          "propertyType"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byUrls"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "transactionType": {
            "title": "For sale or for rent",
            "enum": [
              "buy",
              "rent"
            ],
            "type": "string",
            "description": "Whether to fetch listings for sale or for rent.",
            "default": "buy"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "condo",
              "house",
              "apartment",
              "land",
              "commercial",
              "foreclosures",
              "short-term"
            ],
            "type": "string",
            "description": "Type of property to search.",
            "default": "condo"
          },
          "region": {
            "title": "Region / province",
            "enum": [
              "",
              "metro-manila",
              "cebu",
              "cavite",
              "laguna",
              "rizal",
              "bulacan",
              "pampanga",
              "batangas",
              "davao-del-sur",
              "iloilo",
              "negros-occidental",
              "pangasinan",
              "bataan",
              "zambales",
              "tarlac",
              "nueva-ecija",
              "quezon",
              "camarines-sur",
              "albay",
              "leyte",
              "bohol",
              "palawan",
              "benguet",
              "la-union",
              "ilocos-norte",
              "ilocos-sur",
              "isabela",
              "cagayan",
              "misamis-oriental",
              "south-cotabato",
              "sarangani",
              "cotabato",
              "agusan-del-norte",
              "agusan-del-sur",
              "surigao-del-norte",
              "davao-del-norte",
              "davao-oriental",
              "aklan",
              "capiz",
              "guimaras",
              "negros-oriental",
              "occidental-mindoro",
              "oriental-mindoro",
              "romblon",
              "siquijor",
              "sorsogon",
              "camarines-norte",
              "zamboanga-del-norte",
              "zamboanga-del-sur"
            ],
            "type": "string",
            "description": "Restrict to one region or province. Leave blank for nationwide results.",
            "default": "metro-manila"
          },
          "location": {
            "title": "City / area (optional, refines region)",
            "type": "string",
            "description": "Optional city or area slug appended after the region, e.g. `quezon-city` or `quezon-city/loyola-heights-1`. Find exact slugs by browsing lamudi.com.ph."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional free-text keyword to match against each listing's title, description, and address (e.g. a building or subdivision name). Applied client-side across the region/type results — Lamudi has no server-side keyword search on category pages, so pages are scanned until enough matches are found or the catalog is exhausted."
          },
          "propertyUrls": {
            "title": "Listing or search URLs (mode=byUrls)",
            "type": "array",
            "description": "Exact lamudi.com.ph property URLs or search-result page URLs to fetch directly.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (local currency)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Drop listings priced below this."
          },
          "maxPrice": {
            "title": "Max price (local currency)",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Drop listings priced above this."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Drop listings with fewer bedrooms than this."
          },
          "maxBedrooms": {
            "title": "Max bedrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Drop listings with more bedrooms than this."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Drop listings with fewer bathrooms than this."
          },
          "maxBathrooms": {
            "title": "Max bathrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Drop listings with more bathrooms than this."
          },
          "minFloorSize": {
            "title": "Min floor size (sqm)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop listings with a smaller floor area than this, in square meters."
          },
          "maxFloorSize": {
            "title": "Max floor size (sqm)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop listings with a larger floor area than this, in square meters."
          },
          "sortBy": {
            "title": "Sort order (mode=search)",
            "enum": [
              "popularity",
              "newest",
              "price-low",
              "price-high"
            ],
            "type": "string",
            "description": "Order in which listings are returned. Only applies to mode=search.",
            "default": "popularity"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}