{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain.com.au Property Scraper",
    "description": "Scrape Domain.com.au buy, rent and sold listings by suburb, postcode or search URL: price, beds, baths, parking, land size, GPS, photos, inspections, sold price and agent contacts.",
    "version": "0.1",
    "x-build-id": "ncUNocSSDmklI3Zr1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~domain-au-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-domain-au-property-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/automation-lab~domain-au-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-domain-au-property-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/automation-lab~domain-au-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-domain-au-property-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": {
          "mode": {
            "title": "Listing type",
            "enum": [
              "buy",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Which listings to search for the suburbs and postcodes below: for sale (buy), for rent, or sold. Search URLs keep the type in their own address (/sale/, /rent/, /sold-listings/), so this setting does not change them.",
            "default": "buy"
          },
          "locations": {
            "title": "Suburbs or postcodes",
            "type": "array",
            "description": "One location per line, such as \"Richmond, VIC 3121\", \"Bondi NSW 2026\", a postcode like \"3000\" or just a suburb name like \"Parramatta\" (the best Domain.com.au match is used). Each location is searched separately with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Search or listing URLs",
            "type": "array",
            "description": "Domain.com.au search pages copied from the site (any /sale/, /rent/ or /sold-listings/ URL; its bedrooms, price, property type and other filters are kept) or listing pages (https://www.domain.com.au/9-1-good-street-parramatta-nsw-2150-2021276962). The filters below are not added to these URLs.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "A Domain.com.au search or listing URL."
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these property types, for the suburbs and postcodes above. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "apartment-unit-flat",
                "townhouse",
                "villa",
                "vacant-land",
                "duplex",
                "semi-detached",
                "terrace",
                "studio",
                "block-of-units",
                "rural",
                "farm",
                "penthouse",
                "new-apartments",
                "new-land",
                "new-house-land"
              ],
              "enumTitles": [
                "House",
                "Apartment / unit / flat",
                "Townhouse",
                "Villa",
                "Vacant land",
                "Duplex",
                "Semi-detached",
                "Terrace",
                "Studio",
                "Block of units",
                "Rural",
                "Farm",
                "Penthouse",
                "New apartments / off the plan",
                "New land",
                "New house and land"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price, for the suburbs and postcodes above. Sale and sold prices are totals; rent prices are per week. Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Maximum price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price, for the suburbs and postcodes above. Sale and sold prices are totals; rent prices are per week. Leave empty for no maximum."
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "At least this many bedrooms, for the suburbs and postcodes above."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "At most this many bedrooms, for the suburbs and postcodes above."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "At least this many bathrooms, for the suburbs and postcodes above."
          },
          "minParkingSpaces": {
            "title": "Minimum parking spaces",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "At least this many car spaces, for the suburbs and postcodes above."
          },
          "minLandSize": {
            "title": "Minimum land size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest land area in square metres, for the suburbs and postcodes above."
          },
          "maxLandSize": {
            "title": "Maximum land size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest land area in square metres, for the suburbs and postcodes above."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Only listings whose text mentions these words, such as \"pool\" or \"granny flat\". For the suburbs and postcodes above.",
            "items": {
              "type": "string"
            }
          },
          "excludePriceWithheld": {
            "title": "Exclude listings without a price",
            "type": "boolean",
            "description": "Sold: leave out sales whose price was withheld. Buy and rent: leave out listings that show no price figure (\"Contact Agent\", \"Auction\", \"Expressions of Interest\"). For the suburbs and postcodes above.",
            "default": false
          },
          "excludeDepositTaken": {
            "title": "Exclude under offer or deposit taken",
            "type": "boolean",
            "description": "Buy: leave out listings already under offer. Rent: leave out rentals with a deposit taken. Has no effect on sold searches. For the suburbs and postcodes above.",
            "default": false
          },
          "soldWithin": {
            "title": "Sold within",
            "enum": [
              "any",
              "week",
              "month",
              "three-months",
              "six-months",
              "year",
              "two-years"
            ],
            "type": "string",
            "description": "In sold mode, only properties sold in this period. For the suburbs and postcodes above.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "featured",
              "price-low",
              "price-high",
              "recently-updated",
              "inspection-time",
              "auction-time"
            ],
            "type": "string",
            "description": "Order of the results for the suburbs and postcodes above. Newest first lists the latest listings (or the latest sales in sold mode) first, which suits daily monitoring.",
            "default": "newest"
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Most listings to save in this run, across all locations and URLs together. Locations and URLs are processed in order, so the first ones fill the limit first. Domain.com.au returns at most 1,000 listings for one search; split a large area into suburbs, price ranges or property types to get more.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}