{
  "openapi": "3.0.1",
  "info": {
    "title": "UAE Dubai Property Leads & Unit Number Scraper",
    "description": "Turn any Dubai listing URL into a DLD-verified lead: the real unit number with a confidence score, live RERA permit status, full listing details and agent contacts. Property Finder, Betterhomes, Espace and more — streamed live.",
    "version": "0.1",
    "x-build-id": "rJaOM3sclbXlxKvfr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/citrine_venus~uae-dubai-property-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-citrine_venus-uae-dubai-property-leads-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/citrine_venus~uae-dubai-property-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-citrine_venus-uae-dubai-property-leads-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/citrine_venus~uae-dubai-property-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-citrine_venus-uae-dubai-property-leads-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": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "🔗 Dubai Property Listing URLs",
            "type": "array",
            "description": "Paste one or more Dubai property listing URLs — supports bulk input (one per line, upload a file, or connect a Google Sheet). Works with Property Finder, Betterhomes, Allsopp & Allsopp, Espace, haus & haus, LUXHABITAT, Driven Properties, Provident Estate, fam Properties, PropSearch, Metropolitan and most other RERA-compliant Dubai listing pages.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "validateWithDld": {
            "title": "✅ Verify listings with DLD",
            "type": "boolean",
            "description": "Cross-check every recovered listing against the official Dubai Land Department verification service for the authoritative unit number, permit status, and building/zone data.",
            "default": true
          },
          "decodeReraQr": {
            "title": "🔳 Decode RERA QR codes",
            "type": "boolean",
            "description": "Some brokerage sites only show a RERA QR code image with no text reference. Enable this to decode those images and unlock DLD verification for those listings too.",
            "default": true
          },
          "dldValidationAttempts": {
            "title": "🎯 DLD verification attempts per listing",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many times to retry the DLD verification handshake for a single listing before giving up on it.",
            "default": 10
          },
          "dldDelaySeconds": {
            "title": "⏱️ Delay between DLD verifications (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "number",
            "description": "A short pause between each listing's DLD verification keeps the success rate high.",
            "default": 4
          },
          "dldAbortAfterFailures": {
            "title": "🚧 Stop DLD verification after N consecutive failures",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "If DLD refuses this many listings in a row, stop attempting DLD verification for the rest of the run — every listing still gets its full portal data regardless.",
            "default": 2
          },
          "renderWithBrowser": {
            "title": "🌐 Browser rendering mode",
            "enum": [
              "auto",
              "always",
              "never"
            ],
            "type": "string",
            "description": "'Auto' (recommended) renders a real browser only for the handful of sites that need it, plus any listing whose fast fetch found no verification reference. 'Always' renders every listing in a browser (slower, most thorough). 'Never' disables browser rendering entirely (fastest, may miss some listings).",
            "default": "auto"
          },
          "retrieveContactDetails": {
            "title": "📇 Retrieve agent & agency contact details",
            "type": "boolean",
            "description": "Include the listing agent's and agency's name, phone, email and license number in the output when the portal publishes them.",
            "default": true
          },
          "concurrency": {
            "title": "⚡ Concurrent listings",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many listings to fetch at the same time.",
            "default": 5
          },
          "maxRetries": {
            "title": "🔁 Max retries per proxy tier",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times to retry a blocked/failed request on each proxy tier before escalating to the next one.",
            "default": 3
          },
          "requestDelaySeconds": {
            "title": "🐢 Delay between requests (seconds)",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "An optional polite delay after every successful request.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy Configuration",
            "type": "object",
            "description": "Leave this on its default for automatic fallback, or pin Residential yourself to skip straight to it — recommended for the most reliable DLD verification."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}