{
  "openapi": "3.0.1",
  "info": {
    "title": "UAE Property Scraper - Dubizzle + Property Finder",
    "description": "Scrape UAE real-estate listings (Dubai, Abu Dhabi, Sharjah + all emirates) from Dubizzle and Property Finder. Residential sale/rent, off-plan, commercial. Unified schema: price, bedrooms, area, coordinates, agent, amenities. Pay per result.",
    "version": "0.0",
    "x-build-id": "fobwLQfhmqmzFWdag"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ethical_scraper_nomad~gcc-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ethical_scraper_nomad-gcc-property-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/ethical_scraper_nomad~gcc-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ethical_scraper_nomad-gcc-property-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/ethical_scraper_nomad~gcc-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ethical_scraper_nomad-gcc-property-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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "GCC countries to scrape. UAE has all sources; the other countries currently use Dubizzle (national crawl — city comes from each listing).",
            "items": {
              "type": "string",
              "enum": [
                "uae",
                "sa",
                "qa",
                "bh",
                "kw",
                "om"
              ],
              "enumTitles": [
                "UAE",
                "Saudi Arabia",
                "Qatar",
                "Bahrain",
                "Kuwait",
                "Oman"
              ]
            },
            "default": [
              "uae"
            ]
          },
          "sources": {
            "title": "Data sources",
            "type": "array",
            "description": "Which sources to scrape. Dubizzle is instant and cheap (public search index). Property Finder / Bayut / PropertyGuru need a browser. Facebook Marketplace is experimental (logged-out, often 0 items).",
            "items": {
              "type": "string",
              "enum": [
                "dubizzle",
                "propertyfinder",
                "bayut",
                "propertyguru",
                "facebook"
              ],
              "enumTitles": [
                "Dubizzle (all GCC, via public search index)",
                "Property Finder (UAE, browser-rendered)",
                "Bayut (UAE, browser-rendered)",
                "PropertyGuru (UAE, browser-rendered)",
                "Facebook Marketplace (UAE, experimental)"
              ]
            },
            "default": [
              "dubizzle",
              "propertyfinder"
            ]
          },
          "cities": {
            "title": "Dubizzle cities",
            "type": "array",
            "description": "UAE emirates to filter on (Dubizzle, UAE only — other countries do a national crawl).",
            "items": {
              "type": "string",
              "enum": [
                "dubai",
                "abudhabi",
                "sharjah",
                "ras-al-khaimah",
                "fujairah",
                "umm-al-quwain",
                "al-ain",
                "ajman"
              ],
              "enumTitles": [
                "Dubai",
                "Abu Dhabi",
                "Sharjah",
                "Ras Al Khaimah",
                "Fujairah",
                "Umm Al Quwain",
                "Al Ain",
                "Ajman"
              ]
            },
            "default": [
              "dubai"
            ]
          },
          "listingTypes": {
            "title": "Listing types",
            "type": "array",
            "description": "Property categories to scrape (Dubizzle + Bayut + PropertyGuru).",
            "items": {
              "type": "string",
              "enum": [
                "sale_residential",
                "rent_residential",
                "offplan",
                "sale_commercial",
                "rent_commercial"
              ],
              "enumTitles": [
                "Residential for sale",
                "Residential for rent",
                "Off-plan (pre-handover)",
                "Commercial for sale",
                "Commercial for rent"
              ]
            },
            "default": [
              "sale_residential",
              "rent_residential"
            ]
          },
          "pfCities": {
            "title": "Property Finder categories",
            "type": "array",
            "description": "Sale and/or rent listings on Property Finder.",
            "items": {
              "type": "string",
              "enum": [
                "sale",
                "rent"
              ],
              "enumTitles": [
                "For sale",
                "For rent"
              ]
            },
            "default": [
              "sale",
              "rent"
            ]
          },
          "pfLocationIds": {
            "title": "Property Finder location IDs",
            "type": "array",
            "description": "Numeric location IDs, comma separated. Popular ones: 86 Palm Jumeirah, 58 Emirates Hills, 41 Downtown Dubai, 50 Dubai Marina, 34 Arabian Ranches, 66 Jumeirah, 67 JBR, 105 Dubai Hills Estate, 71 JLT, 36 Business Bay.",
            "items": {
              "type": "string"
            },
            "default": [
              "86"
            ]
          },
          "minPrice": {
            "title": "Min price (local currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings priced at or above this value, in the country's local currency (AED/SAR/QAR/BHD/KWD/OMR)."
          },
          "maxPrice": {
            "title": "Max price (local currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings priced at or below this value, in the country's local currency (AED/SAR/QAR/BHD/KWD/OMR)."
          },
          "minBeds": {
            "title": "Min bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this many bedrooms."
          },
          "maxBeds": {
            "title": "Max bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at most this many bedrooms."
          },
          "minListedDays": {
            "title": "Only listings newer than N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "e.g. 7 = listings added in the last week (fresh-listings monitoring). Dubizzle only."
          },
          "maxResultsPerType": {
            "title": "Max results per listing type",
            "minimum": 10,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum results collected per listing type (10 to 100,000).",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}