# UK Postcode Report

> UK Postcode Report is a paid API for AI agents from uk-postcode-report.agent-fee-check.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Returns a comprehensive local area report for any UK postcode, covering property sales, house price index, crime, flood risk, food hygiene, MP/constituency, and NHS services in a single call.

## Facts

- Endpoint: GET https://uk-postcode-report.agent-fee-check.workers.dev/report?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-postcode-report-3f12545e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q7Y-BAFdAIrAqwkdGAX6f

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-postcode-report-3f12545e
```

Example prompt: Can you pull a full local area report for the postcode SW1A 2AA — I want to see recent property sales, crime stats, flood risk, nearby NHS services, and who the local MP is?

## When to prefer this

Use this endpoint when you need a broad, multi-dimensional local area snapshot for a UK postcode in a single API call rather than querying Land Registry, Police API, Environment Agency, FSA, Parliament, and NHS APIs separately. Ideal for property research, relocation decisions, insurance underwriting, and any workflow where aggregated UK local intelligence is needed quickly without managing multiple upstream API integrations.

## Known failure modes

- Invalid or malformed postcode returns an error or all sections with not_covered status
- Postcode outside England/Wales may return not_covered for some sections (e.g. crime data)
- Upstream government APIs may be temporarily unavailable, causing individual sections to return unavailable status
- Remote or very rural postcodes may have no recent property sales or crime data, returning none status
- Payment of $0.05 USDC required per call; missing or invalid payment returns 402

## How this service works

One call, one UK postcode, the whole picture: recent property sales and the official House Price Index, street crime for the latest month, live flood warnings, food hygiene ratings, the constituency and MP, and nearby NHS GP practices, pharmacies and dentists. Each section reports separately and says when its source does not cover the postcode. Use for home moves, property due diligence, relocation, insurance and local-area research.

## Output

A structured JSON object with a top-level summary string and individual sections for property_sales, house_price_index, crime, flood, food_hygiene, mp, and nhs. Each section has a status (ok, not_covered, none, or unavailable), a human-readable summary string, and a data object. Also includes postcode, location (country, district), retrieval timestamp, sections_ok count, and a list of source URLs.

## 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 UK postcode, 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": {
  "sources": [
   "Contains HM Land Registry data ..."
  ],
  "summary": "LU6 3BS, Central Bedfordshire. ...",
  "location": {
   "country": "England",
   "district": "Central Bedfordshire"
  },
  "postcode": "LU6 3BS",
  "sections": {
   "mp": {
    "data": {
     "constituency": "Dunstable and Leighton Buzzard"
    },
    "status": "ok",
    "summary": "LU6 3BS is in Dunstable and Leighton Buzzard."
   },
   "nhs": {
    "data": {
     "district": "LU6"
    },
    "status": "ok",
    "summary": "3 GP practices, 5 pharmacies, 5 dental practices active in LU6."
   },
   "crime": {
    "data": {
     "month": "2026-08",
     "total": 226
    },
    "status": "ok",
    "summary": "226 crimes recorded within 1 mile of LU6 3BS in 2026-08."
   },
   "flood": {
    "data": {
     "highest_severity": null,
     "active_warning_count": 0
    },
    "status": "ok",
    "summary": "No active flood warnings or alerts within 5 km of LU6 3BS."
   },
   "food_hygiene": {
    "data": {
     "count": 3,
     "average_rating": 5
    },
    "status": "ok",
    "summary": "3 food businesses for LU6 3BS, average rating 5 out of 5."
   },
   "property_sales": {
    "data": {
     "sales_count": 11,
     "median_price_gbp": 72000
    },
    "status": "ok",
    "summary": "11 recorded sales in LU6 3BS between 1997 and 2019. Median £72,000; latest £150,000 on 2019-08-23."
   },
   "house_price_index": {
    "data": {
     "area": "Central Bedfordshire",
     "month": "2026-07",
     "average_price_gbp": 356758
    },
    "status": "ok",
    "summary": "Average house price in Central Bedfordshire was £356,758 in 2026-07, up 1.2% on a year earlier."
   }
  },
  "sections_ok": 7,
  "retrieved_at": "2026-10-10T18:00:00.000Z"
 }
}
```

## More

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