{
  "openapi": "3.0.1",
  "info": {
    "title": "realcommercial.com.au Scraper 🏢 Sold, Leased & Agent Phones",
    "description": "🏢 Scrape realcommercial.com.au commercial property for sale, for lease, sold and leased — by search link or suburb, postcode or state. Price, address, floor & land area, zoning, photos, brochure PDFs, agent & agency phones. Newest first.",
    "version": "0.0",
    "x-build-id": "MOaoBbvs5HQAYqqcT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dz_omar~realcommercial-com-au-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dz_omar-realcommercial-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/dz_omar~realcommercial-com-au-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dz_omar-realcommercial-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/dz_omar~realcommercial-com-au-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dz_omar-realcommercial-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": {
          "startUrls": {
            "title": "🔗 Search or listing links",
            "type": "array",
            "description": "One link per line, e.g. https://www.realcommercial.com.au/for-sale/sydney-nsw-2000/offices/. Location and property type are read from the link; the filters in Option C apply to links too. Results come newest listing first.",
            "items": {
              "type": "string",
              "pattern": "^https?://(www\\.)?realcommercial\\.com\\.au/.+"
            }
          },
          "channel": {
            "title": "Listing type (Option B only)",
            "enum": [
              "for-sale",
              "for-lease",
              "sold",
              "leased"
            ],
            "type": "string",
            "description": "Which listings to collect for the locations below.",
            "default": "for-sale"
          },
          "locations": {
            "title": "📍 Locations (Option B only)",
            "type": "array",
            "description": "One per line: a suburb with state and/or postcode (\"Sydney, NSW 2000\", \"Parramatta NSW\"), a postcode (\"3000\") or a whole state (\"VIC\"). A suburb name alone matches every suburb with that name.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep listings of any of these types.",
            "items": {
              "type": "string",
              "enum": [
                "offices",
                "retail",
                "industrial-warehouse",
                "showrooms-bulky-goods",
                "land-development",
                "hotel-leisure",
                "medical-consulting",
                "commercial-farming",
                "other"
              ],
              "enumTitles": [
                "Offices",
                "Retail",
                "Industrial / Warehouse",
                "Showrooms / Bulky Goods",
                "Land / Development",
                "Hotel / Leisure",
                "Medical / Consulting",
                "Commercial Farming",
                "Other"
              ]
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Keep listings whose title, description or highlights contain ALL these words, e.g. \"freehold warehouse\"."
          },
          "tenure": {
            "title": "Tenure",
            "enum": [
              "any",
              "vacant",
              "tenanted"
            ],
            "type": "string",
            "description": "Vacant possession or tenanted investment (for-sale and sold listings carry this).",
            "default": "any"
          },
          "minPrice": {
            "title": "Min price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Uses the first dollar amount in the advertised price. Listings with a hidden price (\"Contact agent\") are left out when a price limit is set."
          },
          "maxPrice": {
            "title": "Max price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Same rule as Min price."
          },
          "minFloorArea": {
            "title": "Min floor area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings without a floor area are left out when set."
          },
          "maxFloorArea": {
            "title": "Max floor area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings without a floor area are left out when set."
          },
          "minLandArea": {
            "title": "Min land area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings without a land area are left out when set."
          },
          "maxLandArea": {
            "title": "Max land area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings without a land area are left out when set."
          },
          "minCarSpaces": {
            "title": "Min car spaces",
            "minimum": 0,
            "type": "integer",
            "description": "Listings without car spaces are left out when set."
          },
          "maxResultsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each link / location search after this many listings (newest first). 0 = no limit.",
            "default": 100
          },
          "maxResults": {
            "title": "Max listings in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many listings. 0 = no limit.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}