# Rightmove Scraper (`thenetaji/rightmove-scraper`) Actor

Scrape property listings and details from Rightmove. Supports search by location name, location ID, search URL, or direct property URLs.

- **URL**: https://apify.com/thenetaji/rightmove-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper

Scrape property listings from **rightmove.co.uk** at scale. 
Extracts property search results and full property details — from location names, location IDs, search URLs, or direct property URLs.

### Features

- **Location search** — type a location name like `"London"` and the scraper resolves it to a location ID via Rightmove's typeahead API
- **Search results** — paginated scraping of the search JSON API (24/page, up to 1000 results)
- **Property detail pages** — full data from the `PAGE_MODEL` JS variable (handles both plain and encoded formats)
- **Auto-classification** — no need to specify input type; URLs and keywords are detected automatically

### Input

The `inputs` field accepts a mixed list of any of the following:

| Type | Example |
|------|---------|
| Location name | `London`, `Manchester`, `Bristol` |
| Location ID | `REGION^87490`, `OUTCODE^1234` |
| Search URL | `https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=REGION^87490` |
| Property URL | `https://www.rightmove.co.uk/properties/12345678` |

#### Input schema

```json
{
  "inputs": ["London", "Manchester"],
  "channel": "BUY",
  "maxResults": 100
}
````

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `inputs` | `string[]` | required | Location names, IDs, search URLs, or property URLs |
| `channel` | `"BUY"` | `"RENT"` | `"BUY"` | Used when input is a location name or ID |
| `maxResults` | `integer` | `100` | Max search results per location (Rightmove API caps at 1000) |

### Output

Two output types depending on input:

#### Search result (`_type: "search_result"`)

Returned when input is a location name, ID, or search URL. Contains the stub data from the search API.

```json
{
  "_type": "search_result",
  "id": 167391443,
  "bedrooms": 2,
  "bathrooms": 1,
  "summary": "This well presented 2 bedroom flat...",
  "displayAddress": "Grafton Way, Fitzrovia, London, W1T",
  "location": { "latitude": 51.5233, "longitude": -0.13791 },
  "price": { "amount": 900000, "currencyCode": "GBP", "displayPrices": [{"displayPrice": "£900,000"}] },
  "propertySubType": "Flat",
  "propertyUrl": "/properties/167391443#/?channel=RES_BUY",
  "channel": "BUY",
  "customer": { "branchDisplayName": "Foxtons, Marylebone", "contactTelephone": "020 3906 1036" },
  "addedOrReduced": "Reduced on 28/08/2024"
}
```

#### Property detail (`_type: "property"`)

Returned when input is a direct property URL. Contains full data from the `PAGE_MODEL` variable.

```json
{
  "_type": "property",
  "url": "https://www.rightmove.co.uk/properties/167391443",
  "id": 167391443,
  "title": "2 bedroom flat for sale",
  "description": "This well presented 2 bedroom flat...",
  "price": "£900,000",
  "price_sqft": "£1,438 per sq. ft.",
  "bedrooms": 2,
  "bathrooms": 1,
  "property_type": "Flat",
  "transaction_type": "BUY",
  "address": { "displayAddress": "Grafton Way, Fitzrovia, London, W1T", "outcode": "W1T" },
  "latitude": 51.5233,
  "longitude": -0.13791,
  "features": ["Lovely 2 bedroom flat", "Modern kitchen with integrated appliances"],
  "photos": ["https://media.rightmove.co.uk/..."],
  "floorplans": ["https://media.rightmove.co.uk/..."],
  "agent": { "id": 76585, "branch": "Marylebone", "company": "Foxtons" },
  "nearest_stations": [{ "name": "Warren Street", "distance": 0.3 }],
  "listing_history": { "firstListedDate": "2025-09-24" },
  "available": true,
  "archived": false
}
```

### Examples

#### Search by location name

```json
{
  "inputs": ["London", "Manchester"],
  "channel": "BUY",
  "maxResults": 50
}
```

#### Search for rentals

```json
{
  "inputs": ["Bristol"],
  "channel": "RENT",
  "maxResults": 100
}
```

#### Use a location ID directly

```json
{
  "inputs": ["REGION^87490"],
  "channel": "BUY",
  "maxResults": 200
}
```

#### Scrape specific property pages

```json
{
  "inputs": [
    "https://www.rightmove.co.uk/properties/167391443",
    "https://www.rightmove.co.uk/properties/155320229"
  ]
}
```

#### Mix of inputs

```json
{
  "inputs": [
    "London",
    "REGION^61294",
    "https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=REGION%5E87490",
    "https://www.rightmove.co.uk/properties/167391443"
  ],
  "maxResults": 100
}
```

# Actor input Schema

## `inputs` (type: `array`):

What to scrape. Accepts any mix of:

- Location name: 'London', 'Manchester'
- Location ID: 'REGION^87490'
- Search URL: 'https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=...'
- Property URL: 'https://www.rightmove.co.uk/properties/12345678'

## `channel` (type: `string`):

BUY or RENT. Used when input is a location name or ID (ignored for search/property URLs which encode channel in the URL).

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

Maximum number of search results to return per location. Rightmove API caps at 1000.

## Actor input object example

```json
{
  "inputs": [
    "London"
  ],
  "channel": "BUY",
  "maxResults": 100
}
```

# 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 = {
    "inputs": [
        "London"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/rightmove-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 = { "inputs": ["London"] }

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/rightmove-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 '{
  "inputs": [
    "London"
  ]
}' |
apify call thenetaji/rightmove-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Rightmove Scraper",
        "description": "Scrape property listings and details from Rightmove. Supports search by location name, location ID, search URL, or direct property URLs.",
        "version": "0.1",
        "x-build-id": "DFg1vdhJnqD91izbH"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thenetaji~rightmove-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thenetaji-rightmove-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/thenetaji~rightmove-scraper/runs": {
            "post": {
                "operationId": "runs-sync-thenetaji-rightmove-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/thenetaji~rightmove-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-thenetaji-rightmove-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": [
                    "inputs"
                ],
                "properties": {
                    "inputs": {
                        "title": "Inputs",
                        "type": "array",
                        "description": "What to scrape. Accepts any mix of:\n- Location name: 'London', 'Manchester'\n- Location ID: 'REGION^87490'\n- Search URL: 'https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=...'\n- Property URL: 'https://www.rightmove.co.uk/properties/12345678'",
                        "items": {
                            "type": "string"
                        }
                    },
                    "channel": {
                        "title": "Channel",
                        "enum": [
                            "BUY",
                            "RENT"
                        ],
                        "type": "string",
                        "description": "BUY or RENT. Used when input is a location name or ID (ignored for search/property URLs which encode channel in the URL).",
                        "default": "BUY"
                    },
                    "maxResults": {
                        "title": "Max Results (per location)",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of search results to return per location. Rightmove API caps at 1000.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
