{
  "openapi": "3.0.1",
  "info": {
    "title": "PropertyFinder Scraper — UAE & MENA Real Estate & Agent Leads",
    "description": "Extract residential & commercial property listings from PropertyFinder across UAE, Saudi Arabia, Egypt, Qatar & Bahrain. Collect prices, sqft/sqm area, bedrooms, off-plan status, community hierarchy, GPS coordinates, photos, direct agent phones, WhatsApp links & brokerage emails.",
    "version": "1.0",
    "x-build-id": "gCyZju8fy4qdXH0bn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/haketa~propertyfinder-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-haketa-propertyfinder-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/haketa~propertyfinder-scraper/runs": {
      "post": {
        "operationId": "runs-sync-haketa-propertyfinder-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/haketa~propertyfinder-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-haketa-propertyfinder-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": {
          "country": {
            "title": "Country Marketplace",
            "enum": [
              "ae",
              "sa",
              "eg",
              "qa",
              "bh"
            ],
            "type": "string",
            "description": "Select the PropertyFinder country marketplace to collect listings from. Note: if you choose a specific city from another country below (for example Riyadh or Cairo), the scraper automatically routes to that city's country marketplace.",
            "default": "ae"
          },
          "city": {
            "title": "City / Emirate",
            "enum": [
              "all",
              "dubai",
              "abu_dhabi",
              "sharjah",
              "ras_al_khaimah",
              "ajman",
              "al_ain",
              "umm_al_quwain",
              "fujairah",
              "riyadh",
              "jeddah",
              "dammam",
              "khobar",
              "cairo",
              "new_cairo",
              "giza",
              "6_october",
              "sheikh_zayed",
              "new_capital",
              "alexandria",
              "north_coast",
              "doha",
              "lusail",
              "manama"
            ],
            "type": "string",
            "description": "Filter by a major MENA city or emirate, or choose All Cities to search across the entire selected country.",
            "default": "all"
          },
          "locationQuery": {
            "title": "Specific Community, Area, or Tower (Optional)",
            "type": "string",
            "description": "Optional neighborhood, master community, or building name — e.g., 'Dubai Marina', 'Downtown Dubai', 'Business Bay', 'Palm Jumeirah', 'Yas Island', 'The Pearl', or 'Zamalek'. Automatically resolved to the exact PropertyFinder location filter."
          },
          "offeringType": {
            "title": "Offering Type (Sale / Rent / Commercial)",
            "enum": [
              "buy",
              "rent",
              "commercial-buy",
              "commercial-rent"
            ],
            "type": "string",
            "description": "Choose residential properties for sale, residential rentals, commercial properties for sale, or commercial leases.",
            "default": "buy"
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "all",
              "apartment",
              "villa",
              "townhouse",
              "penthouse",
              "duplex",
              "compound",
              "hotel_apartment",
              "land",
              "whole_building",
              "full_floor",
              "office",
              "retail",
              "warehouse",
              "shop",
              "showroom"
            ],
            "type": "string",
            "description": "Filter by specific residential or commercial property type, or keep All Types for every category.",
            "default": "all"
          },
          "completionStatus": {
            "title": "Completion Status (Ready vs Off-Plan)",
            "enum": [
              "all",
              "ready",
              "off_plan"
            ],
            "type": "string",
            "description": "Filter residential sales by completed ready-to-move properties or off-plan developer launches.",
            "default": "all"
          },
          "bedrooms": {
            "title": "Bedrooms",
            "enum": [
              "any",
              "studio",
              "1",
              "2",
              "3",
              "4",
              "5+"
            ],
            "type": "string",
            "description": "Filter residential listings by number of bedrooms.",
            "default": "any"
          },
          "furnished": {
            "title": "Furnishing Status",
            "enum": [
              "all",
              "furnished",
              "unfurnished",
              "partly_furnished"
            ],
            "type": "string",
            "description": "Filter by furnished, unfurnished, or partly furnished properties.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "featured",
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order search results by PropertyFinder Featured rank, newest listings first, lowest price, or highest price.",
            "default": "featured"
          },
          "minPrice": {
            "title": "Minimum Price (Local Currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum asking price or rent in the selected country's local currency (AED, SAR, EGP, QAR, or BHD)."
          },
          "maxPrice": {
            "title": "Maximum Price (Local Currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum asking price or rent in the selected country's local currency (AED, SAR, EGP, QAR, or BHD)."
          },
          "onlyVerified": {
            "title": "Only Verified Properties",
            "type": "boolean",
            "description": "When enabled, returns only listings carrying the PropertyFinder Verified badge.",
            "default": false
          },
          "onlySuperAgent": {
            "title": "Only SuperAgent Listings",
            "type": "boolean",
            "description": "When enabled, returns only listings managed by top-rated PropertyFinder SuperAgents.",
            "default": false
          },
          "includeRegulatoryDetails": {
            "title": "Enrich Deep Regulatory & RERA License Details",
            "type": "boolean",
            "description": "Optional deep enrichment: visits each individual property page to append UAE RERA ORN (Brokerage License), BRN (Agent License), DED Trade License, Official DLD Trakheesi Permit QR validation URL, and registered legal entity name. Note: Saudi REGA/FAL licenses and all agent phones, WhatsApp links, and brokerage emails are already extracted without enabling this option.",
            "default": false
          },
          "startUrls": {
            "title": "Custom Start URLs (Advanced — Optional)",
            "type": "array",
            "description": "Optional list of custom PropertyFinder search URLs, agent profile URLs (/en/agent/...), brokerage profile URLs (/en/broker/...), or single property URLs (/en/plp/...) across .ae, .sa, .eg, .qa, or .bh. When provided, these URLs are scraped directly instead of dropdown filters.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max Listings",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of unique property listings to extract. Set to 0 for unlimited extraction across all matching pages.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for reliable high-volume extraction across MENA marketplaces.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}