{
  "openapi": "3.0.1",
  "info": {
    "title": "Realestate.com.au Scraper: Price Drops & Agent Leads",
    "description": "Extract Australian residential properties from realestate.com.au using native filters (state, suburb, postcode, price, beds, baths, land size, keywords) without pasting URLs. Track price history, days on market, new/removed listings & agent phone numbers.",
    "version": "0.1",
    "x-build-id": "W2zDmYA67bFMGYtCZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kotaro001~realestate-com-au-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kotaro001-realestate-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~realestate-com-au-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kotaro001-realestate-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~realestate-com-au-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kotaro001-realestate-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": {
          "suburb": {
            "title": "Suburb",
            "type": "string",
            "description": "Suburb name, for example Bondi Beach.",
            "default": "Bondi Beach"
          },
          "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 of the suburb.",
            "default": "NSW"
          },
          "postcode": {
            "title": "Postcode",
            "type": "string",
            "description": "Four-digit postcode, for example 2026.",
            "default": "2026"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Property type filter. Leave empty for every type.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "unit",
                "townhouse",
                "villa",
                "land",
                "acreage"
              ],
              "enumTitles": [
                "House",
                "Unit / apartment",
                "Townhouse",
                "Villa",
                "Land",
                "Acreage"
              ]
            }
          },
          "bedrooms": {
            "title": "Bedrooms (exact)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Exact bedroom count filter. Empty means any."
          },
          "maxPages": {
            "title": "Max list pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "25 listings per page. One page is the cheap default.",
            "default": 1
          },
          "maxDetails": {
            "title": "Max listing pages",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap per run, so one wide search cannot run up the bill.",
            "default": 10
          },
          "runMode": {
            "title": "Legacy: changes switch",
            "enum": [
              "daily_active",
              "changes_only",
              "full_history"
            ],
            "type": "string",
            "description": "Legacy switch for changes mode. Use onlyEmitChanges.",
            "default": "daily_active"
          },
          "sources": {
            "title": "Legacy: raw sources",
            "type": "array",
            "description": "Legacy raw-source input. Use channel, suburb, state and postcode.",
            "items": {
              "type": "object"
            }
          },
          "max_sources": {
            "title": "Legacy: source cap",
            "type": "integer",
            "description": "Legacy cap used with sources. Ignored for normal suburb runs.",
            "default": 0
          },
          "maxItems": {
            "title": "Max rows to return",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap on pushed rows. The default keeps the daily store check quick and cheap.",
            "default": 25
          },
          "channel": {
            "title": "Channel",
            "enum": [
              "buy",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Native site channel: buy, rent or sold.",
            "default": "buy"
          },
          "includeDetails": {
            "title": "Open detail pages",
            "type": "boolean",
            "description": "Open each listing page for agent phone, description, features and inspections. Billed per detail row, including rows served from the cache.",
            "default": false
          },
          "dealType": {
            "title": "Legacy: channel alias",
            "enum": [
              "buy",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Legacy alias for channel. Kept for old tasks; channel wins when both are set."
          },
          "startUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Optional list-page URLs. Use a search/list URL, never a single listing address.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price",
            "type": "integer",
            "description": "Applied after the page is fetched; both portals ignore price in the URL."
          },
          "maxPrice": {
            "title": "Max price",
            "type": "integer",
            "description": "Applied after the page is fetched."
          },
          "includeRemovedListings": {
            "title": "Include removed listings",
            "type": "boolean",
            "description": "Emit a REMOVED row when a listing disappears from the search.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Named state slot: STATE_<stateKey> in the key-value store.",
            "default": "default"
          },
          "onlyEmitChanges": {
            "title": "Only emit changes",
            "type": "boolean",
            "description": "Changes mode only emits new, changed or removed rows. Daily mode bills every row it emits.",
            "default": false
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "maxBedrooms": {
            "title": "Max bedrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "minCarSpaces": {
            "title": "Min car spaces",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "minLandSize": {
            "title": "Min land size (sqm)",
            "minimum": 0,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "maxLandSize": {
            "title": "Max land size (sqm)",
            "minimum": 0,
            "type": "integer",
            "description": "Applied after the list page is fetched."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Case-insensitive words that must appear in the title or description."
          },
          "minDaysOnMarket": {
            "title": "Minimum days on market",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings that have been advertised for at least this many days. 0 = no filter. Rows without a known days-on-market value are dropped when this is above 0.",
            "default": 0
          },
          "suburbs": {
            "title": "Suburbs (multi-area)",
            "type": "array",
            "description": "Optional. One or more areas such as 'Downer, ACT, 2602'. Each entry becomes its own search, and all rows land in one dataset. You can also separate entries with a semicolon in the suburb field.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}