# Rightmove Agent Details Scraper (`nifty.codes/rightmove-agentdetails-scraper`) Actor

Extract branch addresses, contact numbers, company names, and property counts from Rightmove agent profile pages. Powered by Rightmove Scraper.

- **URL**: https://apify.com/nifty.codes/rightmove-agentdetails-scraper.md
- **Developed by:** [Nifty](https://apify.com/nifty.codes) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Rightmove Agent Details Scraper

This actor extracts Agent Details from Rightmove. It targets individual agent profile pages to collect contact information, branch statistics, and company branding data. It is designed for lead generation and market analysis within the UK real estate sector.

#### Data Fields

| Field Name | Description | Example |
| --- | --- | --- |
| Branch Address | Full physical address of the branch | 123 High Street, London |
| Branch Postcode | Postcode of the branch location | SW1A 1AA |
| Branch Display Name | Public name of the branch | Savills, Canary Wharf |
| Branch Name | Internal branch identifier | Savills |
| Brand Trading Name | Registered trading name | Savills (UK) Limited |
| Branch Summary | Short text description of the branch | Leading estate agent in London |
| Branch Sales Telephone | Phone number for sales inquiries | 020 7123 4567 |
| Branch Main Telephone | Primary contact number | 020 7123 4568 |
| Branch Logo URL | URL to the branch logo image | https://media.rightmove.co.uk/logo.png |
| Full Branch Logo URL | High resolution logo URL | https://media.rightmove.co.uk/logo_big.png |
| Branch Static Map Image URL | URL to the branch location map | https://media.rightmove.co.uk/map.png |
| Branch Description | Detailed branch biography | We have been operating since 1855... |
| Primary Description | Main marketing description | Expert property services in London |
| Sales Primary Description | Description for sales services | Specialized in residential sales |
| Lettings Primary Description | Description for letting services | Full property management available |
| Paired Branch URL | Link to associated branch page | /estate-agents/branch/Savills/London-1.html |
| Paired Branch ID | Unique ID of paired branch | 12345 |
| Brand Logo Path | Internal path for the brand logo | /brand/logo_1.png |
| Company ID | Unique identifier for the company | 9876 |
| Company Name | Legal name of the company | Savills PLC |
| Company Trading Name | Trading name of the parent company | Savills |
| Company Type Alias | Classification of company type | estate-agent |
| Total Properties | Number of active listings | 142 |
| Properties Search Path | URL path to view all branch listings | /property-for-sale/find.html?branchId=123 |

#### Input

- `urls`: Array of Rightmove agent profile URLs (e.g., https://www.rightmove.co.uk/estate-agents/agent/...). 
- `maxItems`: Maximum number of agent profiles to process.

#### Example Input

```json
{
  "urls": ["https://www.rightmove.co.uk/estate-agents/agent/Savills/Canary-Wharf-123.html"],
  "maxItems": 50
}
````

#### Example Output

```json
[
  {
    "branchAddress": "10 Marsh Wall, London",
    "branchPostcode": "E14 9TP",
    "branchDisplayName": "Savills, Canary Wharf",
    "branchName": "Savills",
    "brandTradingName": "Savills (UK) Limited",
    "branchSummary": "Residential sales and lettings in Canary Wharf.",
    "branchSalesTelephone": "020 7531 2500",
    "branchMainTelephone": "020 7531 2500",
    "branchLogoUrl": "https://media.rightmove.co.uk/brand/brand_rm_123.png",
    "fullBranchLogoUrl": "https://media.rightmove.co.uk/brand/brand_rm_123_max.png",
    "branchStaticMapImageUrl": "https://media.rightmove.co.uk/map/map_123.png",
    "branchDescription": "Savills Canary Wharf offers a range of property services.",
    "primaryDescription": "Expert estate agents in E14.",
    "salesPrimaryDescription": "Residential property sales experts.",
    "lettingsPrimaryDescription": "Professional letting and management.",
    "pairedBranchUrl": "/estate-agents/branch/Savills/Wapping-456.html",
    "pairedBranchId": "456",
    "brandLogoPath": "brand/brand_rm_123.png",
    "companyId": "9876",
    "companyName": "Savills PLC",
    "companyTradingName": "Savills",
    "companyTypeAlias": "estate-agent",
    "totalProperties": 85,
    "propertiesSearchPath": "/property-for-sale/find.html?branchId=123"
  },
  {
    "branchAddress": "25 Baker Street, London",
    "branchPostcode": "W1U 8EQ",
    "branchDisplayName": "Knight Frank, Marylebone",
    "branchName": "Knight Frank",
    "brandTradingName": "Knight Frank LLP",
    "branchSummary": "Global real estate consultants.",
    "branchSalesTelephone": "020 7629 8171",
    "branchMainTelephone": "020 7629 8171",
    "branchLogoUrl": "https://media.rightmove.co.uk/brand/brand_rm_456.png",
    "fullBranchLogoUrl": "https://media.rightmove.co.uk/brand/brand_rm_456_max.png",
    "branchStaticMapImageUrl": "https://media.rightmove.co.uk/map/map_456.png",
    "branchDescription": "Knight Frank Marylebone handles premium London property.",
    "primaryDescription": "Luxury property specialists.",
    "salesPrimaryDescription": "Prime residential sales.",
    "lettingsPrimaryDescription": "High-end property management.",
    "pairedBranchUrl": "/estate-agents/branch/Knight-Frank/Mayfair-789.html",
    "pairedBranchId": "789",
    "brandLogoPath": "brand/brand_rm_456.png",
    "companyId": "5432",
    "companyName": "Knight Frank LLP",
    "companyTradingName": "Knight Frank",
    "companyTypeAlias": "estate-agent",
    "totalProperties": 112,
    "propertiesSearchPath": "/property-for-sale/find.html?branchId=456"
  }
]
```

#### Want more from Rightmove?

This actor only covers **Agent Details**. The full **Rightmove Scraper** browser extension also includes **Properties in a List, Property Details, Agents in a List, House Prices** with unlimited personal use, real-time scraping with your logged-in sessions, CSV/Excel/JSON export, field customization, and scheduled monitoring.

**[Get the Rightmove Scraper extension](https://nifty.codes/e/rightmove-scraper)**

#### Disclaimer

This tool extracts publicly available data. Users are responsible for compliance with applicable terms of service.

# Actor input Schema

## `urls` (type: `array`):

URLs to scrape. Must match: rightmove.co.uk

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

Maximum number of items to extract per URL

## `enablePagination` (type: `boolean`):

Load more results beyond the first page. Note: pagination may be unstable for this actor.

## `maxPages` (type: `integer`):

Maximum number of pagination actions (pages, scrolls, or loads)

## Actor input object example

```json
{
  "urls": [
    "https://www.rightmove.co.uk/estate-agents/agent/1234-Morfitt-Shaw/Leeds-40326.html"
  ],
  "maxItems": 100,
  "enablePagination": false,
  "maxPages": 1
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("nifty.codes/rightmove-agentdetails-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("nifty.codes/rightmove-agentdetails-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call nifty.codes/rightmove-agentdetails-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=nifty.codes/rightmove-agentdetails-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Rightmove Agent Details Scraper",
        "description": "Extract branch addresses, contact numbers, company names, and property counts from Rightmove agent profile pages. Powered by Rightmove Scraper.",
        "version": "3.2",
        "x-build-id": "2YwmkkJiOq7u0B11Q"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/nifty.codes~rightmove-agentdetails-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-nifty.codes-rightmove-agentdetails-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/nifty.codes~rightmove-agentdetails-scraper/runs": {
            "post": {
                "operationId": "runs-sync-nifty.codes-rightmove-agentdetails-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/nifty.codes~rightmove-agentdetails-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-nifty.codes-rightmove-agentdetails-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",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs",
                        "type": "array",
                        "description": "URLs to scrape. Must match: rightmove.co.uk",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "https://www.rightmove.co.uk/estate-agents/agent/1234-Morfitt-Shaw/Leeds-40326.html"
                        ]
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of items to extract per URL",
                        "default": 100
                    },
                    "enablePagination": {
                        "title": "Paginate",
                        "type": "boolean",
                        "description": "Load more results beyond the first page. Note: pagination may be unstable for this actor.",
                        "default": false
                    },
                    "maxPages": {
                        "title": "Max pagination steps",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of pagination actions (pages, scrolls, or loads)",
                        "default": 1
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
