{
  "openapi": "3.0.1",
  "info": {
    "title": "Zoopla Scraper",
    "description": "Scrape Zoopla.co.uk property for sale, to rent and new homes from any search, map, agent or ad URL, or by place: price and price drops, bedrooms, sq ft, address and map pin, photos, estate agent, EPC and material information.",
    "version": "0.1",
    "x-build-id": "BCehc5MIh2KIHfZTi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ribtools~zoopla-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ribtools-zoopla-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/ribtools~zoopla-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ribtools-zoopla-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/ribtools~zoopla-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ribtools-zoopla-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": {
          "county": {
            "title": "County area",
            "type": "string",
            "description": "The county area as Zoopla names it: `London`, `Surrey`, `Greater Manchester`, `Bristol`. Alone it searches the whole area; with a town or area below it only tells apart places that share a name (Richmond is in Surrey and in North Yorkshire)."
          },
          "city": {
            "title": "Town or area",
            "type": "string",
            "description": "A town, city, village, London borough or area as Zoopla's search box names it: `Nine Elms`, `Camden`, `Richmond`, `Didsbury`. Looked up in Zoopla's own place list: a name that matches several places is refused with the candidates (add the county area), never guessed."
          },
          "postcode": {
            "title": "Postcode",
            "type": "string",
            "description": "A UK postcode district (`SW11`) or full postcode (`SW11 8NU`), searched as Zoopla's own postcode page. Use it instead of the place fields above, not with them."
          },
          "startUrls": {
            "title": "Zoopla URLs",
            "type": "array",
            "description": "Pages copied from zoopla.co.uk: a search (`https://www.zoopla.co.uk/to-rent/property/london/nine-elms/`, any filters, map and drawn areas, postcodes, new homes, commercial), an ad (`…/details/<id>/`) or an estate agent (`/find-agents/branch/<name>-<id>/`). A URL keeps its own filters.",
            "items": {
              "type": "string"
            }
          },
          "maxRequests": {
            "title": "Max results per search",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of properties for the place search and for each URL above (default 10); each property is a charged event. Zoopla pages 1,000 ads per search: past that, a higher limit splits the search into price bands.",
            "default": 10
          },
          "transaction": {
            "title": "Buy, rent or new homes",
            "enum": [
              "sale",
              "rent",
              "new_homes"
            ],
            "type": "string",
            "description": "Homes for sale (Zoopla's Buy tab), to rent, or new homes only.",
            "default": "sale"
          },
          "propertyTypes": {
            "title": "Property types",
            "uniqueItems": true,
            "type": "array",
            "description": "Only these kinds of property, as Zoopla's filter lists them; empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "detached",
                "semi_detached",
                "terraced",
                "flats",
                "bungalows",
                "farms_land"
              ],
              "enumTitles": [
                "Detached",
                "Semi-detached",
                "Terraced",
                "Flats",
                "Bungalows",
                "Farms/land"
              ]
            }
          },
          "priceFrom": {
            "title": "Price from (£)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price to include, in pounds: the monthly rent for rentals."
          },
          "priceTo": {
            "title": "Price to (£)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price to include, in pounds: the monthly rent for rentals."
          },
          "bedroomsFrom": {
            "title": "Bedrooms from",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Fewest bedrooms to include: 0 is a studio, 10 means 10 or more."
          },
          "bedroomsTo": {
            "title": "Bedrooms to",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Most bedrooms to include: 0 is a studio, 10 means 10 or more."
          },
          "bathroomsFrom": {
            "title": "Bathrooms from",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Fewest bathrooms to include."
          },
          "bathroomsTo": {
            "title": "Bathrooms to",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Most bathrooms to include."
          },
          "radius": {
            "title": "Search radius",
            "enum": [
              "0",
              "0.25",
              "0.5",
              "1",
              "3",
              "5",
              "10",
              "15",
              "20",
              "30",
              "40"
            ],
            "type": "string",
            "description": "Also include properties up to this many miles around the place.",
            "default": "0"
          },
          "addedWithin": {
            "title": "Added to Zoopla",
            "enum": [
              "any",
              "24_hours",
              "3_days",
              "7_days",
              "14_days",
              "30_days"
            ],
            "type": "string",
            "description": "Only properties added in the last 24 hours, 3, 7, 14 or 30 days: with Newest first, what a daily or weekly monitoring run needs.",
            "default": "any"
          },
          "newHomes": {
            "title": "New-build homes",
            "enum": [
              "include",
              "exclude",
              "only"
            ],
            "type": "string",
            "description": "Include, exclude or show only new-build homes (homes for sale only).",
            "default": "include"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "default",
              "newest"
            ],
            "type": "string",
            "description": "Order of the place search. A pasted URL keeps its own order.",
            "default": "default"
          },
          "detailsAddon": {
            "title": "Property details add-on",
            "type": "boolean",
            "description": "The ad page's full description, key features, EPC rating, tenure, service charge, council tax band and other material information, price-change dates, floor plans, video and town, county and region. One more request per property. Charged per item with details.",
            "default": false
          },
          "sellerDataAddon": {
            "title": "Agent data add-on",
            "type": "boolean",
            "description": "The estate agent's or developer's branch: trading name, office phone, Zoopla profile and logo, read from the same search card (no extra request). Charged per item with an office phone.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}