# Uk Land Registry Price Paid Scraper (`b2b_lead_generation/uk-land-registry-price-paid-scraper`) Actor

Pull UK house sale prices by postcode or start date from HM Land Registry open data, cap results, and export clean JSON, CSV, or Excel files for property research.

- **URL**: https://apify.com/b2b_lead_generation/uk-land-registry-price-paid-scraper.md
- **Developed by:** [B2B Lead Generation](https://apify.com/b2b_lead_generation) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UK Land Registry Price Paid Scraper

![UK Land Registry Price Paid Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/uk-land-registry-price-paid-scraper-cover.png)

UK Land Registry Price Paid Scraper collects publicly available residential property transaction records from HM Land Registry. Search by postcode, filter by transaction date, and export structured UK house sale price data in JSON, CSV, or Excel format.

### What It Does

The actor collects property transaction records from HM Land Registry's Price Paid Data. Each record can include the sale price, transaction date, property address, property type, estate type, and other related details.

Use postcode and date filters to find relevant transactions for property research and market analysis.

### Features

- **Postcode Filtering:** Find property transactions associated with a specific UK postcode.
- **Date Filtering:** Set a minimum transaction date to narrow your results.
- **Property Details:** Collect sale prices, addresses, property types, and transaction information.
- **Structured Data:** Export collected records in JSON, CSV, Excel, and other supported Apify dataset formats.
- **Scheduled Collection:** Run recurring searches to monitor property transactions over time.

### Input Example

```json
{
  "mode": "transactions",
  "postcode": "WA2 8SN",
  "maxItems": 50,
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `transactions` | Collection mode. |
| `postcode` | string | Empty | Optional UK postcode filter. |
| `minDate` | string | Empty | Optional minimum transaction date. |
| `maxItems` | integer | `100` | Maximum number of successful records to collect. |
| `userAgent` | string | `ActorResearch/1.0` | HTTP User-Agent value. |
| `requestDelayMs` | integer | `1000` | Delay between requests in milliseconds. |
| `timeoutSecs` | integer | `300` | Overall run time budget in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request. |
| `proxyConfiguration` | object | `{"useApifyProxy": false}` | Optional proxy configuration. |

### Output Example

```json
{
  "_about": "http://landregistry.data.gov.uk/data/ppi/transaction/702EF0D1-AB60-4A1B-A2A1-C127E1EDE547/current",
  "estateType": {
    "_about": "http://landregistry.data.gov.uk/def/common/freehold"
  },
  "hasTransaction": "http://landregistry.data.gov.uk/data/ppi/transaction/702EF0D1-AB60-4A1B-A2A1-C127E1EDE547",
  "newBuild": false,
  "pricePaid": 35000,
  "propertyAddress": {
    "county": "WARRINGTON",
    "district": "WARRINGTON",
    "locality": "WINWICK",
    "paon": "ROSEMOUNT COTTAGE",
    "postcode": "WA2 8SN",
    "street": "GOLBORNE ROAD",
    "town": "WARRINGTON"
  },
  "propertyType": {
    "_about": "http://landregistry.data.gov.uk/def/common/terraced"
  },
  "recordStatus": {
    "_about": "http://landregistry.data.gov.uk/def/ppi/add"
  },
  "transactionCategory": {
    "_about": "http://landregistry.data.gov.uk/def/ppi/standardPricePaidTransaction"
  },
  "transactionDate": "Fri, 17 May 1996",
  "transactionId": "702EF0D1-AB60-4A1B-A2A1-C127E1EDE547",
  "recordType": [
    {
      "_about": "http://landregistry.data.gov.uk/def/ppi/TransactionRecord"
    }
  ],
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `_about` | Reference URL for the transaction record. |
| `estateType` | Property estate classification. |
| `hasTransaction` | Reference to the property transaction. |
| `newBuild` | Indicates whether the property was a new build. |
| `pricePaid` | Recorded property sale price. |
| `propertyAddress` | Address details, including postcode, street, town, and locality. |
| `propertyType` | Property classification, such as terraced. |
| `recordStatus` | Transaction record status. |
| `transactionCategory` | Transaction category classification. |
| `transactionDate` | Date of the property transaction. |
| `transactionId` | Unique transaction identifier. |
| `recordType` | Type of transaction record. |
| `scrapedAt` | Date and time the record was collected. |

### Use Cases

- **Local Market Research:** Collect sold property prices for a specific UK postcode.
- **Comparable Sales:** Gather transaction records for property valuation workflows.
- **Portfolio Monitoring:** Track property transactions across selected postcodes.
- **Real Estate Analytics:** Analyze sale prices, property types, and transaction trends.
- **Data Pipelines:** Feed property transaction records into spreadsheets, databases, or dashboards.
- **Academic Research:** Build datasets for housing market and property price analysis.

### Frequently Asked Questions

**Who can use this actor?**

Property analysts, developers, researchers, and real estate professionals who need structured UK house sale transaction data.

**How can I filter by postcode?**

Enter a UK postcode in the `postcode` parameter, such as `WA2 8SN`.

**Can I filter transactions by date?**

Yes. Set `minDate` to specify the earliest transaction date you want to include.

**What property information is collected?**

Records can include sale price, transaction date, postcode, address details, property type, estate type, and transaction identifiers.

**Can I export the collected data?**

Yes. You can export the Apify dataset in JSON, CSV, Excel, and other supported formats.

**Can I schedule recurring collections?**

Yes. Use Apify schedules to refresh postcode searches or monitor transaction data at regular intervals.

### Trademark Notice

HM Land Registry and its related names and trademarks belong to their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, or endorsement.

### Is Web Scraping Legal?

This actor collects publicly accessible UK property transaction information without bypassing login screens, paywalls, or technical security measures. HM Land Registry Price Paid Data is published under the Open Government Licence v3.0, subject to its attribution requirements.

- **Personal Data:** Property transaction records may contain addresses or information associated with individuals. Consider applicable privacy laws, including GDPR and CCPA, when processing or sharing such information.
- **Copyright and Licensing:** Price Paid Data is available under the Open Government Licence v3.0. When reusing the data, provide appropriate attribution, including HM Land Registry data and Crown copyright.
- **Platform Terms and Rate Limits:** Respect HM Land Registry's data policies and applicable usage conditions. Keep collection activity reasonable.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified professional if you have questions about your intended use.

For more information, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape. transactions loads HM Land Registry Price Paid transaction records.

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

Optional UK postcode filter (propertyAddress.postcode). Example: M1.

## `minDate` (type: `string`):

Optional minimum transaction date (YYYY-MM-DD or a date string the API accepts). Applied as min-transactionDate and filtered client-side.

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

Stop after this many successful rows. Hard max is 1000.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between paginated requests.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "transactions",
  "postcode": "M1",
  "minDate": "2000-01-01",
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 1000,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "postcode": "M1"
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2b_lead_generation/uk-land-registry-price-paid-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 = { "postcode": "M1" }

# Run the Actor and wait for it to finish
run = client.actor("b2b_lead_generation/uk-land-registry-price-paid-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 '{
  "postcode": "M1"
}' |
apify call b2b_lead_generation/uk-land-registry-price-paid-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2b_lead_generation/uk-land-registry-price-paid-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/buAgmZoTsq2WwfUgl/builds/5Ew5d5ozOS5acej6n/openapi.json
