{"uid":"cap_LpiGk1x0-3pTE0wB2LzIG","slug":"postcode-context-uk-single-postcode-socio-economic-profile-aea3aa3b","name":"Postcode Context UK - Single Postcode Socio-Economic Profile","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/postcode/%7Bpostcode%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":["postcode"],"properties":{"postcode":{"type":"string","default":"SW1A1AA","description":"Great Britain postcode (e.g. SW1A 1AA, BB7 3BB)"}}},"queryParams":{"type":"object","properties":{"view":{"enum":["full","brief","summary","property","demographics"],"type":"string","default":"full","description":"Slice target view: full, brief (~80 tokens), summary, property, or demographics"},"format":{"enum":["json","flat","csv"],"type":"string","default":"json"}}}},"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_i4gJli0OZCzK84-x9icQd","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 a rich socio-economic profile for a UK postcode, combining ONS Census 2021 demographics, IMD deprivation deciles, Land Registry property prices, EPC energy ratings, broadband speeds, and an AI-generated affluence score.","exampleAgentPrompt":"Can you pull the full socio-economic profile for postcode SW1A 1AA — I want demographics, deprivation decile, property prices, and the affluence score?","exampleUseCases":[{"title":"Property investment due diligence","prompt":"Before I make an offer on a house in BB7 3BB, can you give me the full postcode context — property transaction history, deprivation decile, demographics, and affluence score — so I can judge whether it's a good investment area?"},{"title":"Customer segmentation by postcode","prompt":"I have a customer whose postcode is E1 6RF — can you look up the demographics and affluence score for that postcode so I can segment them correctly in our CRM?"},{"title":"Broadband and EPC check for rental listing","prompt":"I'm listing a rental property in M1 1AE — can you check the postcode for broadband connectivity ratings and EPC energy efficiency scores so I can include accurate details in the listing?"}],"resultDescription":"A structured JSON (or flat/CSV) object containing: ONS Census 2021 demographic breakdowns, Index of Multiple Deprivation 2019 decile, HM Land Registry recent property transaction records, Open EPC energy performance ratings, Ofcom broadband speed data, a pre-computed AI affluence score, and a dense natural-language context briefing suitable for AI context windows. Response depth is controlled by the 'view' parameter (full, summary, property, or demographics).","failureModes":["Invalid or malformed postcode returns a 400 error or empty results","Scottish or Northern Irish postcodes outside ONS coverage may return partial data","Payment not settled via x402 or RapidAPI returns a 402 Payment Required response","Rate limiting or quota exceeded returns a 429 response","Network or Cloudflare edge node failure returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a single, comprehensive socio-economic snapshot of a UK postcode that combines multiple official datasets (demographics, deprivation, property, energy, broadband) in one call with a pre-computed affluence score. Prefer over raw ONS or Land Registry APIs when you want pre-synthesised, AI-ready context without stitching multiple data sources yourself. Use the 'summary' view to minimise token usage in LLM context windows. Best suited for property intelligence, customer segmentation, risk assessment, or any UK location-enrichment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:45:17.626Z","isFirstParty":false,"canonicalSlug":"postcode-context-uk-single-postcode-socio-economic-profile-aea3aa3b"}