# UK House Prices: Sold House & Property Prices, Land Registry (`moggedhq/uk-house-prices-land-registry`) Actor

Get UK sold house prices and price paid data by postcode, street or town from HM Land Registry: price, date, address, property type, tenure, new-build flag, coordinates and area medians. $0.001 per sale + $0.007 per successful run: 100 sales cost $0.107 plus platform start. No login.

- **URL**: https://apify.com/moggedhq/uk-house-prices-land-registry.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** Real estate, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 sales

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 House Prices: Sold House & Property Prices, Land Registry

For property researchers, agents and data teams: registered sold house prices by postcode, street or town, with address parts, dates, types, tenure, new-build flags, postcode coordinates and sample statistics.

**$0.001 per sale plus $0.007 per successful run and the $0.00005 platform start fee.** A run delivering 100 sales costs $0.10705 at the list price. No source account, API key or login is required.

Use it for comparable-sales spreadsheets, transaction maps and repeated area monitoring. Prices are registered consideration, not asking prices or automated valuations.

### What you get

Each registered transaction is a separate row. Repeated transaction IDs across overlapping inputs are delivered once per run.

| Field | What it contains |
|---|---|
| `summary` | Plain description of the recorded sale price and date |
| `transactionId` | HM Land Registry identifier for this transaction |
| `price`, `currency` | Numeric recorded sale price and `GBP` |
| `date` | Transfer date in `YYYY-MM-DD` form |
| `fullAddress` | Joined unit, building, street, locality, town and postcode |
| `paon` | Primary building name or number |
| `saon` | Flat, apartment or other secondary unit |
| `street`, `locality`, `town` | Source address components |
| `district`, `county`, `postcode` | Administrative address fields and sale-time postcode |
| `propertyType`, `propertyTypeCode` | Readable category and original D/S/T/F/O code |
| `newBuild` | Source new-build flag for the sale |
| `tenure`, `tenureCode` | Freehold, leasehold or source unknown tenure |
| `transactionCategory`, `transactionCategoryCode` | Standard A or additional B transaction |
| `latitude`, `longitude` | Postcode centroid when postcodes.io provides one |
| `coordinateSource`, `coordinateStatus` | Coordinate provenance and availability |
| `coordinatePrecision` | `postcode centroid`, rather than a building location |
| `matchedInputs` | All your supplied areas that match this delivered sale |
| `url`, `sourceUrl`, `reportUrl` | Published transaction URI, HTTPS URI and browser report |
| `sourceRetrievedAt`, `scrapedAt` | Collection timestamps |
| `type`, `status` | `sale` and `ok` for useful sale rows; free notes describe input problems or empty searches |

Dataset views cover **Sold prices**, **Address and source**, and **Property characteristics**. Export JSON, CSV or Excel through Apify.

### Start with your area

1. Enter one postcode district, a list of full postcodes, street-and-town pairs or postal towns.
2. Choose the date window, property types, optional price bounds and maximum sales.
3. Start the Actor, then open the dataset and the **Area statistics and run summary** output link.

The prefill requests 20 **SW1V** sales. Blank dates use a rolling twelve-month window, including in saved tasks.

District example:

```json
{
  "postcodes": ["SW1V"],
  "maxItems": 20
}
```

Street example:

```json
{
  "streets": [{"street": "HIGH STREET", "town": "OXFORD"}],
  "dateFrom": "2025-01-01",
  "dateTo": "2025-12-31",
  "maxItems": 100
}
```

Multi-town example:

```json
{
  "towns": ["BATH", "OXFORD", "CARDIFF"],
  "propertyTypes": ["F", "T"],
  "dateFrom": "2025-01-01",
  "dateTo": "2025-12-31",
  "minPrice": 150000,
  "maxPrice": 500000,
  "maxItems": 1000
}
```

### Inputs and matching

