Open Nav

UK Address Search & Validation

A simple JSON API to query UK postcodes and addresses

The most up-to-date & accurate UK dataset available

Starts at 2.5p per lookup & open data is free

Sign Up Find out more
pricing

Simply Priced

Worry-free pricing with no hidden costs or lock-in. A flat, pay-as-you-go rate of 2.5p per lookup

ideal

Incredibly Accurate

Access the UK's most accurate and up-to-date address database from Royal Mail, updated daily

support

Well Supported

Integrate quickly with clear documentation, open-source libraries and live support from developers

Trusted by

Backed by simple API Methods

Postcode Lookup Address Search Autocomplete

Integrate postcode lookups with any form in moments

Demo HTML JavaScript
 1<!-- Add a div to house your 
 2     postcode input field -->
 3<div id="lookup_field"></div>
 4
 5<!-- This is your existing form -->
 6<label>Address Line One</label>
 7<input id="first_line" type="text" />
 8
 9<label>Address Line Two</label>
10<input id="second_line" type="text" />
11
12<label>Address Line Three</label>
13<input id="third_line" type="text" />
14
15<label>Post Town</label>
16<input id="post_town" type="text" />
17
18<label>Postcode</label>
19<input id="postcode" type="text" />
 1<script>
 2// Add this after your form
 3$('#lookup_field').setupPostcodeLookup({
 4  // Add your API key
 5  api_key: 'ak_hk71kco54zGSgVf9ExxRVVNmolLNh',
 6  // Identify your fields with CSS selectors
 7  output_fields: {
 8    line_1: '#first_line',  
 9    line_2: '#second_line',         
10    line_3: '#third_line',
11    post_town: '#post_town',
12    postcode: '#postcode'
13  }
14});
15</script>

Demonstrations limited to 15 lookups per IP, per day

Or integrate with address autocomplete

Demo HTML JavaScript
 1<input id="input" type="text" 
 2  placeholder="Search for an address with autocomplete" />
 3<!-- Create an input field to attach autocomplete -->
 4
 5<!-- Below are your existing input fields -->
 6<label>Address Line One</label> 
 7<input id="first_line" type="text" />
 8
 9<label>Address Line Two</label>
10<input id="second_line" type="text" />
11
12<label>Address Line Three</label>
13<input id="third_line" type="text" />
14
15<label>Post Town</label>
16<input id="post_town" type="text" />
17
18<label>Postcode</label>
19<input id="postcode" type="text" />
 1var controller = new IdealPostcodes.Autocomplete.Controller({
 2  api_key: "iddqd",
 3  inputField: "#input",
 4  outputFields: {
 5    line_1: "#first_line",
 6    line_2: "#second_line",
 7    line_3: "#third_line",
 8    post_town: "#post_town",
 9    postcode: "#postcode"
10  }
11});

Demonstrations limited to 15 lookups per IP, per day

users

1,000+ Clients and Growing

Our APIs provide addressing and location data for over 1,000 clients

processedrequest

Over 20,000,000 Requests Processed every 24 Hours

We handle over half a billion postcode and addressing requests across our APIs every month

addresses

Over 30 Million Addresses, 1,000's Updated Daily

Our data is updated everyday with up to 5,000 changes per day

Get up and running in moments

Sign up to get started with your free account