{
  "openapi": "3.0.1",
  "info": {
    "title": "Dubizzle Scraper: UAE Cars, Property and Classifieds Listings",
    "description": "Scrape Dubizzle UAE listings by category, city, area or link: used cars with make, model, year and km, property for sale and rent with beds and size, and classifieds. Price in AED, location, seller type, dealer or agency, posted date, photos and link. No login.",
    "version": "0.1",
    "x-build-id": "6IP5lcHob6C6YbbLq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/themineworks~dubizzle-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-themineworks-dubizzle-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/themineworks~dubizzle-scraper/runs": {
      "post": {
        "operationId": "runs-sync-themineworks-dubizzle-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/themineworks~dubizzle-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-themineworks-dubizzle-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": {
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Which Dubizzle UAE categories to search. Each category is one search and the filters below apply to every one. Leave empty if you only paste links.",
            "items": {
              "type": "string",
              "enum": [
                "motors/used-cars",
                "motors",
                "motors/motorcycles",
                "motors/boats",
                "motors/heavy-vehicles",
                "motors/number-plates",
                "motors/rental-cars",
                "motors/auto-accessories-parts",
                "property-for-rent/residential",
                "property-for-rent/residential/apartmentflat",
                "property-for-rent/residential/villahouse",
                "property-for-rent/commercial",
                "property-for-rent/short-term",
                "property-for-rent/short-term-daily",
                "property-for-rent/rooms-for-rent-flatmates",
                "property-for-sale/residential",
                "property-for-sale/residential/apartment",
                "property-for-sale/residential/villahouse",
                "property-for-sale/commercial",
                "property-for-sale/land",
                "property-for-sale/multiple-units",
                "classified",
                "classified/mobile-phones-pdas",
                "classified/electronics",
                "classified/computers-networking",
                "classified/furniture-home-garden",
                "classified/home-appliances",
                "classified/jewelry-watches",
                "classified/clothing-accessories",
                "classified/sports-equipment",
                "classified/gaming",
                "classified/baby-items",
                "classified/business-industrial"
              ],
              "enumTitles": [
                "Motors: used cars",
                "Motors: everything (cars, motorcycles, boats, plates)",
                "Motors: motorcycles",
                "Motors: boats",
                "Motors: heavy vehicles",
                "Motors: number plates",
                "Motors: rental cars",
                "Motors: parts and accessories",
                "Property for rent: residential",
                "Property for rent: apartments",
                "Property for rent: villas",
                "Property for rent: commercial",
                "Property for rent: short term (monthly)",
                "Property for rent: short term (daily)",
                "Property for rent: rooms and flatmates",
                "Property for sale: residential",
                "Property for sale: apartments",
                "Property for sale: villas",
                "Property for sale: commercial",
                "Property for sale: land",
                "Property for sale: multiple units",
                "Classifieds: everything",
                "Classifieds: mobile phones and tablets",
                "Classifieds: electronics",
                "Classifieds: computers",
                "Classifieds: furniture, home and garden",
                "Classifieds: home appliances",
                "Classifieds: jewellery and watches",
                "Classifieds: clothing and accessories",
                "Classifieds: sports equipment",
                "Classifieds: gaming",
                "Classifieds: baby items",
                "Classifieds: business and industrial"
              ]
            }
          },
          "categoryPaths": {
            "title": "Other category paths (optional)",
            "type": "array",
            "description": "Any deeper Dubizzle category path, copied from the address bar after the city, one per line, for example motors/used-cars/toyota/land-cruiser, property-for-rent/commercial/office or classified/jewelry-watches/watches.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Dubizzle links (optional)",
            "type": "array",
            "description": "Search or listing links copied from dubizzle.com, for example https://dubai.dubizzle.com/motors/used-cars/nissan/patrol/?year__gte=2020 or a single listing link. The city, category, price, year, kilometres, bedrooms, size and keyword in a search link are used; the filter fields below do not apply to links.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Emirates or cities to search. Leave empty for the whole UAE.",
            "items": {
              "type": "string",
              "enum": [
                "dubai",
                "abu-dhabi",
                "sharjah",
                "ajman",
                "ras-al-khaimah",
                "umm-al-quwain",
                "fujairah",
                "al-ain"
              ],
              "enumTitles": [
                "Dubai",
                "Abu Dhabi",
                "Sharjah",
                "Ajman",
                "Ras Al Khaimah",
                "Umm Al Quwain",
                "Fujairah",
                "Al Ain"
              ]
            }
          },
          "locations": {
            "title": "Areas",
            "type": "array",
            "description": "Area names as Dubizzle writes them, one per line, for example Dubai Marina, Jumeirah Village Circle (JVC), Al Quoz or Al Reem Island. Works for motors, property and classifieds. A listing matches any of them. Each name is looked up once at the start of the run; a name that matches no Dubizzle area gets an error row.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional words to search for, for example patrol, iphone 15 or marina view. Close spellings of a different word are not matched."
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each search after this many listings. Dubizzle's search serves at most 10,000 listings per motors search, 2,500 per classifieds search and 80,000 per property search; narrow by city, category or price to get more.",
            "default": 50
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "price_low",
              "price_high",
              "featured"
            ],
            "type": "string",
            "description": "Newest first suits daily monitoring. Featured is the order the site shows by default.",
            "default": "newest"
          },
          "priceMin": {
            "title": "Min price (AED)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or above this price."
          },
          "priceMax": {
            "title": "Max price (AED)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or below this price."
          },
          "make": {
            "title": "Car make (used cars)",
            "type": "string",
            "description": "For motors/used-cars only: a make such as Toyota, Nissan or Mercedes-Benz. Narrows the used cars search to that make."
          },
          "model": {
            "title": "Car model (used cars)",
            "type": "string",
            "description": "For motors/used-cars with a make: a model such as Land Cruiser or Patrol."
          },
          "yearMin": {
            "title": "Min model year (motors)",
            "minimum": 0,
            "type": "integer",
            "description": "Motors only."
          },
          "yearMax": {
            "title": "Max model year (motors)",
            "minimum": 0,
            "type": "integer",
            "description": "Motors only."
          },
          "kilometersMax": {
            "title": "Max kilometres (motors)",
            "minimum": 0,
            "type": "integer",
            "description": "Motors only."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "owner",
              "business"
            ],
            "type": "string",
            "description": "Motors: dealer or owner. Classifieds: business or owner (individual). Ignored for property (use Listed by).",
            "default": "any"
          },
          "bedroomsMin": {
            "title": "Min bedrooms (property)",
            "minimum": 0,
            "type": "integer",
            "description": "Property only. 0 is a studio."
          },
          "bedroomsMax": {
            "title": "Max bedrooms (property)",
            "minimum": 0,
            "type": "integer",
            "description": "Property only."
          },
          "bathroomsMin": {
            "title": "Min bathrooms (property)",
            "minimum": 0,
            "type": "integer",
            "description": "Property only."
          },
          "sizeMinSqft": {
            "title": "Min size, sq ft (property)",
            "minimum": 0,
            "type": "integer",
            "description": "Property only."
          },
          "sizeMaxSqft": {
            "title": "Max size, sq ft (property)",
            "minimum": 0,
            "type": "integer",
            "description": "Property only."
          },
          "furnishing": {
            "title": "Furnishing (property)",
            "enum": [
              "any",
              "furnished",
              "unfurnished"
            ],
            "type": "string",
            "description": "Property only.",
            "default": "any"
          },
          "completion": {
            "title": "Ready or off plan (property for sale)",
            "enum": [
              "any",
              "ready",
              "off_plan"
            ],
            "type": "string",
            "description": "Property only.",
            "default": "any"
          },
          "listedBy": {
            "title": "Listed by (property)",
            "enum": [
              "any",
              "agent",
              "landlord"
            ],
            "type": "string",
            "description": "Property only: agents or landlords.",
            "default": "any"
          },
          "searchKey": {
            "title": "Search key (advanced, optional)",
            "type": "string",
            "description": "Leave empty. Only needed if Dubizzle changes the public key its own website uses for search and the run reports that the key was refused."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}