| Input | Meaning |
|---|---|
| `postcodes` | Array of full postcodes or outward districts, such as `SW1A 1NH`, `M1` or `CF10` |
| `streets` | Array of objects containing `street` and `town` |
| `towns` | Array of exact postal towns, such as `MANCHESTER` |
| `propertyTypes` | Any of `D`, `S`, `T`, `F`, `O`; readable category names also work |
| `dateFrom`, `dateTo` | Inclusive calendar dates; blank means a rolling twelve months ending at run start |
| `minPrice`, `maxPrice` | Inclusive numeric price bounds in pounds |
| `newBuildOnly` | Keep only records explicitly marked as new builds |
| `maxItems` | Maximum distinct sale rows across the run; default 20, maximum 10,000 |
| `maxResults` | Optional cap alias; the smaller supplied cap wins |
| `includeCoordinates` | Add postcode centroids; default true |
| `proxyConfiguration` | Default datacenter proxy with GB residential retry; explicit buyer settings are preserved |

Postcodes are standardised: `sw1a1nh` becomes `SW1A 1NH`. District `M1` excludes `M11`. Towns match exact postal towns, ignoring case. Streets match substrings within their supplied town; omit house numbers.

Locations form a **union**, with global filters applied to each. Inputs are processed in order: postcodes, streets, towns. Sales within each input are newest first, with transaction ID breaking ties. The combined output is not globally sorted.

The cap is shared. The summary names later areas that were not checked. Use separate tasks for independent allowances.

If both cap names are present, the smaller value wins, including when Apify supplies the `maxItems` default. Thus `maxResults: 3` can reduce the default cap to three; to request more than 20 through the alias, set `maxItems` accordingly. Invalid dates, unknown property types and malformed location inputs produce a free note with an explanation.

### A real sale row

This sale was checked against the live official linked-data record on 17 November 2026:

```json
{
  "summary": "Sold for GBP 605,000 on 2025-01-31",
  "transactionId": "2F7F2B42-A34E-E08F-E063-4804A8C05A49",
  "price": 605000,
  "currency": "GBP",
  "date": "2025-01-31",
  "fullAddress": "FLAT 1, 33 GREEN PARK, BATH, BA1 1HZ",
  "paon": "33",
  "saon": "FLAT 1",
  "street": "GREEN PARK",
  "town": "BATH",
  "postcode": "BA1 1HZ",
  "propertyType": "flat-maisonette",
  "propertyTypeCode": "F",
  "newBuild": false,
  "tenure": "leasehold",
  "transactionCategory": "standard",
  "type": "sale",
  "status": "ok"
}
```

Unit and building fields remain separate for address matching. Missing source values stay null.

### Area statistics and completeness

Each run writes a `SUMMARY` record to its default key-value store, with an `OUTPUT` mirror. It contains overall count, median, mean, minimum and maximum price; breakdowns by postcode district, town and property type; input outcomes; coordinate coverage; and whether the spending limit stopped delivery.

**Statistics describe delivered unique sales, not a whole-market index or valuation.** Caps and filters change the sample. Overlapping areas do not double-count transactions. The summary states its dates and `statisticsScope`.

Inspect each query's `status`, `sourceRows`, `matchedSales`, `selectedSales` and `completeWithinRequestedWindow`. A false completeness flag means the output cap, a spending limit or a source interruption prevented a complete result for that requested window. `no matches` is an ordinary empty search; `source unavailable` identifies a failed query after retries.

Two cloud validation runs on 17 November 2026 delivered **1,200 distinct sales across four towns** and **1,295 across five postcode districts**. All 2,495 rows carried numeric prices. Coordinates were available for 2,488 of those rows. Ten sales from seven towns were compared with the independent official RDF record, including a new build and several property types. The district run was deliberately rebooted during delivery and completed without duplicate transaction IDs or duplicate sale charges.

### Price and spending control

