{
  "openapi": "3.0.1",
  "info": {
    "title": "Dubai DLD Property Transactions API – Sold Prices, Price/Sqm",
    "description": "Dubai Land Department (DLD) registered transactions as JSON or CSV: sales, off-plan sales, mortgages and gifts of 2026 with AED value, price per sqm, area, project, rooms, size. Full-year back-fill or daily only-new feed. $1 per 1,000 rows until 28 Nov 2026, then $2.",
    "version": "0.2",
    "x-build-id": "3GA1PeWgpqc7v4jXK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_daemon~dubai-property-transactions/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_daemon-dubai-property-transactions",
        "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-property-transactions/runs": {
      "post": {
        "operationId": "runs-sync-data_daemon-dubai-property-transactions",
        "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-property-transactions/run-sync": {
      "post": {
        "operationId": "run-sync-data_daemon-dubai-property-transactions",
        "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, `YYYY-MM-DD` (DD/MM/YYYY also accepted), matched against each row's `transactionDate`. Leave empty to use **Days back** instead, so a scheduled run never needs a date edit. An invalid date is ignored with a warning. DLD serves the current calendar year only: dates before 1 January return no rows (checked 10 Nov 2026)."
          },
          "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": 365,
            "type": "integer",
            "description": "Used when **From date** is empty: fetch the last N days up to **To date** (or today). Both ends are included, so N=1 covers yesterday and today. Default 7, minimum 1, maximum 365; values outside that range are clamped. For a daily scheduled feed use 2 with **Only new transactions** on, so late registrations are caught and nothing is charged twice. All transactions run about 600-1,000 rows per working day; DLD registers little or nothing on weekends.",
            "default": 7
          },
          "transactionGroup": {
            "title": "Transaction group",
            "enum": [
              "all",
              "sales",
              "mortgages",
              "gifts"
            ],
            "type": "string",
            "description": "Filter by DLD transaction group: `all`, `sales`, `mortgages` or `gifts`. Weekly volume in Oct 2026: all about 4,000 rows ($4.00), sales about 2,600 ($2.60), mortgages about 1,300 ($1.30), gifts about 160 ($0.16).",
            "default": "all"
          },
          "offPlan": {
            "title": "Off-plan / ready",
            "enum": [
              "all",
              "offplan",
              "ready"
            ],
            "type": "string",
            "description": "Off-plan (developer pre-registration) vs completed properties: `all`, `offplan` or `ready`. Of about 2,600 weekly sales, roughly 1,650 are off-plan and 950 ready.",
            "default": "all"
          },
          "freehold": {
            "title": "Freehold",
            "enum": [
              "all",
              "freehold",
              "nonfreehold"
            ],
            "type": "string",
            "description": "Freehold vs non-freehold tenure: `all`, `freehold` or `nonfreehold`.",
            "default": "all"
          },
          "usage": {
            "title": "Usage",
            "enum": [
              "all",
              "residential",
              "commercial"
            ],
            "type": "string",
            "description": "Property usage: `all`, `residential` or `commercial`. Of about 2,600 weekly sales, roughly 2,500 are residential and 70 commercial.",
            "default": "all"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "all",
              "unit",
              "building",
              "land"
            ],
            "type": "string",
            "description": "Property type: `all`, `unit` (apartments and villa units), `building` or `land`. Land plots are about 220 of the 2,600 weekly sales.",
            "default": "all"
          },
          "includeArabic": {
            "title": "Include Arabic fields",
            "type": "boolean",
            "description": "Add an `arabic` object with the Arabic names for area, project, procedure etc. No extra charge.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum transactions",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many transactions (0 = all in range). Each transaction costs $0.001, so the default 200 = $0.20 and 2,000 = $2.00. A typical week has 3,000-6,000 transactions.",
            "default": 200
          },
          "onlyNew": {
            "title": "Only new transactions (daily feed)",
            "type": "boolean",
            "description": "For scheduled feeds: skip transactions an earlier only-new run already delivered, so overlapping date windows are never charged twice. Memory is kept per **Feed state name** and filter combination in the named key-value store `dubai-dld-only-new` for 120 days. Recommended schedule: daily with **Days back** 2-3 and this on. Don't run two only-new runs of the same feed at the same time.",
            "default": false
          },
          "stateName": {
            "title": "Feed state name",
            "type": "string",
            "description": "Name of your only-new feed, e.g. `dubai-sales-daily`. Separate names keep separate memories. Ignored unless **Only new transactions** is on.",
            "default": "default"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "TRANSACTION_NUMBER_ASC",
              "TRANSACTION_NUMBER_DESC"
            ],
            "type": "string",
            "description": "Sort order by DLD transaction number: `TRANSACTION_NUMBER_ASC` or `TRANSACTION_NUMBER_DESC`. Matters only when `maxItems` cuts the range short.",
            "default": "TRANSACTION_NUMBER_ASC"
          },
          "dateFilter": {
            "title": "Date filter",
            "enum": [
              "transactionDate",
              "dldBusinessDay"
            ],
            "type": "string",
            "description": "`transactionDate` (default) keeps rows whose `transactionDate` falls in your range, weekends included, so back-to-back ranges never overlap or leave gaps. `dldBusinessDay` passes the dates straight to the DLD gateway, which files each transaction under a working day (cut-off around 15:15, Fridays 11:45) and returns 0 rows for a weekend-only range; versions before 0.2 always worked this way.",
            "default": "transactionDate"
          },
          "areaId": {
            "title": "DLD area id (advanced)",
            "type": "string",
            "description": "Advanced: DLD internal area id, passed through to the gateway. The transactions feed returns areaId 0 on every row and, as of October 2026, 0 rows for any id sent here, so ids cannot be looked up from the output and this filter is not usable. Leave empty and filter on the `area` name in the results."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Not needed: the DLD gateway answers without a proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}