Check the coordinate type.
Use a postcode centroid for your area context. Check coordinate_accuracy on address results, and handle postcodes with no published coordinates.
Choose your lookup, copy the request and inspect the response. For an interactive view of live results, open the playground.
Open the live playgroundcurl --fail --get \
'https://api.postcoders.co.uk/v1/postcodes/SW1A%201AA' \
--header 'Accept: application/json'Find a postcode centroid and its geographic context.
Use a postcode centroid for your area context. Check coordinate_accuracy on address results, and handle postcodes with no published coordinates.
Respect a 429 response and the Retry-After header. Debounce address input and cancel searches your customer has already replaced.
Let your customer enter an address manually when no open record matches. Treat empty results separately from a connection problem.
Follow the source licences when you use or redistribute results. Check the coverage page before relying on a location in your product.
Start with your postcode or part of an address.
Find a place