| Item | List price |
|---|---:|
| Each unique sale with a numeric price | $0.001 |
| Successful-run fee, once with the first delivered sale | $0.007 |
| Platform start charge at the default memory | $0.00005 |
| Duplicate sale, empty-search note or invalid-input note | No sale charge |

At list price, one sale costs $0.00805, 20 sales cost $0.02705, 100 cost $0.10705 and 1,000 cost $1.00705. Bronze discounts the sale and successful-run prices by 5%, Silver by 10%, and Gold, Platinum and Diamond by 20%. The standard platform start charge remains separate. Buyers do not pay additional platform usage for this pay-per-event Actor.

The successful-run fee is charged only when the first sale is saved. An empty or invalid search has no sale fee and no successful-run fee; the platform start charge still applies. Set a maximum total charge in the Apify run options to control spending. If the remaining allowance cannot cover the first sale and the successful-run fee together, the Actor returns a free note and charges neither of those items.

### Monitor registered sales repeatedly

Save your postcode list as an Apify task and attach it to an Apify schedule. Leave the dates blank for a rolling twelve-month window, or set a fixed historical window for repeated extracts. Each run has its own dataset and summary, making it straightforward to compare new records or changed source values.

Join runs by `transactionId` and retain retrieval timestamps. Refresh overlapping windows to capture corrections. Deduplication applies within one run; later runs deliver and charge requested sales again.

Use Apify integrations for Google Sheets, Make, Zapier, n8n or webhooks. Filter `type == "sale"` before numeric analysis.

### Use from code

JavaScript with `apify-client`:

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/uk-house-prices-land-registry').call({
  postcodes: ['M1', 'B1'],
  dateFrom: '2025-01-01',
  dateTo: '2025-12-31',
  maxItems: 1000
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const summary = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('SUMMARY');
console.log(items.filter(row => row.type === 'sale'));
console.log(summary.value.areaStatistics);
```

Python with `apify-client`:

```python
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('moggedhq/uk-house-prices-land-registry').call(run_input={
    'postcodes': ['CF10'],
    'dateFrom': '2025-01-01',
    'dateTo': '2025-12-31',
    'maxItems': 100,
})
for row in client.dataset(run['defaultDatasetId']).iterate_items():
    if row.get('type') == 'sale':
        print(row['date'], row['price'], row['fullAddress'])
```

Paginate larger datasets or use the client iterator.

### Use with AI agents (MCP)

Add `https://mcp.apify.com/?tools=moggedhq/uk-house-prices-land-registry` as an HTTP MCP server in a compatible client. An agent can translate a request into the same plain input fields and read the dataset and summary.

Example request: Get up to 100 registered flat sales in Cardiff for 2025, between GBP 150,000 and GBP 300,000. Include postcode coordinates and summarise the delivered sample median.

Use `towns: ["CARDIFF"]`, `propertyTypes: ["F"]`, both dates, the price bounds and `maxItems: 100`. Retain source links and describe the median as a sample statistic.

### Limits

- Coverage is **England and Wales**, from 1 January 1995. Scotland and Northern Ireland are not included, despite the broad UK search wording in the title.
- Newly completed sales appear after registration and monthly publication. Recent periods are incomplete and can be backfilled or corrected.
- This is registered price-paid information. It does not provide current listings, asking prices, ownership names, bedrooms, floor areas, EPCs, rental yields or formal valuations. Additional B transactions can include non-standard transfers and other property types.
- Coordinates are current postcode centroids. Old or unavailable postcodes keep null coordinates; a centroid is not a surveyed building location. Disabling coordinates preserves the sale fields.
- Town searches use monthly date windows. Very broad or long searches can reach the source's query or response-size limits. Narrow the area or dates if a query is reported unavailable. A maximum of 100 entries per location field and 10,000 delivered sales applies.
- Public upstream services can be unavailable. The Actor retries source requests, reports incomplete areas and preserves saved rows across a reboot; it cannot guarantee that upstream data is complete or error-free.
- Address fields carry third-party rights in addition to the Open Government Licence. The source permits personal/non-commercial address use and display for residential property price information services; other address reuse may need a separate licence. Review the linked source terms for your use.

