Cookie

We use cookies to improve your experience on our site, and to provide a live chat feature. To find out more please read our privacy policy.

Address Lookup API

Fast and accurate address lookup

Postcoder provides a fast and accurate way for people to fill-in their address on your website and app. Reduce customer frustration and enhance data quality by adding address lookup to your form.

Trusted by leading organisations worldwide
  • NHS customer logo
  • SKY customer logo
  • Kentucky Fried Chicken customer logo
  • Royal National Lifeboat Institution customer logo
  • Kwik Fit customer logo
  • USwitch customer logo
  • Legal and General customer logo
Speed and accuracy

5x faster address completion with zero typos

Postcoder creates a streamlined and accurate address capture experience on your form by condensing five fields into one. This results in faster checkouts and addresses with no spelling mistakes.

Address autocomplete

Postcoder address autocomplete helps your customers by providing real-time suggestions as they're typing their address.

  • Enhanced UX on mobile devices
  • Includes coordinates
  • Works internationally
GET https://ws.postcoder.com/pcw/autocomplete/find?PCW45-12345-12345-1234X&query=123%20foxg&country=uk&format=json
[
	{
		"id": "10101010",
		"type": "ADD",
		"summaryline": "123 Foxglove Close",
		"locationsummary": "Weybourne, Holt, Norfolk, NR25 7HG",
		"count": 1
	},
	{
		"id": "20202020",
		"type": "ADD",
		"summaryline": "123 Foxglove Lane",
		"locationsummary": "Biddenden, Ashford, Kent, TN27 8BT",
		"count": 1
	},
	{
		"id": "30303030",
		"type": "ADD",
		"summaryline": "123 Foxglove Road",
		"locationsummary": "Winchburgh, Broxburn, West Lothian, EH52 6FE",
		"count": 1
	}
]

Postcode lookup

Postcoder postcode lookup makes it easy for your customers to fill-in their address on your form. They can simply enter a postcode, tap the button and select an address from the list.

  • Familiar customer experience
  • Includes coordinates
  • Works internationally
GET https://ws.postcoder.com/pcw/PCW45-12345-12345-1234X/address/uk/tn27%208bt?lines=2&format=json
[
	...
	...
	{
		"addressline1": "123 Foxglove Lane",
		"addressline2": "Biddenden",
		"summaryline": "123 Foxglove Lane, Biddenden, Ashford, Kent, TN27 8BT",
		"number": "123",
		"premise": "123",
		"street": "Foxglove Lane",
		"dependentlocality": "Biddenden",
		"posttown": "Ashford",
		"county": "Kent",
		"postcode": "TN27 8BT"
	}
	...
	...
]
Single ground truth

The most comprehensive address data in one API

Using advanced matching algorithms and data cleansing techniques, Postcoder links related information from multiple official sources to provide a detailed description of each address. The result is a unified view and single ground truth that you can rely on.

  • Postal addresses
  • Map coordinates
  • Updated daily

Postcode Address File (PAF)

Royal Mail's definitive UK address database.

Global data, global scale

Address lookup on a global scale

Postcoder delivers the scale you need for global commerce. Approaching 1 million requests per day, it delivers lightning quick response times and supreme reliability wherever your customers are based.

  • 244

    countries for address lookup

  • 700k+

    API requests per average day

  • 99.99%

    historical uptime

Designed for developers

An optimised developer experience

Get up and running with address lookup in minutes using the quick start guide, sample code and API docs.

  • Get started for free
  • Retain your existing form layout
  • Customise response fields and address lines
  • Get 100% free support over live chat, email and telephone
address.js
address.py
address.php
address.cs
// Prepare request
let url = `https://ws.postcoder.com/pcw/autocomplete/retrieve?apikey=${key}`;
// Retrieve address selected by user
url += `&id=${address_id}&query=${user_input}&country=${country_code}`;
// Fit address into 2 lines
url += `&lines=2`;
// Add extra fields
url += `&addtags=longitude,latitude`;
// Return JSON ♥
url += `&format=json`;
// Tag the request for easy reporting
url += `&identifier=checkout`;
GET https://ws.postcoder.com/pcw/autocomplete/retrieve?
apikey=PCW45-12345-12345-1234X&id=20202020&query=123%20foxg
&country=uk&lines=2&addtags=latitude,longitude
&format=json&identifier=checkout   
{
	"addressline1": "123 Foxglove Lane",
	"addressline2": "Biddenden",
	"summaryline": "123 Foxglove Lane, Biddenden, Ashford, Kent, TN27 8BT",
	"number": "123",
	"premise": "123",
	"street": "Foxglove Lane",
	"dependentlocality": "Biddenden",
	"posttown": "Ashford",
	"county": "Kent",
	"postcode": "TN27 8BT",
	"latitude": "51.1024521653",
	"longitude": "0.6645798746"
}
Simplified admin

Buy credits, check usage and configure security with ease

Use the feature-rich admin area to set up and manage your account. It is natively mobile and desktop-friendly so whether you're updating a setting on the go or doing a deep-dive at your desk, it will be the same seamless experience. It supports dark mode too.

Powerful customer stories

Postcoder is trusted by over 9,000 organisations of all sizes

Postcoder helps organisations in the UK and worldwide achieve measurable improvements in their form conversions and data quality. After integrating Postcoder, many of them report increased onboarding numbers, faster form completion, and a surge in quality leads. Postcoder captures contact details you can rely on.

We picked Postcoder because the API is simple to use and it supports many countries which we want to scale out to.

David Annez, Loveholidays