# UK House Prices – HM Land Registry Sold Prices (`zriil/uk-house-prices`) Actor

Sold house prices in England and Wales from HM Land Registry's official Price Paid Data. Search by postcode (district, sector or full) or local authority, filter by date, price, property type, new build and tenure. Clean JSON; addresses are shown at street + postcode-district level.

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

## Pricing

from $1.40 / 1,000 sale records

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/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 – HM Land Registry Sold Prices

Sold house prices for **England and Wales** from HM Land Registry's official **Price Paid Data**. Search by postcode district, sector or full postcode, filter by date, price, property type, new build and tenure, and get clean JSON ready for spreadsheets, dashboards and valuation models.

Useful for comparable sales ("comps"), local market research, buy-to-let analysis, price trend charts and property apps.

### What you get

| Field | Example |
|---|---|
| `price` | `925500` (GBP) |
| `dateSold` | `2026-07-10` |
| `propertyType` | `detached`, `semi-detached`, `terraced`, `flat`, `other` |
| `newBuild` | `false` |
| `tenure` | `freehold` / `leasehold` |
| `street`, `locality`, `town` | `Parker Street`, `Cambridge` |
| `postcodeDistrict` | `CB1` |
| `localAuthority`, `county` | `Cambridge`, `Cambridgeshire` |
| `transactionCategory` | `standard` or `additional` (repossessions, buy-to-let, company transfers…) |
| `source` | Required attribution |

### Input

- **Postcodes**: districts (`CB1`, `SW1A`, `M1`), sectors (`CB1 1`) or full postcodes (`CB1 1DS`). Use exact postcode districts; `SW1` alone is not a district.
- **Date range**: defaults to the last 12 months. Land Registry data lags about two months behind.
- **Filters**: property types, new build / established, freehold / leasehold, min / max price, and whether to include "additional" (non-standard) transactions.
- **Max results**: caps how many sales you are charged for.

### Monitoring: only new deals

Turn on **Only new results (monitoring)** and add an Apify **schedule** (e.g. weekly). Each run remembers what it already returned and gives you **only new transactions** — you are charged only for those. The first run returns all current matches. Use different **monitor names** to track several areas separately (e.g. `cambridge-cb1`, `leeds-ls6`).

### Pricing

You pay per sale returned. Queries that time out at the source and filtered-out sales are **not charged**.

### Address level

Address data in Price Paid Data comes from Royal Mail / Ordnance Survey and may be displayed for residential property price information. This tool therefore shows **street and postcode district only** — no house numbers, flat names, full postcodes or transaction IDs. It is built for price research, not for identifying individual homes or owners.

### Notes

- Contains HM Land Registry data © Crown copyright and database right. This data is licensed under the Open Government Licence v3.0. Attribution is included in every record.
- Covers England and Wales only (Scotland and Northern Ireland are not in Price Paid Data).
- Queries are spaced at least 2 seconds apart to respect the public service.
- This tool is not affiliated with HM Land Registry.

# Actor input Schema

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

Postcode districts (CB1, SW1A, M1), sectors (CB1 1) or full postcodes (CB1 1DS). Use exact postcode districts: SW1 alone is not a district (use SW1A, SW1P …).

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

YYYY-MM-DD. Default: 12 months ago. Note: Land Registry data lags about 2 months behind.

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

YYYY-MM-DD. Default: today.

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

Leave empty for all.

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

Newly built properties or established ones.

## `tenure` (type: `string`):

Freehold or leasehold.

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

Lowest sold price to keep.

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

Highest sold price to keep.

## `includeAdditional` (type: `boolean`):

Category B: repossessions, buy-to-lets, transfers to companies and other non-standard sales. Off = standard market sales only.

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

Stop after this many sales (you are charged per sale returned).

## `onlyNew` (type: `boolean`):

Remember what earlier runs returned and only return records not seen before (per monitor name). Pair with an Apify schedule to get new deals only. The first run returns all current matches. You are charged only for new records.

## `monitorName` (type: `string`):

Separate memory per name, e.g. one monitor per area. Letters, digits and dashes.

## Actor input object example

```json
{
  "postcodes": [
    "CB1"
  ],
  "newBuild": "any",
  "tenure": "any",
  "includeAdditional": false,
  "maxItems": 1000,
  "onlyNew": false,
  "monitorName": "default"
}
```

# Actor output Schema

## `results` (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": [
        "CB1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zriil/uk-house-prices").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": ["CB1"] }

# Run the Actor and wait for it to finish
run = client.actor("zriil/uk-house-prices").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": [
    "CB1"
  ]
}' |
apify call zriil/uk-house-prices --silent --output-dataset

```

## MCP server setup

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

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/CQoc2OhbS51j8UmqD/builds/QMVH6zeCszQETFC3w/openapi.json
