# Postcode Context UK – Outward Postal District Summary

> Postcode Context UK – Outward Postal District Summary is a paid API for AI agents from api.postcodecontext.uk, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-23).

Returns district-wide median property prices, transaction volume, and dominant affluence tiers for a given UK outward postcode (outcode)

## Facts

- Endpoint: GET https://api.postcodecontext.uk/api/v1/outcode/:outcode?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/postcode-context-uk-outward-postal-district-summary-3c996314
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EtRshHYEpJnM6elAI8U8L

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 postcode-context-uk-outward-postal-district-summary-3c996314
```

Example prompt: Can you pull up the district-level property summary for the SW1A outcode — I want to see the median prices, how many transactions there have been, and what affluence tier that district sits in?

## When to prefer this

Use this endpoint when you need an aggregated, district-level view of a UK postal area rather than single-postcode granularity. It is ideal for comparing broad geographic areas, screening investment zones, or enriching location data at the outcode level. Prefer the single-postcode endpoint when granular, address-level demographics are needed; use this outcode endpoint when a high-level district summary with price and affluence context is sufficient.

## Known failure modes

- Invalid or malformed outcode returns a 400 error
- Unrecognised or non-existent outcode returns a 404 not found
- Outcode with insufficient transaction data may return sparse or null price fields
- Missing payment header (x402) results in a 402 payment required response
- Rate limiting may cause 429 responses under high request volume

## How this service works

GET /api/v1/outcode/:outcode - Outward Postal District Summary (district-wide median prices, transaction volume, and dominant affluence tiers)

## Output

A district-level summary for the given UK outcode including: median property sale prices, total or recent transaction volume, and the dominant affluence tier(s) characterising that postal district

## 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",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "outcode"
     ],
     "properties": {
      "outcode": {
       "type": "string",
       "default": "BB7",
       "description": "Outward postal district code (e.g. BB7, SW1A, M1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/postcode-context-uk-outward-postal-district-summary-3c996314/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.postcodecontext.uk](https://www.zero.xyz/host/api.postcodecontext.uk/llms.txt)
