{
  "openapi": "3.0.1",
  "info": {
    "title": "Property24 Africa Scraper - Kenya, Zambia, Namibia & more",
    "description": "Property listings from the Property24 sites in Kenya, Namibia, Botswana, Zambia, Zimbabwe, Mozambique and Nigeria as clean JSON: price as a number with its currency, rent term, bedrooms, bathrooms, floor and plot size in m², suburb, agency. Monitoring returns only new listings. Unofficial.",
    "version": "0.1",
    "x-build-id": "2puEqrhXsZpO5Fmi9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~property24-africa-listings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-property24-africa-listings",
        "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/neverempty~property24-africa-listings/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-property24-africa-listings",
        "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/neverempty~property24-africa-listings/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-property24-africa-listings",
        "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": {
          "country": {
            "title": "Country",
            "enum": [
              "kenya",
              "nigeria",
              "namibia",
              "botswana",
              "zambia",
              "zimbabwe",
              "mozambique"
            ],
            "type": "string",
            "description": "Which Property24 site to read: property24.co.ke (Kenya), .co.na (Namibia), .co.bw (Botswana), .co.zm (Zambia), .co.zw (Zimbabwe), .co.mz (Mozambique) or property24.com.ng (Nigeria). Ignored when a search URL is pasted.",
            "default": "kenya"
          },
          "channel": {
            "title": "For sale or to rent",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "sale = for-sale pages, rent = to-rent pages. A rental's unit (monthly, per m², daily, yearly) is read from the tile and returned as rentalTerm.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "any",
              "houses",
              "apartments",
              "townhouses",
              "land",
              "farms",
              "commercial",
              "industrial",
              "repossessed"
            ],
            "type": "string",
            "description": "The Property24 category page to read. Repossessed property is listed for sale only.",
            "default": "any"
          },
          "location": {
            "title": "City, county, state or area",
            "type": "string",
            "description": "Leave empty for the whole country. Or a place listed on that country's Property24 home page - Kenya: nairobi, thika, kisumu, eldoret, malindi, kikuyu ...; Nigeria: oyo, rivers, lagos, kaduna, abuja, ogun ...; Namibia: rundu, walvis-bay, swakopmund, windhoek, oshakati, rehoboth ...; Botswana: francistown, serowe, molepolole, gaborone, selebi-phikwe, maun ...; Zambia: chingola, kitwe, ndola, kabwe, lusaka, livingstone ...; Zimbabwe: harare, chitungwiza, mutare, bulawayo, kwekwe, gweru ...; Mozambique: ponta-do-ouro, vilanculos, inhambane, xai-xai, bilene, maputo ... For a suburb, copy the place part with its id from any Property24 address, e.g. westlands-s14529. An unknown name stops the run before any request, with the list of valid names (not charged)."
          },
          "searchUrl": {
            "title": "Property24 search URL (optional)",
            "type": "string",
            "description": "Paste a Property24 Africa results page instead, e.g. https://www.property24.co.ke/houses-to-rent-in-nairobi-c1890 or https://www.property24.com.ng/property-for-sale-in-lagos-p37. Country, sale/rent, type and place are taken from it; page and sort parameters are dropped because every filter runs on the rows already fetched. When set, country, channel, propertyType and location are ignored."
          },
          "maxListings": {
            "title": "Maximum listings to return",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many listings to return. You are charged only for the listing rows you receive. Property24 shows 20 listings per page.",
            "default": 20
          },
          "maxPages": {
            "title": "Maximum pages to read",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on the number of result pages requested. 0 = decide from maxListings (20 listings per page; up to 60 pages in monitoring mode).",
            "default": 0
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep only listings whose heading, type, description, suburb, address, agency or price text contains these words.",
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "any = at least one keyword must appear; all = every keyword must appear.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop listings containing any of these words.",
            "items": {
              "type": "string"
            }
          },
          "agencyNames": {
            "title": "Agency names",
            "type": "array",
            "description": "Keep only listings from these agencies (partial match on the agency name).",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (local currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Sale price, or monthly rent, in the country's currency as shown on the site (KES, NGN, NAD, BWP, ZMW, USD in Zimbabwe, MZN). 0 = off. POA listings and per-m², daily or yearly rents are kept (they cannot be compared).",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum price (local currency)",
            "minimum": 0,
            "type": "integer",
            "description": "Sale price, or monthly rent. 0 = off. POA listings and per-m², daily or yearly rents are kept.",
            "default": 0
          },
          "requirePrice": {
            "title": "Only listings with a published price",
            "type": "boolean",
            "description": "Drop listings whose price is POA (price on application).",
            "default": false
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": -1,
            "type": "integer",
            "description": "-1 = off. A listing with no bedroom count (land, commercial) is kept.",
            "default": -1
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "minimum": -1,
            "type": "integer",
            "description": "-1 = off.",
            "default": -1
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "type": "number",
            "description": "0 = off. Property24 counts half bathrooms (2.5).",
            "default": 0
          },
          "minParkingSpaces": {
            "title": "Minimum parking spaces",
            "minimum": 0,
            "type": "integer",
            "description": "0 = off.",
            "default": 0
          },
          "minFloorSizeSqm": {
            "title": "Minimum floor size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = off. A listing with no published floor size is kept.",
            "default": 0
          },
          "maxFloorSizeSqm": {
            "title": "Maximum floor size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = off.",
            "default": 0
          },
          "minErfSizeSqm": {
            "title": "Minimum plot (erf) size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = off. Plots given in acres or hectares are converted to m² first. A listing with no published plot size is kept.",
            "default": 0
          },
          "maxErfSizeSqm": {
            "title": "Maximum plot (erf) size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = off.",
            "default": 0
          },
          "suburbs": {
            "title": "Suburbs",
            "type": "array",
            "description": "Keep only listings in these suburbs (partial match on the suburb shown on the tile, e.g. Kilimani, Lekki, Klein Windhoek).",
            "items": {
              "type": "string"
            }
          },
          "onlyReduced": {
            "title": "Only price-reduced listings",
            "type": "boolean",
            "description": "Keep only listings carrying Property24's Reduced banner.",
            "default": false
          },
          "onlyOnShow": {
            "title": "Only listings on show",
            "type": "boolean",
            "description": "Keep only listings with an On Show banner (the date is returned as onShowDate).",
            "default": false
          },
          "onlyAvailableNow": {
            "title": "Only rentals available now",
            "type": "boolean",
            "description": "Keep only listings with Property24's AVAILABLE NOW badge.",
            "default": false
          },
          "excludeRetirement": {
            "title": "Exclude retirement properties",
            "type": "boolean",
            "description": "Drop listings carrying the RETIREMENT badge.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new listings)",
            "type": "boolean",
            "description": "Turn this on and schedule the Actor: each run reads the search newest first and returns only listings it has not returned before for the same search. The first run returns the newest listings and remembers them. Once caught up, a run stops at the first page of listings it has already seen. A run with nothing new returns one uncharged row saying so.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Reset monitoring memory",
            "type": "boolean",
            "description": "One-shot: forget every listing returned so far for this search. The next monitoring run starts again from the newest listings.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}