{"uid":"cap__sHWlOVkeWlrqM1p-gBSK","slug":"postcode-context-uk-single-postcode-socio-economic-profile-182d6074","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?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":["postcode"],"properties":{"view":{"enum":["full","brief","summary","property","demographics"],"type":"string","default":"full"},"format":{"enum":["json","flat","csv"],"type":"string","default":"json"},"postcode":{"type":"string","default":"SW1A 1AA","description":"Great Britain postcode (e.g. SW1A 1AA, BB7 3BB)"}}}},"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_p4t5XoDA2b15J5KSSiEXs","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 comprehensive socio-economic profile for a single UK postcode, including ONS Census 2021 demographics, IMD deprivation deciles, Land Registry property prices, EPC energy ratings, Ofcom broadband data, and AI-generated affluence scores.","exampleAgentPrompt":"Can you pull the full socio-economic profile for postcode SW1A 1AA — I want demographics, deprivation scores, property prices, and the AI affluence score for that area?","exampleUseCases":[{"title":"Property investment area assessment","prompt":"I'm looking at buying a rental property in the E1 6RF postcode — can you give me the full breakdown including recent Land Registry transactions, deprivation decile, demographics, and the affluence score so I can decide if it's a good investment?"},{"title":"Charity grant eligibility screening","prompt":"We need to check whether the postcode BB7 3BB qualifies as a deprived area for our grant programme — can you look up the IMD deprivation decile and demographic summary for it?"},{"title":"Sales territory socioeconomic profiling","prompt":"Before our sales team targets the M1 1AE area, can you get me a demographic and affluence profile for that postcode including income indicators and broadband connectivity?"}],"resultDescription":"A structured JSON object (or flat/CSV if requested) containing: ONS Census 2021 demographic breakdowns, Index of Multiple Deprivation 2019 decile, HM Land Registry property transaction records, Open EPC energy performance ratings, Ofcom broadband speed/coverage metrics, and a pre-synthesised AI affluence score with a dense natural-language context briefing suitable for use in an LLM context window.","failureModes":["Invalid or non-existent postcode returns an error or empty results array","Scottish/Northern Irish postcodes outside ONS Census 2021 scope may return partial data","Missing or malformed 'postcode' query parameter causes a 400-level error","Payment failure via x402/RapidAPI gateway blocks the request","Rate limiting or upstream data source outage may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a rich, multi-dimensional socio-economic profile for a single UK postcode in one call, especially when you need ONS demographics, IMD deprivation, property prices, EPC ratings, and broadband data combined with an AI-generated affluence score and LLM-ready context briefing. Prefer it over generic postcode-to-coordinates lookups or single-dataset sources when depth and AI-readiness matter. Use the batch or compare endpoints for multiple postcodes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:49:22.641Z","isFirstParty":false,"canonicalSlug":"postcode-context-uk-single-postcode-socio-economic-profile-aea3aa3b"}