{
  "openapi": "3.0.1",
  "info": {
    "title": "Bayut Scraper [$0.60💰] | UAE Real Estate · Projects & Agents",
    "description": "Scrape Bayut.com — the Gulf's #1 property portal — for structured real estate data across 5 markets: UAE, Saudi Arabia, Qatar, Jordan & Oman. Track AED asking prices, Dubai off-plan projects, and developer & agency profiles for cross-market research and price monitoring.",
    "version": "0.0",
    "x-build-id": "KrV7glRzb9phyr1cz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~bayut-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-bayut-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/ahmed_jasarevic~bayut-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-bayut-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/ahmed_jasarevic~bayut-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-bayut-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": [
          "startUrl"
        ],
        "properties": {
          "startUrl": {
            "title": "Start URL",
            "type": "string",
            "description": "Paste a Bayut search URL for any supported market: bayut.com (UAE), bayut.sa (Saudi), bayut.jo (Jordan), bayut.qa (Qatar), bayut.om (Oman). The URL is always scraped exactly as pasted - its own domain decides the market. Works for listings (e.g. https://www.bayut.com/for-sale/property/dubai/ ), listing details (e.g. .../property/details-123456 ), brokers (.../en/brokers/) or companies (.../en/companies/). English or Arabic URLs are both understood.",
            "default": "https://www.bayut.com/for-sale/property/dubai/"
          },
          "maxItems": {
            "title": "Max items (total)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of records to save in total, across all scrapes of the run. You only pay for the items actually saved. Leave empty for the default.",
            "default": 1000
          },
          "market": {
            "title": "Market",
            "enum": [
              "ae",
              "sa",
              "jo",
              "qa",
              "om"
            ],
            "type": "string",
            "description": "Which Bayut marketplace to scrape. Does NOT change the start URL - the URL is always scraped as-is. When set together with other filter fields, the scraper runs an ADDITIONAL filter-based scrape of this market (builds its own query from market + the filters below). Without any other filter it scrapes the whole market."
          },
          "entity": {
            "title": "Entity to scrape",
            "enum": [
              "listings",
              "agencies",
              "agents"
            ],
            "type": "string",
            "description": "listings = property listings (default). agencies = company profiles. agents = broker profiles (not available in Jordan, Qatar and Oman - falls back to agencies). Part of the filter-based scrape (does not change what the start URL itself scrapes)."
          },
          "purpose": {
            "title": "Purpose",
            "enum": [
              "for-sale",
              "for-rent"
            ],
            "type": "string",
            "description": "for-sale or for-rent. Part of the filter-based scrape (does not change what the start URL itself scrapes)."
          },
          "category": {
            "title": "Category",
            "enum": [
              "residential",
              "commercial",
              "villas",
              "apartments",
              "townhouses",
              "penthouses",
              "hotel-apartments",
              "offices",
              "shops",
              "warehouses"
            ],
            "type": "string",
            "description": "Category slug, e.g. residential, commercial, villas, apartments, townhouses, penthouses, hotel-apartments, offices, shops, warehouses. Defaults to residential in the filter-based scrape."
          },
          "locationSlug": {
            "title": "Location",
            "type": "string",
            "description": "Location path, e.g. /dubai/dubai-marina or /riyadh . Hierarchical - /dubai also returns all Dubai sub-communities. Part of the filter-based scrape (does not change what the start URL itself scrapes)."
          },
          "city": {
            "title": "City (auto-resolved)",
            "type": "string",
            "description": "City/area name that is resolved to a location path automatically, e.g. \"Sharjah\", \"Dubai Marina\", \"Riyadh\", \"Amman\"."
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price filter (in the market's currency: AED, SAR, JOD, QAR or OMR)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price filter (in the market's currency)."
          },
          "minBeds": {
            "title": "Min bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bedrooms."
          },
          "maxBeds": {
            "title": "Max bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bedrooms."
          },
          "minBaths": {
            "title": "Min bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bathrooms."
          },
          "minArea": {
            "title": "Min area (sqm)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum built-up area in square meters."
          },
          "maxArea": {
            "title": "Max area (sqm)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum built-up area in square meters."
          },
          "furnishingStatus": {
            "title": "Furnishing status",
            "enum": [
              "any",
              "furnished",
              "unfurnished",
              "partially-furnished"
            ],
            "type": "string",
            "description": "furnished, unfurnished, partially-furnished, or any."
          },
          "completionStatus": {
            "title": "Completion status",
            "enum": [
              "any",
              "completed",
              "under-construction"
            ],
            "type": "string",
            "description": "completed, under-construction, or any."
          },
          "rentFrequency": {
            "title": "Rent frequency",
            "enum": [
              "yearly",
              "monthly",
              "weekly",
              "daily"
            ],
            "type": "string",
            "description": "For rentals: yearly, monthly, weekly, daily."
          },
          "verifiedOnly": {
            "title": "Only TruCheck-verified listings",
            "type": "boolean",
            "description": "When enabled, only listings verified by the platform are returned.",
            "default": false
          },
          "fullDetails": {
            "title": "Full details",
            "type": "boolean",
            "description": "When enabled, adds extra fields per listing: full photo list, cover video, street name, license/REGA numbers, full agency and broker embeds, scores and project numbers.",
            "default": false
          },
          "enableMonitoring": {
            "title": "Monitoring mode",
            "type": "boolean",
            "description": "When enabled, only NEW listings (seen for the first time) are saved, using per-task memory. Run the same task on a schedule to get only fresh listings each run. The first run establishes the baseline.",
            "default": false
          },
          "monitoringMode": {
            "title": "What to watch",
            "enum": [
              "new-only",
              "new-and-price-changed"
            ],
            "type": "string",
            "description": "new-only = only brand new listings. new-and-price-changed = also listings whose asking price changed versus the previous run."
          },
          "agencySlug": {
            "title": "Agency filter",
            "type": "string",
            "description": "Only listings from this agency, e.g. emaar-properties."
          },
          "filterOverrides": {
            "title": "Advanced filter overrides",
            "type": "string",
            "description": "Raw filter expression AND-ed into the search filters, e.g. location.slug:\"/dubai/dubai-marina\" AND category.slug:\"apartments\". For advanced users."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}