# Zoopla Agents Search Scraper (`powerai/zoopla-agents-search-scraper`) Actor

Search and scrape real estate agents from Zoopla with advanced filtering and sorting options using our API wrapper service

- **URL**: https://apify.com/powerai/zoopla-agents-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Real estate, Lead generation, Other
- **Stats:** 26 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Agents Search Scraper

This actor searches for real estate agents on Zoopla using our API wrapper service to find property professionals based on various criteria.

### Features

- **Comprehensive Agent Search**: Search agents by location or company name
- **Multiple Agent Types**: Support for estate agents, letting agents, and commercial agents
- **Advanced Sorting**: Sort results by name, average price, or average age
- **Real-time Results**: Get instant agent listings from Zoopla
- **API Integration**: Uses our secure API wrapper service
- **Error Handling**: Comprehensive error handling and logging
- **Automatic Pagination**: Automatically fetches multiple pages to reach the requested number of results

### Input

The actor accepts the following input parameters:

#### Required Parameters

Either **location** OR **company\_name** must be provided:

- **location**: Location to search for agents (e.g., 'oxford')
- **company\_name**: Company name to search for (alternative to location)

#### Optional Parameters

- **maxResults**: Maximum number of agents to fetch
- **search\_type**: Type of agents to search for (estate-agents, letting-agents, commercial-agents)
- **agents\_sort**: Sort order for results (a\_z, lowest\_avg\_price, highest\_avg\_price, shortest\_avg\_age, longest\_avg\_age)
- **radius**: Search radius in miles
- **pn**: Page number (automatically handled by pagination)

### Output

The actor outputs each agent as an individual data item. Each agent contains:

```json
{
	"aweme_id": "v15044gf0000d0f6jtnog65t69t3dme0",
	"video_id": "7502551047378832671",
	"region": "US",
	"title": "\"find your joy in what's happening today\" 🥺❤️ @Torchy Swinson ",
	"cover": "https://p16-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oMAIAaioIfhIqwPEKePGeIUjUHALAANAA98QQp~tplv-tiktokx-cropcenter-q:300:400:q72.jpeg?dr=14782&refresh_token=9a81de7e&x-expires=1747270800&x-signature=uMBOSoUR1V94wdNXQatmkOMilFs%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=maliva&s=PUBLISH&sc=cover&biz_tag=tt_video",
	"ai_dynamic_cover": "https://p16-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oMAIAaioIfhIqwPEKePGeIUjUHALAANAA98QQp~tplv-tiktokx-origin.image?dr=1364&refresh_token=1128aed4&x-expires=1747270800&x-signature=nvWhc1YYcQNbmFpDCwNxZe%2BD0bk%3D&t=bacd0480&ps=4f5296ae&shp=d05b14bd&shcp=132edbea&idc=maliva&biz_tag=tt_video&s=PUBLISH&sc=dynamic_cover",
	"origin_cover": "https://p16-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ogmBat2fQeVoFEA6Qno4RasDAEzEViBPZRHCQ6~tplv-tiktokx-360p.webp?dr=1363&refresh_token=e6451a3f&x-expires=1747270800&x-signature=i8x4vSiblQKAxusjPK7qZxFnGmc%3D&t=bacd0480&ps=d97f9a4f&shp=d05b14bd&shcp=132edbea&idc=maliva&sc=feed_cover&biz_tag=tt_video&s=PUBLISH",
	"duration": 58,
	"play": "https://v16m.tiktokcdn.com/4622c355b936c4a5b974ff0153c757d7/68253e97/video/tos/maliva/tos-maliva-ve-0068c799-us/oofoutR4ExDHRe7EZaFn2Q7pE4NPIAB6msgVZA/?a=1233&bti=M0BzMzU8OGYpNzo5Zi5wIzEuLjpkNDQwOg%3D%3D&ch=0&cr=13&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C&cv=1&br=1960&bt=980&cs=0&ds=6&ft=4pTgzjjM9-px8Zq8ZmCM5y7EkcAlyBywNLrFDDo5Xmoag3&mime_type=video_mp4&qs=0&rc=N2Q7ZGdmNDk7NjU4Z2ZmN0BpM3A2PHc5cnc5MzMzaTczNEAvLmEwMDRiXzYxMzEyYC0vYSNiYXEzMmRrZ2NhLS1kMTJzcw%3D%3D&vvpl=1&l=20250514090740528ACCDE0257330263AA&btag=e00088000&cc=3",
	"wmplay": "https://v16m.tiktokcdn.com/e20fb37e1d1bf0e64a0c619e0181a72e/68253e97/video/tos/maliva/tos-maliva-ve-0068c799-us/okoQVI1eAAnlEZ6sRFfPmoDBgOHd4EEtSVR2g8/?a=1233&bti=M0BzMzU8OGYpNzo5Zi5wIzEuLjpkNDQwOg%3D%3D&ch=0&cr=13&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C&cv=1&br=2016&bt=1008&cs=0&ds=3&ft=4pTgzjjM9-px8Zq8ZmCM5y7EkcAlyBywNLrFDDo5Xmoag3&mime_type=video_mp4&qs=0&rc=PGk3ZDk6NTw2ODs1Njk1M0BpM3A2PHc5cnc5MzMzaTczNEBiNC8vNl4uNS0xYjRiLl4xYSNiYXEzMmRrZ2NhLS1kMTJzcw%3D%3D&vvpl=1&l=20250514090740528ACCDE0257330263AA&btag=e00088000&cc=3",
	"size": 7307087,
	"wm_size": 7517478,
	"music": "https://sf19.tiktokcdn-us.com/obj/ies-music-tx2/7502556269832719135.mp3",
	"music_info": {
		"id": "7502556199716391711",
		"title": "original sound - tiktok",
		"play": "https://sf19.tiktokcdn-us.com/obj/ies-music-tx2/7502556269832719135.mp3",
		"cover": "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter-q:1080:1080:q75.webp?dr=10796&idc=maliva&ps=87d6e48a&s=PUBLISH&sc=avatar&shcp=132edbea&shp=45126217&t=223449c4",
		"author": "TikTok",
		"original": true,
		"duration": 58,
		"album": ""
	},
	"play_count": 1287045,
	"digg_count": 7611,
	"comment_count": 5358,
	"share_count": 754,
	"download_count": 77,
	"collect_count": 796,
	"create_time": 1746823813,
	"anchors": null,
	"anchors_extras": "",
	"is_ad": false,
	"commerce_info": {
		"adv_promotable": false,
		"auction_ad_invited": false,
		"branded_content_type": 0,
		"organic_log_extra": "{\"req_id\":\"20250514090740528ACCDE0257330263AA\"}",
		"with_comment_filter_words": false
	},
	"commercial_video_info": "",
	"item_comment_settings": 0,
	"mentioned_users": "6797898940689925126",
	"author": {
		"id": "107955",
		"unique_id": "tiktok",
		"nickname": "TikTok",
		"avatar": "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter-q:300:300:q75.webp?dr=10793&idc=maliva&ps=87d6e48a&s=PUBLISH&sc=avatar&shcp=132edbea&shp=45126217&t=223449c4"
	},
	"is_top": 0,
	"scrapedAt": "2025-05-14T01:07:42.299Z"
}
```

