postio_
PRODUCTSPOSTCODE & ADDRESS LOOKUP
GET/address

Postcode & address lookup.

Type a postcode, pick the address. No more mistyped addresses.

Full Royal Mail PAF coverage. 30 million addresses, including organisations and multiple-residency. Synced nightly.

Royal Mail PAF · last update applied

GET/address/search
READY
?q=
API SANDBOX

Try it on a real postcode.

Type any UK address or postcode, pick a result, and see the exact JSON the API returns — every Royal Mail PAF field, live. Then copy the call in your language.

GET/address/search
200 OK
?q=
RESPONSE
{
  "success": true,
  "results": [
    {
      "address_line_1": "57 Wimpole Street",
      "building_number": "57",
      "country": "England",
      "delivery_point_suffix": "1Y",
      "district": "City of Westminster London Boro",
      "eastings": 528525,
      "latitude": 51.51922791,
      "longitude": -0.14898992,
      "northings": 181658,
      "post_town": "LONDON",
      "postcode": "W1G 8YW",
      "postcode_inward": "8YW",
      "postcode_outward": "W1G",
      "postcode_type": "S",
      "thoroughfare": "Wimpole Street",
      "udprn": 25742215,
      "ward": "Marylebone Ward"
    }
  ],
  "meta": {
    "countResults": 1
  }
}
// npm install @postio/node
import { Postio } from "@postio/node";

const postio = new Postio({ apiKey: process.env.POSTIO_API_KEY });

const hits = await postio.address.search("57 Wimpole Street, W1G 8YW");
const address = await postio.address.udprn(hits.results[0].udprn);
console.log(address.results[0]);
USE CASES

Where people use it.

Checkout autocomplete

Suggest addresses as users type a postcode — no more hand-typed Line 2 errors.

KYC / AML

Verify an applicant's address against the authoritative UK file at onboarding.

CRM hygiene

Normalise legacy customer records before a deliverability campaign.

Logistics

Route planning with UDPRN + lat/lng attached to every address.

RESPONSE SHAPE

Every field, documented.

The full field list is in the API reference. Here's the shape you'll be consuming.

FIELDTYPEEXAMPLE
udprnnumber25742215
postcodestring"W1G 8YW"
postcode_outwardstring"W1G"
postcode_inwardstring"8YW"
postcode_typestring"S"
address_line_1string"57 Wimpole Street"
address_line_2string—
address_line_3string—
post_townstring"LONDON"
organisation_namestring—
department_namestring—
building_namestring—
building_numberstring"57"
sub_building_namestring—
po_boxstring—
thoroughfarestring"Wimpole Street"
dependent_thoroughfarestring—
dependent_localitystring—
double_dependent_localitystring—
delivery_point_suffixstring"1Y"
countrystring"England"
districtstring"City of Westminster London Boro"
wardstring"Marylebone Ward"
latitudenumber51.51922791
longitudenumber-0.14898992
eastingsnumber528525
northingsnumber181658
QUESTIONS

Straight answers.

What is a UK address lookup API?

An API that turns a UK postcode or part of an address into a complete, structured Royal Mail PAF address. Send 57 Wimpole Street, W1G 8YW to GET /address/search, pick a suggestion, and resolve it to the full address as JSON with its UDPRN, post town, street and coordinates.

Where does the address data come from?

Royal Mail's Postcode Address File (PAF), including organisations and multiple-residency addresses. Postio is a licensed Royal Mail PAF Solutions Provider, and this page shows the date of the last PAF update applied.

What am I charged for?

Retrieving a full address, by postcode lookup or UDPRN lookup, charged on a result. Typing in an autocomplete is free however many keystrokes it takes, checking your key with /connect is free, and a search that finds nothing is free. The pricing page has the rate.

Is there a free trial?

Yes. Every account starts with 100 free lookups, with no card required. Get an API key and use them on the live data.

Is there a contract or a minimum spend?

There is no subscription, no monthly fee and no contract. You top up a balance, from £10, and draw it down per request, at one rate for every customer. Top-ups don't expire. Prices exclude VAT; see pricing.

What does a result look like?

Structured JSON with the Royal Mail PAF fields — UDPRN, address lines, building number, post town, postcode and country — plus latitude and longitude, and ONS district and ward. The sandbox on this page shows the exact JSON for any UK address or postcode you type, and the API reference documents each field.

Does it do address autocomplete?

Yes. Send what the user has typed so far to /address/search, show the matches, and fetch the full address when they pick one. The searches are free; you are charged when you take the address.

Which languages can I call it from?

It is a REST API returning JSON, so any language that can make an HTTP request. The sandbox on this page gives a copy-ready call in Node, Python, Go, PHP, Ruby and .NET, and the API reference covers every endpoint.

Ask Postio

Ready in under a minute.

Sign up, grab a key, paste it in. Your first hundred lookups are on us.