# UK House Price Index

> UK House Price Index is a paid API for AI agents from uk-house-price-index.agent-fee-check.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Returns the official UK House Price Index statistics for the local authority of a given England or Wales postcode, including average price, monthly/annual changes, property type breakdown, and first-time buyer data.

## Facts

- Endpoint: GET https://uk-house-price-index.agent-fee-check.workers.dev/hpi?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-house-price-index-18cc0a9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NJOaWVrVSQ0_VVglscJHy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-house-price-index-18cc0a9a
```

Example prompt: What's the latest official house price index data for the SW1A 1AA postcode — give me the average price, annual change, and first-time buyer average for that local authority area?

## When to prefer this

Choose this endpoint when you need official, government-sourced UK house price statistics at the local authority level derived from a postcode. It is ideal for property valuations, affordability analysis, investment research, and market trend monitoring in England and Wales. Prefer it over scraping property portals (Rightmove, Zoopla) when you need authoritative Land Registry benchmark data rather than asking prices. Not suitable for individual property transaction history (use the Land Registry Price Paid API for that) or for Scottish/Northern Irish properties.

## Known failure modes

- Postcode not found or invalid format — returns error if the postcode cannot be resolved to a local authority
- Postcode outside England or Wales (e.g. Scottish or Northern Irish postcodes) — not covered by this dataset
- HPI data not yet published for the most recent month — may return the previous month's figures
- Local authority with no recent HPI data — some fields such as annual_change_pct or first_time_buyer_gbp may be null
- Payment failure — x402 micropayment not completed, returns 402 status

## How this service works

The official UK House Price Index for a postcode's local authority in England or Wales: latest published monthly average price, monthly and annual change, index value, average price by property type and for first-time buyers. Use for area price trends, valuations and market research alongside individual sales data.

## Output

Returns a JSON object containing the local authority area name, the reference month of the latest HPI data, the average house price in GBP, percentage monthly and annual price changes, the HPI index value, a breakdown of average prices by property type (detached, semi-detached, terraced, flat), the average price for first-time buyers, the input postcode, and a human-readable summary string. All figures are sourced from the official HM Land Registry UK House Price Index.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "postcode"
     ],
     "properties": {
      "postcode": {
       "type": "string",
       "description": "Full postcode in England or Wales, e.g. LU6 3BS"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "area": "Central Bedfordshire",
  "index": 102.5,
  "month": "2026-07",
  "summary": "Average house price in Central Bedfordshire was £356,758 in 2026-07, up 1.2% on a year earlier.",
  "postcode": "LU6 3BS",
  "by_type_gbp": {
   "detached": 609817,
   "terraced": 299825,
   "semi_detached": 377901,
   "flat_maisonette": 173264
  },
  "retrieved_at": "2026-10-11T18:16:45.187Z",
  "annual_change_pct": 1.2,
  "average_price_gbp": 356758,
  "monthly_change_pct": 0.6,
  "first_time_buyer_gbp": 300772
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-house-price-index-18cc0a9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-house-price-index.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-house-price-index.agent-fee-check.workers.dev/llms.txt)
