# UK House Price Index by Postcode

> UK House Price Index by Postcode is a paid API for AI agents from uk-data.agent-fee-check.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-27).

Returns the latest House Price Index data for a UK postcode, including average prices, annual/monthly changes, and breakdown by property type.

## Facts

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

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-by-postcode-0ab0f0b0
```

Example prompt: What's the latest House Price Index data for postcode SW1A 2AA — give me the average price, the annual change, and a breakdown by property type?

## When to prefer this

Choose this endpoint when you need authoritative, official UK House Price Index data tied to a specific postcode, including property-type breakdowns and first-time buyer figures. Prefer it over generic property search APIs when the user needs HPI index values, percentage changes, or official Land Registry sourced averages rather than individual listing prices.

## Known failure modes

- Invalid or malformed postcode returns an error — postcode must be a valid full England or Wales postcode
- Scottish or Northern Irish postcodes may not be covered by HM Land Registry HPI data
- Very new or rural postcodes with few transactions may have no index data available
- Payment failure returns a 402 with a free preview of the response before charging
- Network or upstream HM Land Registry unavailability returns a service error

## How this service works

UK public data for AI agents, one origin, pay per call: a one-call postcode report, street crime, live flood warnings, property sales and the House Price Index, food hygiene ratings, MP lookup, NHS GPs, pharmacies and dentists, Companies House checks and search, UK working days and bank holidays, and the cheapest card machine provider. Official sources, attribution in every answer, free preview in every 402, failed requests never charged.

## Output

A JSON object containing the area name, latest HPI index value, report month, average house price in GBP, annual and monthly percentage changes, prices broken down by property type (detached, semi-detached, terraced, flat/maisonette), first-time buyer average price, and a plain-English summary sentence. Also includes the queried postcode and retrieval timestamp.

## 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-by-postcode-0ab0f0b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-data.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-data.agent-fee-check.workers.dev/llms.txt)