### Source and attribution

Contains HM Land Registry data (c) Crown copyright and database right 2026. This data is licensed under the Open Government Licence v3.0. See [Price Paid Data and permitted use](https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads) and [source field definitions](https://www.gov.uk/guidance/about-the-price-paid-data).

Coordinates are supplied by [postcodes.io](https://postcodes.io/docs/overview/), whose [licence page](https://postcodes.io/docs/licences/) lists the underlying datasets. Contains Ordnance Survey data (c) Crown copyright and database right 2025. Contains Royal Mail data (c) Royal Mail copyright and database right 2025. Contains National Statistics data (c) Crown copyright and database right 2025.

This independent Actor is not affiliated with HM Land Registry or postcodes.io.

### FAQ

**Can I search a district instead of a full postcode?** Yes. Supply an outward code such as `M1`, `SW1V` or `CF10`. Full-postcode and district matching are both supported.

**Why is a sale missing?** It may not yet be registered, may be outside the source's coverage or your filters, or may use a different historical postcode or postal town. Check the query outcomes and completeness flags before treating a missing row as evidence of no sale.

**Is an empty search charged?** There is no sale or successful-run fee without a delivered sale. The platform start charge still applies.

# Actor input Schema

## `postcodes` (type: `array`):

Full postcode or outward district, for example SW1A 1AA, SW1A or M1. Searches are combined as a union, with duplicates removed.

## `streets` (type: `array`):

Objects with street and town. Street is a case-insensitive substring; town is an exact postal town. Example: \[{"street":"HIGH STREET","town":"OXFORD"}].

## `towns` (type: `array`):

Exact postal towns such as MANCHESTER, BATH, CARDIFF or LONDON. Added to postcode and street searches, not intersected.

## `propertyTypes` (type: `array`):

D detached, S semi-detached, T terraced, F flat/maisonette, O other. Names also work. Empty includes every source type.

## `dateFrom` (type: `string`):

Inclusive YYYY-MM-DD, no earlier than 1995-01-01. Empty uses a rolling twelve months before the run starts.

## `dateTo` (type: `string`):

Inclusive YYYY-MM-DD. Empty uses the run start date. Recent registrations are incomplete.

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

Inclusive minimum recorded sale price in pounds.

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

Inclusive maximum recorded sale price in pounds.

## `newBuildOnly` (type: `boolean`):

Only source records explicitly marked as new builds.

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

Maximum unique sale rows across all inputs. Inputs are processed in order, newest sale first within an input. If maxResults is also supplied, the smaller cap wins.

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

Optional alias for maxItems. The smaller supplied cap always wins, including when Apify adds the maxItems default.

## `includeCoordinates` (type: `boolean`):

Add postcode centroids from the free postcodes.io service. These are not building coordinates. Missing postcodes keep null coordinates.

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

Uses the account default datacenter proxy first, with GB residential retry. Disable the proxy or specify groups, country or custom URLs to preserve your explicit choice.

## Actor input object example

```json
{
  "postcodes": [
    "SW1V"
  ],
  "newBuildOnly": false,
  "maxItems": 20,
  "includeCoordinates": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `sales` (type: `string`):

No description

## `details` (type: `string`):

No description

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

No description

# 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 = {
    "postcodes": [
        "SW1V"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/uk-house-prices-land-registry").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 = {
    "postcodes": ["SW1V"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/uk-house-prices-land-registry").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 '{
  "postcodes": [
    "SW1V"
  ],
  "maxItems": 20
}' |
apify call moggedhq/uk-house-prices-land-registry --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/uk-house-prices-land-registry"
        }
    }
}
```

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/or9Ah1474S5lx0h6g/builds/AyqhJwJFAaK4f6boE/openapi.json
