{
  "openapi": "3.0.1",
  "info": {
    "title": "Property24 Listings and Bank Repossessions Scraper",
    "description": "Search Property24 for-sale, to-rent and bank-repossession listings across South Africa's provinces and property types, or fetch full detail by listing URL: price, rooms, agent contact and address.",
    "version": "1.0",
    "x-build-id": "ig2FQJwQh7Koc3cBc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~property24-listings-and-bank-repossessions-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-property24-listings-and-bank-repossessions-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/nimbryxo-studio~property24-listings-and-bank-repossessions-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-property24-listings-and-bank-repossessions-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/nimbryxo-studio~property24-listings-and-bank-repossessions-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-property24-listings-and-bank-repossessions-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "search",
              "searchUrls",
              "byUrls",
              "soldPrices"
            ],
            "type": "string",
            "description": "Choose how to start: search with the filters below, paste Property24 search URLs, look up specific listing URLs, or read public area sold-price trends.",
            "default": "search"
          },
          "country": {
            "title": "Country edition",
            "enum": [
              "za",
              "na",
              "bw",
              "zm",
              "zw",
              "mz",
              "ke"
            ],
            "type": "string",
            "description": "Which Property24 edition to search. South Africa has the largest inventory; the other editions use their own currencies and city indexes.",
            "default": "za"
          },
          "location": {
            "title": "Area name (optional)",
            "type": "string",
            "description": "A city, suburb or area name, for example `Sandton`, `Sea Point, Cape Town` or `Windhoek`. Leave empty to search the selected province (South Africa) or the whole country edition. Ignored when mode is `searchUrls`."
          },
          "transactionType": {
            "title": "For sale or to rent",
            "enum": [
              "forSale",
              "toRent"
            ],
            "type": "string",
            "description": "Buy or rent listings (mode=search).",
            "default": "forSale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "any",
              "house",
              "apartment",
              "townhouse",
              "vacantLand",
              "farm",
              "commercial",
              "industrial"
            ],
            "type": "string",
            "description": "Filter by property category (mode=search).",
            "default": "any"
          },
          "province": {
            "title": "South African province",
            "enum": [
              "gauteng",
              "westernCape",
              "kwazuluNatal",
              "easternCape",
              "freeState",
              "limpopo",
              "mpumalanga",
              "northWest",
              "northernCape"
            ],
            "type": "string",
            "description": "Province to search when country is South Africa and no area name is given (mode=search).",
            "default": "gauteng"
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 2000000000,
            "type": "integer",
            "description": "Lowest price in the edition's own currency (ZAR for South Africa). Leave empty for no minimum."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 2000000000,
            "type": "integer",
            "description": "Highest price in the edition's own currency. Leave empty for no maximum."
          },
          "bedroomsMin": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Only include listings with at least this many bedrooms. Studios count as 0."
          },
          "bathroomsMin": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Only include listings with at least this many bathrooms. Half bathrooms count as decimals at the source and are compared correctly."
          },
          "parkingMin": {
            "title": "Minimum parking spaces",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Only include listings with at least this many parking spaces or garages."
          },
          "floorSizeMin": {
            "title": "Minimum floor size (m²)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include listings whose building floor size is at least this many square metres. Listings without a published floor size are kept."
          },
          "floorSizeMax": {
            "title": "Maximum floor size (m²)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include listings whose building floor size is at most this many square metres."
          },
          "erfSizeMin": {
            "title": "Minimum erf / land size (m²)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only include listings whose erf (land) size is at least this many square metres. Houses, farms and plots often publish erf size instead of floor size."
          },
          "erfSizeMax": {
            "title": "Maximum erf / land size (m²)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only include listings whose erf (land) size is at most this many square metres."
          },
          "bankRepossessionsOnly": {
            "title": "Bank repossessions only",
            "type": "boolean",
            "description": "Search Property24's bank-repossession facet (mode=search). Matches are tagged `isBankRepossession: true`.",
            "default": false
          },
          "auctionsOnly": {
            "title": "Auctions only",
            "type": "boolean",
            "description": "Only include listings carrying Property24's auction badge (mode=search).",
            "default": false
          },
          "onShowOnly": {
            "title": "On-show listings only",
            "type": "boolean",
            "description": "Only include listings with a scheduled show day (mode=search). The show date is returned as `onShowDate` when published.",
            "default": false
          },
          "retirementOnly": {
            "title": "Retirement properties only",
            "type": "boolean",
            "description": "Only include retirement properties (mode=search).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "newest",
              "priceLowToHigh",
              "priceHighToLow",
              "mostBedrooms",
              "propertyType",
              "size"
            ],
            "type": "string",
            "description": "Order of emitted results (mode=search).",
            "default": "default"
          },
          "searchUrls": {
            "title": "Search result URLs (mode=searchUrls)",
            "type": "array",
            "description": "Property24 search pages to scrape, for example `https://www.property24.com/for-sale/cape-town/western-cape/432`. Filters and sort already in each URL are kept. Any edition can be mixed.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "listingUrls": {
            "title": "Listing URLs (mode=byUrls)",
            "type": "array",
            "description": "Specific Property24 listing pages to fetch, for example `https://www.property24.com/for-sale/blyde-riverwalk-estate/pretoria/gauteng/33014/116170024`.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeFullDetails": {
            "title": "Fetch full listing details",
            "type": "boolean",
            "description": "Open each result's detail page for the full description, levies, rates and taxes, erf/floor size, price per m², features, agents and photo gallery. Adds one request per listing and makes runs slower. Always on for mode=byUrls.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on emitted records. Use 20 for a test run, or up to 10,000 for a full area sweep. Deep searches may hit Property24's own inventory ceiling.",
            "default": 20
          },
          "maxPages": {
            "title": "Maximum result pages",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on search pages per search URL. 0 lets the actor decide from Maximum results and the site's own next-page link.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}