{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain.com.au Property Listings & Agent Data Extractor",
    "description": "Collect Domain.com.au sale, rent and sold property listings by search URL or direct listing URL, with address, price, beds/baths, photos, inspection times, agents and agency details per record.",
    "version": "1.2",
    "x-build-id": "ukAy2O4t3QuBxRWpA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~domain-com-au-property-listings-and-agent-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-domain-com-au-property-listings-and-agent-data",
        "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/dataspryva~domain-com-au-property-listings-and-agent-data/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-domain-com-au-property-listings-and-agent-data",
        "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/dataspryva~domain-com-au-property-listings-and-agent-data/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-domain-com-au-property-listings-and-agent-data",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "urls",
              "agents",
              "agencies"
            ],
            "type": "string",
            "description": "What to collect. 'search' builds a Domain search from locations + filters. 'urls' accepts any Domain search, listing, agent or agency URL. 'agents' and 'agencies' take profile URLs.",
            "default": "search"
          },
          "locations": {
            "title": "Locations (mode=search)",
            "type": "array",
            "description": "Suburbs, postcodes, regions or Domain location slugs. Examples: 'Bondi Beach NSW 2026', 'bondi-beach-nsw-2026', 'sydney-region-nsw', '2000'.",
            "default": [
              "sydney-region-nsw"
            ],
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing type (mode=search)",
            "enum": [
              "sale",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Sale, rent or recently sold listings.",
            "default": "sale"
          },
          "propertyTypes": {
            "title": "Property types",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional property-type filter. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "townhouse",
                "apartment-unit-flat",
                "villa",
                "duplex",
                "terrace",
                "studio",
                "land",
                "acreage",
                "rural",
                "retirement",
                "block-of-units",
                "new-apartments",
                "new-house-and-land",
                "new-townhouse"
              ],
              "enumTitles": [
                "House",
                "Townhouse",
                "Apartment / unit / flat",
                "Villa",
                "Duplex",
                "Terrace",
                "Studio",
                "Land",
                "Acreage",
                "Rural",
                "Retirement",
                "Block of units",
                "New apartments",
                "New house and land",
                "New townhouse"
              ]
            },
            "default": []
          },
          "bedrooms": {
            "title": "Minimum bedrooms",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Optional minimum bedroom count.",
            "default": "any"
          },
          "bathrooms": {
            "title": "Minimum bathrooms",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Optional minimum bathroom count.",
            "default": "any"
          },
          "carspaces": {
            "title": "Minimum car spaces",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Optional minimum car-space count.",
            "default": "any"
          },
          "minPrice": {
            "title": "Minimum price (AUD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Optional minimum price in whole Australian dollars. For rentals this is the weekly rent."
          },
          "maxPrice": {
            "title": "Maximum price (AUD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Optional maximum price in whole Australian dollars. For rentals this is the weekly rent."
          },
          "excludeUnderOffer": {
            "title": "Exclude under-offer listings",
            "type": "boolean",
            "description": "Hide listings marked under offer or under contract.",
            "default": false
          },
          "includeSurroundingSuburbs": {
            "title": "Include surrounding suburbs",
            "type": "boolean",
            "description": "When searching a suburb, include nearby suburbs as Domain does by default. Turn off to keep results inside the exact location.",
            "default": true
          },
          "sort": {
            "title": "Sort order (mode=search)",
            "enum": [
              "default",
              "price-asc",
              "price-desc"
            ],
            "type": "string",
            "description": "Result ordering. 'default' keeps Domain's featured order.",
            "default": "default"
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Optional free-text keywords matched inside listing descriptions (for example 'pool' or 'waterfront')."
          },
          "includeProjectListings": {
            "title": "Include off-the-plan units",
            "type": "boolean",
            "description": "Include individual off-the-plan / new-development units that Domain shows in project cards. Off by default so results contain standard listings.",
            "default": false
          },
          "scrapeDetails": {
            "title": "Fetch listing detail pages",
            "type": "boolean",
            "description": "Open each search result's detail page for agent phone/email, description, floor plans, schools, inspection and auction details. Adds one request per listing.",
            "default": false
          },
          "searchUrls": {
            "title": "Domain URLs (legacy / mode=urls)",
            "type": "array",
            "description": "Domain.com.au search URLs, listing URLs, agent profile URLs or agency profile URLs. Search URLs support all of Domain's own filter query parameters.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "agentUrls": {
            "title": "Agent profile URLs (mode=agents)",
            "type": "array",
            "description": "Domain agent profile URLs, for example https://www.domain.com.au/real-estate-agent/david-hua-1895120",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "agencyUrls": {
            "title": "Agency profile URLs (mode=agencies)",
            "type": "array",
            "description": "Domain agency profile URLs, for example https://www.domain.com.au/real-estate-agencies/raywhiteoakleigh-12122/",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of records to collect per run.",
            "default": 20
          },
          "maxPages": {
            "title": "Max result pages per search URL",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum search-result pages to visit per URL. Domain caps region searches at 50 pages (about 1,000 listings), so split by suburb for deeper coverage.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy override. Leave off: the actor automatically uses the right Apify proxy for Domain's anti-bot layer.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}