{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain.com.au Scraper: Buy, Rent & Sold Listings",
    "description": "Extract domain.com.au buy, rent & sold listings by suburb, state, postcode or URL from $0.96-$1.20/1K rows ($0 detail fee by default). Get 68 fixed columns: prices, auction clearance rates, suburb medians, school catchments, days on market & agent phones.",
    "version": "0.1",
    "x-build-id": "9kt7F7nBZca7aD3f1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kotaro001~domain-com-au-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kotaro001-domain-com-au-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/kotaro001~domain-com-au-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kotaro001-domain-com-au-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/kotaro001~domain-com-au-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kotaro001-domain-com-au-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": {
          "channel": {
            "title": "Channel",
            "enum": [
              "buy",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Property market transaction channel: buy (for sale), rent (rental listings), or sold (historical recorded sale results with sold prices and sale methods).",
            "default": "buy"
          },
          "suburb": {
            "title": "Suburb",
            "type": "string",
            "description": "Target Australian suburb or locality name (e.g. Sydney, South Yarra, Brisbane). Combine with State and Postcode for precise property extraction.",
            "default": "Sydney"
          },
          "state": {
            "title": "State",
            "enum": [
              "nsw",
              "vic",
              "qld",
              "wa",
              "sa",
              "tas",
              "act",
              "nt",
              "NSW",
              "VIC",
              "QLD",
              "WA",
              "SA",
              "TAS",
              "ACT",
              "NT"
            ],
            "type": "string",
            "description": "Australian state or territory jurisdiction code (NSW, VIC, QLD, WA, SA, TAS, ACT, NT).",
            "default": "NSW"
          },
          "postcode": {
            "title": "Postcode",
            "type": "string",
            "description": "Official 4-digit Australian postal code (e.g. 2000, 3000, 4000). Domain requires suburb, state, and postcode together.",
            "default": "2000"
          },
          "suburbs": {
            "title": "Suburbs (multi-area)",
            "type": "array",
            "description": "Optional list of multi-location strings (e.g., 'Richmond, VIC', 'Parramatta, NSW 2150'). Each entry becomes an independent search, and all rows land in one dataset. Search limits are evenly divided across areas.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Select one or more property categories: House, Apartment / Unit / Flat, Townhouse, Villa, Land, Acreage, Rural, or New Apartments / Off the Plan. Leave blank for all types.",
            "items": {
              "type": "string",
              "enum": [
                "House",
                "Apartment / Unit / Flat",
                "Townhouse",
                "Villa",
                "Land",
                "Acreage",
                "Rural",
                "New Apartments / Off the Plan"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (AUD)",
            "type": "integer",
            "description": "Minimum listing price threshold in AUD. Matches asking price for sales or weekly rent for rentals. Listings without published numeric prices are excluded when price bounds are active."
          },
          "maxPrice": {
            "title": "Maximum price (AUD)",
            "type": "integer",
            "description": "Maximum listing price threshold in AUD. Filters out listings exceeding this price."
          },
          "minBeds": {
            "title": "Minimum bedrooms",
            "type": "integer",
            "description": "Minimum bedroom count (1 to 10). Filters out properties with fewer bedrooms."
          },
          "minDaysOnMarket": {
            "title": "Minimum days on market",
            "type": "integer",
            "description": "Filter for listings active for at least this many days. If 0 results are returned, try resetting to 0 to include freshly listed properties.",
            "default": 0
          },
          "maxItems": {
            "title": "Max rows",
            "type": "integer",
            "description": "Maximum listing records to output to your dataset.",
            "default": 20
          },
          "includeDetails": {
            "title": "Open detail pages",
            "type": "boolean",
            "description": "Open full listing pages to extract school catchments, suburb medians, auction clearance rates, owner-occupier percentages, photos, and direct agent mobile phones.",
            "default": false
          },
          "maxDetails": {
            "title": "Max detail pages",
            "type": "integer",
            "description": "Budget cap on deep listing page visits per run. Only active when 'Open detail pages' is checked. Zero additional charges if left disabled.",
            "default": 50
          },
          "onlyEmitChanges": {
            "title": "Only changed rows",
            "type": "boolean",
            "description": "Change detection mode: emits only newly listed, price-reduced, price-increased, or removed properties. Perfect for daily alerts & scheduled monitoring.",
            "default": false
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "string",
            "description": "Direct search catalog URLs from the portal. When provided, startUrls overrides the suburb/state search form above."
          },
          "stateKey": {
            "title": "Session ID / Change tracking slot",
            "type": "string",
            "description": "Optional session slot name for persistent price tracking & change detection. NOT an Apify API key or private password."
          },
          "max_sources": {
            "title": "Max sources",
            "type": "integer",
            "description": "Limit the run to the first N search locations or URLs (0 = process all).",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}