{
  "openapi": "3.0.1",
  "info": {
    "title": "Property Finder Scraper | UAE Saudi Egypt Bahrain Qatar",
    "description": "Scrape Property Finder UAE, Saudi Arabia, Egypt, Bahrain & Qatar listings for sale or rent. Extract prices, beds, RERA, agents & images. Property Finder API alternative.",
    "version": "0.5",
    "x-build-id": "ULQSQSGrS8V35B0cT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~property-finder-uae-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-property-finder-uae-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/lentic_clockss~property-finder-uae-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-property-finder-uae-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/lentic_clockss~property-finder-uae-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-property-finder-uae-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": "Start URLs",
            "type": "array",
            "description": "Property Finder search (SRP) or listing detail (LDP) URLs for AE/SA/EG/BH/QA. Search URLs override market/channel/type when provided.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "market": {
            "title": "Market",
            "enum": [
              "AE",
              "SA",
              "EG",
              "BH",
              "QA",
              "all"
            ],
            "type": "string",
            "description": "Primary country market. Use all for AE+SA+EG+BH+QA. Ignored when markets is set.",
            "default": "AE"
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "Optional multi-select of markets. Overrides market when non-empty.",
            "items": {
              "type": "string",
              "enum": [
                "AE",
                "SA",
                "EG",
                "BH",
                "QA"
              ]
            },
            "default": []
          },
          "channel": {
            "title": "Channel",
            "enum": [
              "BUY",
              "RENT",
              "COMMERCIAL_BUY",
              "COMMERCIAL_RENT"
            ],
            "type": "string",
            "description": "BUY / RENT (residential) or COMMERCIAL_BUY / COMMERCIAL_RENT.",
            "default": "BUY"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "all",
              "properties",
              "apartment",
              "villa",
              "townhouse",
              "penthouse",
              "compound",
              "duplex",
              "full-floor",
              "half-floor",
              "whole-building",
              "land",
              "bungalow",
              "hotel-apartment",
              "bulk-sale-unit",
              "bulk-rent-unit",
              "chalet",
              "twin-house",
              "farm",
              "rest-house",
              "office-space",
              "retail",
              "warehouse",
              "shop",
              "show-room",
              "factory",
              "labor-camp",
              "staff-accommodation",
              "business-centre",
              "co-working-space",
              "medical-facility",
              "clinic",
              "cafeteria",
              "restaurant",
              "storage",
              "ivilla",
              "cabin",
              "palace",
              "roof",
              "short-term-hotel-apartment",
              "labor-camp-per-room"
            ],
            "type": "string",
            "description": "Single category slug. Use all/properties for every type in the channel (omit t=). Type IDs are resolved per market.",
            "default": "all"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Optional multi-select categories. Overrides propertyType when non-empty.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "apartment",
                "villa",
                "townhouse",
                "penthouse",
                "compound",
                "duplex",
                "full-floor",
                "half-floor",
                "whole-building",
                "land",
                "bungalow",
                "hotel-apartment",
                "office-space",
                "retail",
                "warehouse",
                "shop",
                "show-room",
                "factory",
                "labor-camp",
                "staff-accommodation",
                "farm",
                "chalet"
              ]
            },
            "default": []
          },
          "locationId": {
            "title": "Location ID",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Optional Property Finder `l` location id. Leave empty/0 for national search (recommended)."
          },
          "locationSlug": {
            "title": "Location slug",
            "type": "string",
            "description": "Optional city/area slug preset (e.g. dubai, riyadh, jeddah, lusail). Used when locationId is empty.",
            "default": "abu-dhabi"
          },
          "locale": {
            "title": "Locale",
            "enum": [
              "",
              "en",
              "ar"
            ],
            "type": "string",
            "description": "URL locale prefix. Leave empty for market default (en).",
            "default": ""
          },
          "maxItems": {
            "title": "Max listings (max 2,000; free users capped at 1,000/run)",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum property records to save (1–2000; fair-split across markets/types). Free Apify plan users are limited to 1,000 results per run and 10 total runs of this Actor — limits set by the Actor developer.",
            "default": 1
          },
          "maxPages": {
            "title": "Max search pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum SRP pages per search URL (~25 listings per page). Uses external `page=N`.",
            "default": 1
          },
          "scrapeDetails": {
            "title": "Scrape detail pages",
            "type": "boolean",
            "description": "Fetch each listing LDP and merge `#__NEXT_DATA__` propertyResult (includes agent/broker email & phone when public).",
            "default": false
          },
          "enableBrowserFallback": {
            "title": "Browser fallback",
            "type": "boolean",
            "description": "If the Cloud Run worker curl_cffi path is blocked by CloudFront/WAF, fall back to Playwright Chromium on the worker.",
            "default": true
          },
          "requestDelayMillis": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 15000,
            "type": "integer",
            "description": "Politeness delay between HTTP requests.",
            "default": 800
          },
          "maxConcurrency": {
            "title": "Request concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Max concurrent HTTP fetches for detail pages.",
            "default": 2
          },
          "workerBaseUrl": {
            "title": "Worker base URL (optional)",
            "type": "string",
            "description": "Override the Cloud Run worker origin for this run. Defaults to Actor env WORKER_BASE_URL. Use when testing a staging worker; production migrations should update WORKER_BASE_URL in Actor settings (no code change).",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}