{"uid":"cap_YU65oCBkDL5qUnc9GPk38","slug":"uk-open-data-outcode-lookup-bcda6dc7","name":"UK Open Data – Outcode Lookup","description":"Look up a UK outcode (e.g. EC1A, SW1A, M1): centre coordinates, districts, wards, parishes and constituencies it covers.","url":"https://uk-open-data.x402tookit.com/outcode-lookup?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","description":"Outward code, e.g. EC1A, W1A, M1, B33, CR2, DN55"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]},"asOf":{"type":["null","string"]},"wards":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"outcode":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"counties":{"type":["array","null"]},"degraded":{"type":["boolean","null"]},"parishes":{"type":["array","null"],"items":{"type":"string"}},"countries":{"type":["array","null"],"items":{"type":"string"}},"districts":{"type":["array","null"],"items":{"type":"string"}},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"constituencies":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_azCd_GnATPKygsUIGVZhj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns centre coordinates, administrative districts, wards, parishes, and constituencies for a given UK outward postal code (outcode).","exampleAgentPrompt":"What wards, districts, and constituencies are covered by the EC1A outcode, and what are its centre coordinates?","exampleUseCases":[{"title":"Mapping electoral boundaries for canvassing","prompt":"I'm planning a door-knocking campaign — can you tell me which constituencies and wards fall within the SW1A outcode so I know which areas to target?"},{"title":"Geocoding a postcode area for logistics","prompt":"We're planning deliveries across the M1 postcode area — can you get me the centre latitude and longitude for M1 along with which districts it covers?"},{"title":"Identifying local councils for a property search","prompt":"I'm looking at properties in the B33 outcode — which local government districts and parishes cover that area?"}],"resultDescription":"A JSON object containing the outcode itself, centre latitude and longitude, and arrays of administrative entities (districts, wards, parishes, constituencies, counties, countries) that the outcode spans, plus metadata such as data source, 'as of' date, disclaimer, and a degraded flag indicating if the response is partial.","failureModes":["Invalid or unrecognised outcode returns null fields or an error verdict","Outcode exists but has no associated administrative data — partial/degraded response with degraded:true","Missing required 'outcode' query parameter returns a validation error","Network timeout or upstream data source unavailability"],"whenToPreferThis":"Use this endpoint when you need administrative boundary data (wards, parishes, constituencies, districts) for a UK outward postal code rather than a full postcode. It is more appropriate than a full postcode lookup when you only have the outward portion of a postcode and need to enumerate all the administrative areas it spans. Prefer the full postcode endpoint when you have a complete postcode and need precise single-point data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-05T00:32:29.137Z","isFirstParty":false,"canonicalSlug":"uk-open-data-outcode-lookup-bcda6dc7"}