{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain.com.au Scraper",
    "description": "Scrape Domain.com.au, Australia's #2 property marketplace. Get listing & project details by id or URL, search homes For Sale / Rent / Sold by suburb, coordinates or URL, search agents & agencies with their listings & reviews, and resolve locations via autocomplete.",
    "version": "1.0",
    "x-build-id": "00aczngROmwhosmWQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/one-api~domain-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-one-api-domain-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/one-api~domain-scraper/runs": {
      "post": {
        "operationId": "runs-sync-one-api-domain-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/one-api~domain-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-one-api-domain-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": {
          "property_inputs": {
            "title": "Listing id / project id or domain.com.au URL (one per line)",
            "type": "array",
            "description": "Auto-detects each entry and calls the right endpoint:\n• A numeric Domain listing or project id (e.g. `2020755515`) → /details/byid\n• A `https://www.domain.com.au/...` listing or project URL → /details/byurl\n\nEach row = one full record (price, beds/baths/cars, land area, description, photos & floorplans, agency + agents, schools, market insights). New-development projects also emit their child units as bonus rows.",
            "items": {
              "type": "string"
            }
          },
          "search_inputs": {
            "title": "Location text or domain.com.au search URL (one per line)",
            "type": "array",
            "description": "Auto-detects each entry and routes to the right /search endpoint:\n• A domain.com.au results URL (e.g. `https://www.domain.com.au/sale/bondi-beach-nsw-2026/`) → /search/byurl\n• Anything else (suburb, postcode, region, e.g. `Bondi Beach NSW`, `2026`) → /search/bylocation\n\nThe filters below apply to every location search. One row per listing.",
            "items": {
              "type": "string"
            }
          },
          "coordinate_inputs": {
            "title": "Coordinates: lat,lon or lat,lon,radiusKm (one per line)",
            "type": "array",
            "description": "Radius search around a point via /search/bycoordinates. One point per line as `latitude,longitude` or `latitude,longitude,radiusKm` (radius 0.1–50 km, default 2). Example: `-33.8915,151.2767,2` searches 2 km around Bondi Beach. The filters below also apply. One row per listing.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Deal type",
            "enum": [
              "For_Sale",
              "For_Rent",
              "Sold"
            ],
            "type": "string",
            "description": "Listing status to search for. Applies to every Search and Coordinates query.",
            "default": "For_Sale"
          },
          "propertyType": {
            "title": "Property type / category",
            "enum": [
              "",
              "House",
              "Apartment / Unit / Flat",
              "Townhouse",
              "Land",
              "Rural",
              "Retirement",
              "New Homes",
              "House & Land"
            ],
            "type": "string",
            "description": "Type of property, also covering Domain's top-nav categories. Leave as Any for all types. New Homes / House & Land / Retirement return new-development project rows.",
            "default": ""
          },
          "priceRange": {
            "title": "Price range (AUD)",
            "type": "string",
            "description": "Format: `min:500000,max:1500000` — or just `min:500000` / `max:1500000`. For rent this filters the weekly rent.",
            "default": ""
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "string",
            "description": "Number of bedrooms, e.g. `min:3` or `min:2,max:4`.",
            "default": ""
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "string",
            "description": "Number of bathrooms, e.g. `min:2`.",
            "default": ""
          },
          "carspaces": {
            "title": "Carspaces",
            "type": "string",
            "description": "Number of car spaces / parking, e.g. `min:1`.",
            "default": ""
          },
          "landArea": {
            "title": "Land area (m²)",
            "type": "string",
            "description": "Land area in square metres, e.g. `min:300,max:800`.",
            "default": ""
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Comma-separated keywords to match in listings, e.g. `pool,ocean view,renovated`.",
            "default": ""
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "Featured",
              "Newest",
              "Price_Low_to_High",
              "Price_High_to_Low",
              "Suburb",
              "Inspection"
            ],
            "type": "string",
            "description": "Result ordering for /search/bylocation and /search/bycoordinates.",
            "default": "Featured"
          },
          "pages": {
            "title": "Pages per search",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many result pages to fetch for each location / coordinate / URL search (~20 listings per page).",
            "default": 1
          },
          "resultCount": {
            "title": "Results per page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Listings per page for every search (1–100).",
            "default": 20
          },
          "agent_search_inputs": {
            "title": "Location to find agents / agencies in (one per line)",
            "type": "array",
            "description": "Find agents or agencies active in a suburb via /agent/search. One free-text location per line (e.g. `Double Bay NSW`, `Bondi Beach`). The 'Search for' toggle below picks agents or agencies; 'Agent name filter' narrows agents by name. One row per agent/agency.",
            "items": {
              "type": "string"
            }
          },
          "agentType": {
            "title": "Search for",
            "enum": [
              "agent",
              "agency"
            ],
            "type": "string",
            "description": "Whether the location search above returns individual agents or whole agencies. Also used as the type hint for bare numeric ids in the profiles list below.",
            "default": "agent"
          },
          "agentName": {
            "title": "Agent name filter (optional)",
            "type": "string",
            "description": "Optional keyword to filter agents by name within the location search (agents only).",
            "default": ""
          },
          "agent_inputs": {
            "title": "Agent / agency id or profile URL (one per line)",
            "type": "array",
            "description": "Full profile for a specific agent or agency via /agent/details + /agent/listings + /agent/reviews. Accepts a numeric id (e.g. `1843243`) or a domain.com.au real-estate-agent / real-estate-agencies URL (type auto-detected from the URL). Each entry emits a profile row, its current & sold listings, and its reviews. Bare ids use the 'Search for' toggle above as the agent/agency hint.",
            "items": {
              "type": "string"
            }
          },
          "autocomplete_inputs": {
            "title": "Location text to resolve (one per line)",
            "type": "array",
            "description": "Resolve a suburb / postcode / region / area name to Domain's location data (slug, state, postcode) used by Search, via /autocomplete. Each suggestion = one row.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}