# UK Land Registry Price Paid Scraper (`wakey7dev/uk-land-registry-scraper`) Actor

Search UK property sale prices from HM Land Registry. Filter by postcode, property type, year, and new build status. Covers 29M+ sales in England & Wales since 1995.

- **URL**: https://apify.com/wakey7dev/uk-land-registry-scraper.md
- **Developed by:** [Chris Wakefield](https://apify.com/wakey7dev) (community)
- **Categories:** Real estate
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

![Chris The Dev](https://raw.githubusercontent.com/chriswakefield87/appstore-screenshot-translator/main/assets/actor-banner.png)

## 🏠 UK Land Registry Price Paid Scraper

Search and extract UK property sale prices from HM Land Registry's Price Paid Data — the official government record of every residential property sale in England & Wales since 1995. Free, open data — no API key required.

### 🔍 What this Actor does

- **Search by postcode** — find all property sales in a specific area
- **Filter by year** — from 1995 to the current year
- **Filter by property type** — detached, semi-detached, terraced, flats, or other
- **Filter by new build** — new developments only, or existing properties
- **Price range filtering** — min and max sale price
- **Full address data** — street, locality, town, district, county

### 📊 Example Output

| Address | Date | Price | Type | Tenure |
|---|---|---|---|---|
| Flat 21, Sherrin House, 9 Warwick Lane | 2021-09-21 | £1,394,858 | Flat/maisonette | Leasehold |
| 29 Court Crescent | 2021-05-17 | £500,000 | Semi-detached | Freehold |
| Byron Court, Flat 15, St Johns Road | 2021-01-28 | £362,500 | Flat/maisonette | Leasehold |

### 📥 Input parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `postcode` | string | ✅ | UK postcode (e.g. `SW1A 1AA`, `LS1 1AA`) |
| `year` | integer | ❌ | Year of data (1995–current). Default: current year |
| `propertyType` | select | ❌ | Detached, Semi-detached, Terraced, Flat, Other |
| `newBuild` | select | ❌ | New build only, existing only, or all |
| `minPrice` | integer | ❌ | Minimum sale price in £ |
| `maxPrice` | integer | ❌ | Maximum sale price in £ |
| `maxResults` | integer | ❌ | Max properties to return (default 100, max 5,000) |

### 📤 Output

- **Dataset** — full property records with address, price, date, type, tenure, location
- **Summary** — formatted table with aggregate stats (avg/min/max price)
- **Stats** — machine-readable JSON with type breakdown

### 📜 Data source

Contains HM Land Registry data © Crown copyright and database right. Licensed under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).

Data updated monthly by HM Land Registry. Covers:

- **29+ million** property transactions
- **Every residential sale** in England & Wales since January 1995
- Free to use for commercial and non-commercial purposes

### 🔗 Links

- [HM Land Registry Price Paid Data](https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads)
- [Open Government Licence](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)

# Actor input Schema

## `postcode` (type: `string`):

UK postcode to search for (e.g. 'SW1A 1AA' or 'LS1 1AA'). Spaces and case are ignored.

## `year` (type: `integer`):

Year of sale data to download (1995 to current year). Defaults to current year.

## `propertyType` (type: `string`):

Filter by property type. Leave empty for all types.

## `newBuild` (type: `string`):

Filter by new build status.

## `minPrice` (type: `integer`):

Minimum sale price in GBP. Leave empty for no minimum.

## `maxPrice` (type: `integer`):

Maximum sale price in GBP. Leave empty for no maximum.

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

Maximum number of properties to return (max 5,000).

## Actor input object example

```json
{
  "year": 2026,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

Full property sale records as a dataset — one record per transaction. Includes address, price, date, property type, tenure, new build status, and full location hierarchy (street, locality, town, district, county). Exportable as JSON, CSV, Excel, or XML.

## `summary` (type: `string`):

Human-readable summary table showing top 50 properties with address, date, price, type, and tenure. Includes aggregate stats (avg/min/max price, type breakdown).

## `stats` (type: `string`):

Machine-readable JSON stats: total\_results, postcode, year, avg\_price, min\_price, max\_price, type\_breakdown.

# 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("wakey7dev/uk-land-registry-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("wakey7dev/uk-land-registry-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 wakey7dev/uk-land-registry-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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