{"uid":"cap_TOCk_koOUg2-_GG8N4IT3","slug":"postcode-context-uk-outward-district-summary-outcode-e71f7762","name":"Postcode Context UK - Outward District Summary (Outcode)","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/%7Boutcode%7D?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","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"}}}}},"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_uX1kp8a6hCGdzS7_MLmlB","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, broadband, and AI affluence data for a UK outward postal district code (e.g. SW1A, M1)","exampleAgentPrompt":"Give me a full socio-economic and property market briefing for the BB7 postcode district — I want demographics, deprivation decile, median house prices, broadband quality, and the AI affluence score.","exampleUseCases":[{"title":"Site selection for retail expansion","prompt":"We're thinking of opening a new shop in the M1 district — can you pull together the demographic profile, deprivation index, income affluence score, and broadband quality so we can assess the opportunity?"},{"title":"Property investment due diligence","prompt":"I'm considering buying investment properties in the SW1A area — can you get me the district-level median transaction prices, EPC ratings, and socio-economic profile from the postcode data?"},{"title":"Charity needs assessment by area","prompt":"We're allocating outreach funding and need to understand deprivation levels in the LS1 postal district — can you get me the IMD decile, census demographics, and affluence score for that outcode?"}],"resultDescription":"A JSON object containing district-wide aggregated data for the requested outcode, including: ONS Census 2021 demographic breakdowns, Index of Multiple Deprivation 2019 decile, HM Land Registry median property transaction prices, Open EPC energy performance ratings distribution, Ofcom broadband connectivity metrics, and a pre-synthesised AI affluence score with a dense natural-language context briefing suitable for LLM context windows.","failureModes":["Invalid or malformed outcode returns a 400 or empty results array","Non-existent outcode with no data returns empty results","Payment not completed via x402/RapidAPI returns 402 Payment Required","Rate limiting or gateway errors return 429 or 503","Outcodes covering very small areas may have suppressed census data due to ONS disclosure control"],"whenToPreferThis":"Choose this endpoint when you need district-level (outcode) aggregated intelligence across multiple data sources (demographics, deprivation, property, broadband, energy) for a UK area in a single call. Prefer this over the single-postcode endpoint when you want a broader area summary rather than granular sector-level data, or when you want district medians for property pricing and want the pre-synthesised AI affluence score for LLM context injection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:47:33.830Z","isFirstParty":false,"canonicalSlug":"postcode-context-uk-outward-district-summary-outcode-e71f7762"}