### Usage

1. **Input Configuration**: Provide location or company name and search criteria
2. **Set Max Results**: Specify how many agents you want to fetch
3. **Run the Actor**: Execute the actor with your input
4. **Get Results**: Receive individual agent listings in the dataset

### Examples

#### Search by Location

```json
{
  "location": "oxford",
  "search_type": "estate-agents",
  "agents_sort": "a_z",
  "maxResults": 100
}
```

#### Search by Company Name

```json
{
  "company_name": "Foxtons",
  "search_type": "estate-agents",
  "maxResults": 50
}
```

#### Letting Agents Search

```json
{
  "location": "oxford",
  "search_type": "letting-agents",
  "agents_sort": "lowest_avg_price",
  "radius": 10,
  "maxResults": 75
}
```

#### Commercial Agents Search

```json
{
  "location": "oxford",
  "search_type": "commercial-agents",
  "agents_sort": "highest_avg_price",
  "maxResults": 25
}
```

### Agent Data Structure

Each agent listing includes:

#### Basic Information

- **displayName**: Agent company display name
- **description**: Agent company description
- **id**: Unique agent identifier
- **name**: Agent company name
- **uriName**: URL-friendly agent name
- **displayAddress**: Agent office address

#### Contact Information

- **contactNumber**: Agent contact phone number
- **logo**: Agent company logo information (height, width, URI)

#### Statistics

- **listingsStatistics.residential.forSale**: Statistics for residential properties for sale
  - **avgAskingPrice**: Average asking price
  - **avgWeeksOnMarket**: Average weeks on market
  - **availableListings**: Number of available listings
- **listingsStatistics.residential.toRent**: Statistics for residential properties to rent
- **listingsStatistics.commercial**: Statistics for commercial properties

#### Status

- **featured**: Whether the agent is featured
- **\_\_typename**: Type identifier

### Agent Types

#### Estate Agents

Specialize in buying and selling residential properties.

#### Letting Agents

Specialize in rental properties and property management.

#### Commercial Agents

Specialize in commercial properties, offices, and retail spaces.

### Support

For technical support or questions about this actor, please contact our support team.

# Actor input Schema

## `location` (type: `string`):

Location to search for agents (e.g., 'oxford', 'Greenwich, London')

## `company_name` (type: `string`):

Company name to search for (alternative to location)

## `search_type` (type: `string`):

Type of agents to search for

## `agents_sort` (type: `string`):

Sort order for agent results

## `radius` (type: `integer`):

Search radius in miles

## `maxResults` (type: `integer`):

Maximum number of agents to fetch (default: 50, max: 1000)

## Actor input object example

```json
{
  "location": "oxford",
  "search_type": "estate-agents",
  "agents_sort": "a_z",
  "maxResults": 25
}
```

# 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 = {
    "location": "oxford",
    "search_type": "estate-agents",
    "agents_sort": "a_z",
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/zoopla-agents-search-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 = {
    "location": "oxford",
    "search_type": "estate-agents",
    "agents_sort": "a_z",
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/zoopla-agents-search-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 '{
  "location": "oxford",
  "search_type": "estate-agents",
  "agents_sort": "a_z",
  "maxResults": 25
}' |
apify call powerai/zoopla-agents-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerai/zoopla-agents-search-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/rabvemZTt3PouIDaO/builds/NlI5FZS7awI1nAUt9/openapi.json
