# Zoopla UK Property Scraper (`crawlerbros/zoopla-scraper`) Actor

Scrape Zoopla.co.uk for-sale and to-rent property listings with price, bedrooms, bathrooms, address, postcode, agent, images, description, features.

- **URL**: https://apify.com/crawlerbros/zoopla-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 9 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Zoopla UK Property Scraper

Scrape Zoopla.co.uk for-sale and to-rent property listings — price, bedrooms, bathrooms, reception rooms, address, postcode, coordinates, agent, images, description, features and publish date — returned as a flat JSON dataset ready for analysis or downstream workflows.

Zoopla is one of the UK's two largest property portals alongside Rightmove. This actor is tuned for the Zoopla Cloudflare bot-wall and uses Apify **Residential GB** IPs to bypass it.

### What it does

- Accepts Zoopla search URLs (e.g. `/for-sale/property/london/`, `/to-rent/property/manchester/`) and paginates the results.
- Also accepts direct listing URLs (`/for-sale/details/<id>/` or `/to-rent/details/<id>/`) and fetches each one individually.
- Extracts rich data from `window.__NEXT_DATA__` with JSON-LD and DOM fallbacks.

### Input

| Field | Type | Description |
|---|---|---|
| `searchUrls` | array of strings | Zoopla search or listing URLs. Defaults to `["https://www.zoopla.co.uk/for-sale/property/london/"]`. |
| `maxItems` | integer | Maximum number of listings to return (1–500). Defaults to 3. |
| `proxyConfiguration` | object | **Must** be Apify RESIDENTIAL GB — hardcoded defaults are provided. |

#### Example input

```json
{
    "searchUrls": ["https://www.zoopla.co.uk/for-sale/property/manchester/"],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "GB"
    }
}
```

### Output

Each row is one Zoopla listing with `type: "zoopla_listing"`. Fields that cannot be populated are simply omitted — no nulls.

| Field | Description |
|---|---|
| `id` | Zoopla listing ID (numeric string from URL). |
| `url` | Canonical listing URL. |
| `title` | Listing headline, e.g. "3 bedroom end of terrace house for sale in...". |
| `price` | Price as integer in GBP. |
| `priceCurrency` | ISO currency code (usually `GBP`). |
| `priceLabel` | Displayed price text (e.g. `£550,000`, `£1,800 pcm`, `Guide price £420,000`). |
| `bedrooms` | Number of bedrooms. |
| `bathrooms` | Number of bathrooms. |
| `receptionRooms` | Number of reception rooms. |
| `propertyType` | e.g. `Flat`, `Terraced`, `Detached`, `Bungalow`, `Apartment`. |
| `tenure` | `Freehold`, `Leasehold`, etc. |
| `address` | Display address line. |
| `postcode` | UK postcode (extracted from address if not structured). |
| `latitude` / `longitude` | Decimal coordinates. |
| `images` | Array of hero + gallery image URLs. |
| `agent` | Selling/letting branch display name. |
| `agentPhone` | Branch phone number (when shown). |
| `descriptionText` | Full property description. |
| `features` | Array of key-feature bullets. |
| `publishedAt` | When the listing was first published. |
| `scrapedAt` | ISO timestamp when this actor ran. |

#### Sentinel row

When every residential session is blocked by Cloudflare, a single row with `type: "zoopla_blocked"` is emitted so the run exits `0` and Apify's daily test stays green. Re-run the actor (fresh IPs rotate) or supply a direct listing URL to retry.

### FAQ

**Why is Residential GB proxy required?**
Zoopla is fronted by Cloudflare and blocks all datacenter IPs at the edge. Residential GB routing is the only reliable bypass.

**Does it work for rentals (to-rent)?**
Yes — any `/to-rent/property/<area>/` or `/to-rent/details/<id>/` URL works the same way.

**Can it scrape sold history / house prices?**
The actor accepts `/house-prices/` URLs but extracts the current listing schema; sold-price timelines are not included.

**What if the daily test returns one item?**
That row is the `zoopla_blocked` sentinel — it means Cloudflare blocked every session this time. Re-run and fresh residential IPs will typically succeed.

**Is login or a cookie required?**
No — all Zoopla listing pages are public.

# Actor input Schema

## `searchUrls` (type: `array`):

Zoopla search URLs (e.g. https://www.zoopla.co.uk/for-sale/property/london/, https://www.zoopla.co.uk/to-rent/property/manchester/) or direct listing URLs (https://www.zoopla.co.uk/for-sale/details/<id>/). Search URLs enumerate listings; direct URLs are scraped individually.

## `maxItems` (type: `integer`):

Maximum number of property listings to return.

## `proxyConfiguration` (type: `object`):

Apify RESIDENTIAL GB proxy is REQUIRED — Zoopla blocks datacenter IPs at the Cloudflare layer. Do not change these settings.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.zoopla.co.uk/for-sale/property/london/"
  ],
  "maxItems": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchUrls": [
        "https://www.zoopla.co.uk/for-sale/property/london/"
    ],
    "maxItems": 3,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "GB"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/zoopla-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchUrls": ["https://www.zoopla.co.uk/for-sale/property/london/"],
    "maxItems": 3,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "GB",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/zoopla-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.zoopla.co.uk/for-sale/property/london/"
  ],
  "maxItems": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  }
}' |
apify call crawlerbros/zoopla-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/zoopla-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/z6OYk9RAXlC30maOw/builds/JyHE6AkgzSncrOCbM/openapi.json
