Cookie

Cookie consent

We use some essential cookies to make this website work. We'd like to set additional cookies to help us measure your experience when you view and interact with the website.

Cookie 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 international address lookup to your form. Supports 249 countries.

Address lookup
    • Summary 123 Foxglove Lane, Biddenden,
      Ashford, Kent, TN27 8BT
    • Address line 1 123 Foxglove Lane
    • Address line 2 Biddenden
    • Post town Ashford
    • County Kent
    • Postcode TN27 8BT
    • Country United Kingdom
    • Latitude 51.1024521653
    • Longitude 0.6645798746
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 or postcode.

  • Delivers instant as-you-type results
  • Provides an intuitive search experience
  • Includes worldwide address coverage
GET https://ws.postcoder.com/pcw/autocomplete/find?PCW45-12345-12345-1234X&query=123%20foxg&country=uk&format=json
[
	{
		"id": "20202020",
		"type": "ADD",
		"summaryline": "123 Foxglove Lane",
		"locationsummary": "Biddenden, Ashford, Kent, TN27 8BT",
		"count": 1
	},
	{
		"id": "10101010",
		"type": "ADD",
		"summaryline": "123 Foxglove Park",
		"locationsummary": "Weybourne, Holt, Norfolk, NR25 7HG",
		"count": 1
	},
	{
		"id": "30303030",
		"type": "ADD",
		"summaryline": "123 Foxglove Road",
		"locationsummary": "Winchburgh, Broxburn, West Lothian, EH52 6FE",
		"count": 1
	}
]

Address and postcode lookup

Postcoder makes it easy for your customers to fill in their address using their postcode or the key parts of their address.

  • Accepts postcodes and partial addresses
  • Uses a single API call
  • Includes worldwide address coverage
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.

  • 249

    countries for address lookup

  • 700k+

    API requests per average day

  • 99.99%

    historical uptime

Highly rated by customers

An award-winning API with top-tier performance, easy admin and great support

Customers love Postcoder according to independent user reviews on the world's most trusted software marketplace. Start a free trial and find out what you've been missing.

Simple, straightforward and easy to integrate

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