{
  "openapi": "3.0.1",
  "info": {
    "title": "Dubai Rent Contracts API – Ejari Registered Rents (DLD)",
    "description": "Registered Dubai rent contracts (Ejari) from the official Dubai Land Department register: annual rent, contract value, size, rent per sqm, area, project, property type, new vs renewed, lease dates. Signed leases, not asking rents. $1 per 1,000 rows.",
    "version": "0.1",
    "x-build-id": "eZEfEXUxBnTbE7NZq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_daemon~dubai-rent-contracts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_daemon-dubai-rent-contracts",
        "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/data_daemon~dubai-rent-contracts/runs": {
      "post": {
        "operationId": "runs-sync-data_daemon-dubai-rent-contracts",
        "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/data_daemon~dubai-rent-contracts/run-sync": {
      "post": {
        "operationId": "run-sync-data_daemon-dubai-rent-contracts",
        "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": {
          "fromDate": {
            "title": "From date",
            "pattern": "^(\\d{4}-\\d{1,2}-\\d{1,2}([T ].*)?|\\d{1,2}[/.]\\d{1,2}[/.]\\d{4})?$",
            "type": "string",
            "description": "Start of the range (included), `YYYY-MM-DD` (DD/MM/YYYY also accepted), matched against the date chosen in **Date type** (registration date by default). Leave empty to use **Days back** instead, so a scheduled run never needs a date edit."
          },
          "toDate": {
            "title": "To date",
            "pattern": "^(\\d{4}-\\d{1,2}-\\d{1,2}([T ].*)?|\\d{1,2}[/.]\\d{1,2}[/.]\\d{4})?$",
            "type": "string",
            "description": "End of the range (included), `YYYY-MM-DD`. Defaults to today (UTC)."
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 366,
            "type": "integer",
            "description": "Used when **From date** is empty: the last N days up to **To date** (or today), both ends included, so N=1 covers yesterday and today. Default 7. Dubai registers about 5,000 rent contract rows per working day (about 25,000-30,000 a week, Nov 2026). For a daily scheduled feed use 2 with **Only new contracts** on.",
            "default": 7
          },
          "dateType": {
            "title": "Date type",
            "enum": [
              "registrationDate",
              "startDate",
              "endDate"
            ],
            "type": "string",
            "description": "Which contract date the range applies to. `registrationDate` (default) gives a clean daily feed of newly registered contracts; `startDate` finds leases starting in the range; `endDate` finds leases expiring in the range (renewal and churn prospecting).",
            "default": "registrationDate"
          },
          "contractVersion": {
            "title": "New or renewed",
            "enum": [
              "all",
              "new",
              "renewed"
            ],
            "type": "string",
            "description": "Filter by Ejari contract version. About 45% of registrations are new leases and 55% renewals (Nov 2026).",
            "default": "all"
          },
          "usage": {
            "title": "Usage",
            "enum": [
              "all",
              "residential",
              "commercial",
              "other"
            ],
            "type": "string",
            "description": "Filter by property usage: about 76% residential, 23% commercial (Nov 2026).",
            "default": "all"
          },
          "freehold": {
            "title": "Freehold",
            "enum": [
              "all",
              "freehold",
              "nonfreehold"
            ],
            "type": "string",
            "description": "Freehold areas are where foreigners can own property (Dubai Marina, Downtown, JVC...).",
            "default": "all"
          },
          "areas": {
            "title": "Areas",
            "type": "array",
            "description": "Official DLD area names, e.g. `Business Bay`, `Al Barsha South Fourth`, `Marsa Dubai` (Dubai Marina), `Burj Khalifa` (Downtown). Each area is fetched with its own query. Leave empty for all of Dubai. Unknown names are skipped with a suggestion in the run status.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "propertySubTypes": {
            "title": "Property sub-types",
            "type": "array",
            "description": "Keep only these sub-types, e.g. `Flat`, `Villa`, `Office`, `Shop`, `Warehouse`, `Labor Camps`, `Hotel apartments`. Leave empty for all. Filtered-out rows are not charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "oneRowPerContract": {
            "title": "One row per contract",
            "type": "boolean",
            "description": "DLD lists a contract that covers several units (a building, a labour camp) as one row per unit, and every row repeats the whole contract's amount. On: such contracts are merged into one row with `unitsInContract`, the total `sizeSqm` and the sub-types, so rent totals are not inflated and you pay per contract (Nov 1-6 2026: 24,631 rows = 19,436 contracts). Off (default): one row per unit, as DLD publishes it.",
            "default": false
          },
          "sort": {
            "title": "Order",
            "enum": [
              "oldestFirst",
              "newestFirst"
            ],
            "type": "string",
            "description": "Order by registration time. With **Max items** set, `newestFirst` returns the latest contracts.",
            "default": "oldestFirst"
          },
          "includeArabic": {
            "title": "Include Arabic names",
            "type": "boolean",
            "description": "Add an `arabic` object with the Arabic area, project, property type and landmark names.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows to save (0 = everything in range). Each saved row is one charged event; the default of 200 keeps a first try cheap.",
            "default": 200
          },
          "onlyNew": {
            "title": "Only new contracts",
            "type": "boolean",
            "description": "For scheduled runs: skip (and do not charge) rows that an earlier only-new run with the same **State name** and filters already delivered. Memory lasts 120 days.",
            "default": false
          },
          "stateName": {
            "title": "State name",
            "type": "string",
            "description": "Name of the only-new memory. Use a different name for each independent feed.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: the DLD gateway answers directly. Provided in case DLD starts limiting requests.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}