{"uid":"cap_Pu_zIGx8y2lfrWtsbH5-v","slug":"verify-uk-postcode-validator-4667ad4a","name":"Verify UK Postcode Validator","description":"Pay-per-call UK verification tools for AI agents: validators, business checks and website trust checks from official UK public data. Pay with USDC via x402 - no account, no API key.","url":"https://verify-uk.verifyuk.workers.dev/v1/validate/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":{"postcode":{"type":"string","description":"UK postcode, any spacing/case"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"valid":true,"exists":true,"region":"London","latitude":51.51,"longitude":-0.07,"normalised":"E1 8DE","admin_district":"Tower Hamlets"}},"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_kHuhNtdFikc3SJzbPCYHu","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":"Validates a UK postcode, checks if it exists, and returns geographic and administrative data including coordinates and region.","exampleAgentPrompt":"Can you check whether the postcode E1 8DE is valid and tell me what region and borough it belongs to?","exampleUseCases":[{"title":"Address form validation at checkout","prompt":"A customer just entered 'SW1A2AA' as their postcode — can you check if it's valid and return the normalised format so I can store it correctly?"},{"title":"Geocoding delivery address for routing","prompt":"I need the latitude and longitude for the postcode 'M1 1AE' so I can plot it on a delivery map — can you look that up?"},{"title":"Verifying user-submitted postcode in a lead form","prompt":"Someone filled in 'ZZ99 9ZZ' as their UK postcode on our sign-up form — is that a real postcode, or did they just type something random?"}],"resultDescription":"Returns a JSON object indicating whether the postcode is validly formatted (valid), whether it actually exists in official UK data (exists), the normalised postcode string, the region name, latitude and longitude coordinates, and the admin district (local authority).","failureModes":["Missing postcode query parameter returns a 400 or validation error","Non-UK or nonsensical string returns valid:false and exists:false","Payment not provided or insufficient USDC returns 402 Payment Required","Postcode format is valid but postcode has been retired/discontinued — may return exists:false","Network timeout on the Cloudflare Worker edge node"],"whenToPreferThis":"Use this endpoint when you need to validate, normalise, or geocode a UK postcode in a pay-per-use model with no account setup. It is ideal for agents handling UK address data, form validation, or delivery logistics where you need both format correctness and real-world existence confirmed against official UK data. Prefer it over heavyweight address APIs when you only need postcode-level data and want micro-payment billing via USDC with no subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:22.777Z","isFirstParty":false,"canonicalSlug":"verify-uk-postcode-validator-4667ad4a"}