{"uid":"cap_ZgpE035gxQyXSrF2GNg_Q","slug":"uk-postcode-autocomplete-56ed039a","name":"UK Postcode Autocomplete","description":"Autocomplete a partial UK postcode into a list of full postcode suggestions.","url":"https://postcode-api-production.up.railway.app/lookup/autocomplete","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of suggestions to return (1-100, default 10)."},"partial":{"type":"string","description":"Partial UK postcode to autocomplete, e.g. 'SW1A'."}}},"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_0gfr7OzPuOv2UqQGUzRIj","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":"Autocompletes a partial UK postcode string into a list of full postcode suggestions","exampleAgentPrompt":"Can you autocomplete the partial UK postcode 'SW1A' and give me up to 20 full postcode suggestions?","exampleUseCases":[{"title":"Address form postcode typeahead","prompt":"I'm building an address entry form — as the user types 'EC1A', can you fetch up to 15 matching UK postcodes so I can show them a dropdown to pick from?"},{"title":"Delivery zone postcode lookup","prompt":"I need to find all UK postcodes that start with 'M1' — can you return up to 50 suggestions so I can check which ones fall in our delivery zone?"},{"title":"Location-aware app onboarding","prompt":"A user just typed 'BS1' in the postcode field of our app — can you autocomplete that into a list of up to 10 full UK postcodes they can choose from?"}],"resultDescription":"Returns a list of full UK postcode strings that match the supplied partial prefix, up to the requested limit (default 10, max 100). Each suggestion is a complete, valid UK postcode derived from the partial input.","failureModes":["Empty or missing 'partial' field returns an error or empty results","Limit outside 1-100 range is rejected","Non-UK postcode format prefix may return no suggestions","Network or service unavailability returns a 5xx error","Payment failure via x402 prevents the response from being returned"],"whenToPreferThis":"Use this endpoint when you need real-time postcode typeahead or autocomplete functionality — for example, powering a UI dropdown as a user types, or programmatically expanding a known partial postcode prefix into candidate full postcodes. Prefer this over the free-text address search sibling when you already have a partial postcode (not a place name or street address) and want clean, structured postcode-only results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:32:15.135Z","isFirstParty":false}