{"uid":"cap_MFwucoDX8Zllasn5PoaE2","slug":"uk-postcode-lookup-ae1f2228","name":"UK Postcode Lookup","description":"Look up a UK postcode: coordinates, country, region, council, ward, parish, parliamentary constituency, and ONS/NHS area codes.","url":"https://postcode-api-production.up.railway.app/lookup/postcode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"postcode":{"type":"string","description":"UK postcode to look up; spacing and case are normalised, e.g. 'SW1A 1AA'."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l6C7EwGGAdEJBsNPNDhWL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up full geographic and administrative details for a UK postcode, including coordinates, country, region, council, ward, parish, parliamentary constituency, and ONS/NHS area codes.","exampleAgentPrompt":"Can you look up postcode SW1A 1AA and tell me its coordinates, region, local council, and parliamentary constituency?","exampleUseCases":[{"title":"Geocoding addresses for delivery routing","prompt":"I have a UK address with postcode EC2A 4NE — can you get me the latitude and longitude so I can plot it on a map?"},{"title":"Finding local council for a resident","prompt":"My customer just gave me their postcode as M1 1AE — which local council and ward do they fall under?"},{"title":"Enriching records with NHS area codes","prompt":"I need to find the NHS area codes and ONS region code for postcode BS1 4DJ to match it against our health dataset."}],"resultDescription":"Returns a structured record for the given UK postcode including: normalised postcode, latitude/longitude coordinates, country, region, district/council, ward, parish, parliamentary constituency, and ONS and NHS area codes.","failureModes":["Invalid or non-existent postcode returns an error or empty result","Postcode for a newly assigned area may not yet be in the dataset","Malformed input (e.g. missing letters) may return a validation error","Network or server errors on the Railway-hosted service may return 5xx responses"],"whenToPreferThis":"Use this endpoint when you need comprehensive administrative and geographic metadata for a single known UK postcode — especially when you need ONS/NHS area codes, council, ward, or constituency data alongside coordinates. It is more suitable than a generic geocoder when UK-specific administrative boundaries are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:07.467Z","isFirstParty":false}