getaddress.co.uk

UK address lookup API

Every UK address, from a postcode.

Type a postcode and get every address at it: house numbers, flats, businesses, each one split into the fields your form needs. Add a house number and get just that one.

Addresses
32.5 million
Postcodes
1.8 million
Source
Royal Mail PAF, monthly

Or try

The demo allows one lookup every 30 seconds. API keys aren't limited like this.

Everything an address box needs

One small API for the address step in your forms. Fast enough to call as people type.

Postcode lookup

Every address at a postcode, in sensible order: 2 before 10, Flat 2 before Flat 10. Filter to residential or business.

Search as you type

Start typing a street and town and pick from the matches. Abbreviations like rd and ln just work.

House number shortcut

Type 40 BD10 9AX and get that one address. If there's no number 40, you get the whole postcode instead.

Ready for your form

Every address comes as a one-line label for dropdowns, plus organisation, building, lines 1–3, town, county and postcode.

Distance and radius

Send a postcode, a radius and a list of postcodes, and get back the ones in range, nearest first, with distances.

Keys locked to your sites

Each key only works from the domains you list, with its own rate limit, so a copied key is no use elsewhere.

A simple JSON API

One HTTPS request, one JSON answer. Send your key in a header, and call it from your server or from the browser on your own domains.

  • GET /v1/postcode/LS1 4AP: addresses at a postcode
  • GET /v1/postcode/40 BD10 9AX: one address
  • GET /v1/search?q=high st leeds: type-ahead
  • POST /v1/nearest: postcodes within a radius
curl https://mtapi.getaddress.co.uk/v1/postcode/40%20BD10%209AX \
  -H "X-Api-Key: $YOUR_KEY"

Royal Mail's own address list

The addresses come from the Royal Mail Postcode Address File (PAF): every address Royal Mail delivers to in the UK. We load each monthly release, so new-build streets show up soon after Royal Mail adds them.

Postcode locations and counties come from the ONS Postcode Directory, which is also where the distances are measured from.

32.5M
delivery addresses
1.8M
postcodes
990k
streets and localities
Monthly
updates, no downtime

Want an API key?

Tell us which sites you'll call it from and roughly how many lookups you expect, and we'll set you up.

hello@getaddress.co.uk