{"uid":"cap_sfS3AwW1nOtwKG30-YGrr","slug":"postcode-context-uk-outward-district-summary-api-91869d86","name":"Postcode Context UK - Outward District Summary API","description":"High-performance, 100% stateless UK postcode context API and Remote MCP Server running on Cloudflare Workers edge nodes. Combines ONS Census 2021 demographics, Index of Multiple Deprivation (IMD 2019) deciles, HM Land Registry transaction records, Open EPC Register ratings, and Ofcom broadband connectivity under OGL v3.0. Features pre-synthesised AI affluence scores and dense context window briefings. Fully monetised natively via x402 v2 (USDC on Base Mainnet) and RapidAPI Gateway.","url":"https://api.postcodecontext.uk/api/v1/outcode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["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"}}}}},"responseSchema":{"type":"json","example":{"results":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Sksn48bJHBjzYh8lZ9RGN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns district-wide demographic, deprivation, property price, EPC, and broadband data for a UK outward postal district (outcode)","exampleAgentPrompt":"Can you pull up the full socio-economic profile for the BB7 postal district — I want to see demographics, deprivation decile, typical property prices, and broadband connectivity for that outcode.","exampleUseCases":[{"title":"Property investment district screening","prompt":"I'm looking at investing in residential property — can you get me a district-level summary for the M1 outcode, including median prices, IMD deprivation score, and any broadband or EPC data?"},{"title":"Charity targeting by deprivation level","prompt":"We're planning outreach for a poverty-relief charity — can you look up the deprivation decile and demographics for the WV1 outward postal district so we can see if it qualifies for our programme?"},{"title":"Relocation neighbourhood research","prompt":"We're thinking of moving to the Bristol area — can you give me a demographic and affluence overview of the BS1 postal district, including typical property prices and what the area is like socio-economically?"}],"resultDescription":"A JSON object containing district-wide aggregate data for the requested outcode: ONS Census 2021 demographic breakdowns, Index of Multiple Deprivation decile, median and recent HM Land Registry property transaction prices, Open EPC energy rating distributions, Ofcom broadband speed/availability data, and an AI-synthesised affluence score with a dense contextual narrative briefing.","failureModes":["Invalid or malformed outcode returns a 400 error","Outcode not found in dataset returns empty results array","Missing required outcode query parameter returns validation error","Payment failure or insufficient USDC balance returns 402","Rate limiting may occur under high load on edge nodes"],"whenToPreferThis":"Use this endpoint when you need district-level (outcode) aggregate statistics rather than a single postcode's profile. It is ideal for area comparison, investment screening, or demographic research where broad district-level trends matter more than granular per-postcode data. It covers all major UK data sources (ONS, IMD, Land Registry, EPC, Ofcom) in one call, saving multiple lookups. Prefer the /api/v1/postcode/:postcode endpoint when you need full detail for a specific postcode rather than a district summary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:35:00.010Z","isFirstParty":false,"canonicalSlug":"postcode-context-uk-outward-district-summary-api-91869d86"}