{
  "openapi": "3.0.1",
  "info": {
    "title": "Property24 South Africa Scraper",
    "description": "Extract public Property24.com South Africa property listings (for-sale & to-rent): ZAR prices, beds, baths, m² floor/erf size, suburb, agency, photos, and optional detail descriptions & public agent identity. $1.00 per 1,000 listings, no start fee.",
    "version": "0.1",
    "x-build-id": "6jybrXwa1OOayf5pH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stone_jadex~property24-za-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stone_jadex-property24-za-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/stone_jadex~property24-za-scraper/runs": {
      "post": {
        "operationId": "runs-sync-stone_jadex-property24-za-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/stone_jadex~property24-za-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-stone_jadex-property24-za-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": "Property24 start URLs",
            "type": "array",
            "description": "HTTPS www.property24.com|property24.com public /for-sale/... or /to-rent/... list URLs (optional /pN page suffix) or 9-digit detail URLs. ShowContact*/PointsOfInterest/GroupedListings/Services/Handlers/Login/Signup/MyProperty24/advanced-search paths, off-site hosts, credentials, non-443 ports and signed auth query tokens are rejected. Cannot be combined with path/filters.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "path": {
            "title": "List path",
            "type": "string",
            "description": "Public list path used when startUrls is empty. Default /for-sale/langebaan/western-cape/427. Conflicts with startUrls. Also accepted under filters.path."
          },
          "filters": {
            "title": "List filters",
            "type": "object",
            "description": "Verified list filters only: path, page, listingType. Any other nonempty key is rejected (no invented advanced-search / PropertyCategory encodings). Cannot be combined with startUrls.",
            "properties": {
              "path": {
                "title": "List path",
                "type": "string",
                "description": "Alias of top-level path. Public /for-sale/... or /to-rent/... path without host.",
                "prefill": "/for-sale/langebaan/western-cape/427",
                "editor": "textfield"
              },
              "page": {
                "title": "Start page",
                "type": "integer",
                "description": "1-based list page. Pagination uses path /pN (not ?Page=). Clamped to 1–100000.",
                "prefill": 1,
                "default": 1,
                "minimum": 1,
                "maximum": 100000
              },
              "listingType": {
                "title": "Listing type hint",
                "type": "string",
                "description": "Optional listing-type hint retained on the input summary. Not used to rewrite URLs during list generation. Prefer encoding Sale/Rent in the path (/for-sale vs /to-rent).",
                "prefill": "Sale",
                "editor": "textfield"
              }
            }
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global successfully pushed-row limit; clamped to 1–10000. Duplicate listingNumber values are skipped before enrich/charge and do not count toward the limit when deduplicate=true.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Fetch listing detail pages (JSON-LD + leadContext + DOM description/overview/gallery). Default false = list-only. Direct detail startUrls force a detail request even when false. List-only rows charge property24-listing-result; successfully detail-merged rows (detailStatus=ok) charge property24-detail-result only (not both). Failed detail enrichments are not charged. List-only runs set fieldUnavailableReason.description/photos/contacts/details.",
            "default": false
          },
          "deduplicate": {
            "title": "Deduplicate by listingNumber",
            "type": "boolean",
            "description": "Skip listingNumber values already pushed in this run. groupedListingNumbers stays metadata only and is never exploded into extra charged rows. Default true.",
            "default": true
          },
          "requestDelayMs": {
            "title": "Request delay (ms)",
            "minimum": 1200,
            "maximum": 60000,
            "type": "integer",
            "description": "Minimum interval between consecutive completed requests (serial). Clamped to 1200–60000. robots.txt crawl-delay may raise the floor.",
            "default": 1200
          },
          "maxRunSeconds": {
            "title": "Maximum run seconds",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Soft wall-clock budget for the run. Soft deadline is also capped 20s before the platform timeout when ACTOR_TIMEOUT_AT / APIFY_TIMEOUT_AT is set. Hitting the budget stops SUCCEEDED (run-time-limit).",
            "default": 3600
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Default off — omit this field, or pass {\"useApifyProxy\":false}. There is no schema default (platform would inject one); Console prefill is UI-only and stays useApifyProxy:false. Set useApifyProxy:true and/or proxyUrls to route through buyer-supplied Apify Proxy / custom proxies. Default / datacenter Apify Proxy often receives HTTP 503 from property24.com (box/residential egress often still 200). When using Apify Proxy, explicitly select the RESIDENTIAL group in the proxy editor (apifyProxyGroups: [\"RESIDENTIAL\"] / groups: [\"RESIDENTIAL\"]); the Actor passes the selected group through as-is and never auto-injects or upgrades to RESIDENTIAL after 403/429/503. Sticky session only (property24_sticky, /^[\\w._~]+$/), no rotation to bypass blocks."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}