UK postcode data you can build on
The UK postcode lookup API, free to start
Clear Postcode turns any UK postcode into its council, ward, constituency, coordinates and more, in one call. 10,000 lookups a month free, a key in under a minute, no card.
- ✓ 1.7 million live postcodes, every GB district
- ✓ Keystrokes are free: you pay for answers
- ✓ MCP server for ChatGPT, Claude and Copilot
- ✓ Switch from postcodes.io by changing one URL
That is the live API: no key, no card. Try your own postcode.
- Status
- Live
- Council
- Westminster
- Ward
- St James's
- Constituency
- Cities of London and Westminster
- Region
- London
- Coordinates
- 51.50101, -0.141563
- Deprivation
- Decile 8 of 10
- Area type
- Urban: Nearer to a major town or city
GET /v1/postcodes/SW1A%201AA
{
"data": {
"postcode": "SW1A 1AA",
"status": "live",
"location": {
"latitude": 51.50101,
"longitude": -0.141563
},
"local_authority": {
"code": "E09000033",
"name": "Westminster"
},
"ward": {
"code": "E05013806",
"name": "St James's"
},
"constituency": {
"code": "E14001172",
"name": "Cities of London and Westminster"
},
"deprivation": {
"decile": 8,
"index": "English Indices of Deprivation 2025"
}
}
}1.7 million
live UK postcodes
2,800
postcode districts
905,000
retired postcodes, still answered
August 2026
ONS edition, next due November 2026
Clear Postcode, the UK postcode lookup API and postcode data service: 1.7 million live UK postcodes · nearly 2,900 postcode districts · ONS edition August 2026, checked 24 November 2026.
Five minutes to your first call
One request. Every answer about a postcode.
Send a postcode in any format, with or without the space. Get back clean JSON with GSS codes and names for every area it sits in.
- 1. Get a key. Enter your email; the link signs you in and shows your key.
- 2. Call the API. Copy a snippet in cURL, JavaScript, Python or PHP.
- 3. Ship it. Usage, keys and limits live in your dashboard.
What comes back
Everything you need to know about a postcode
Every area a postcode sits in, and the facts that matter, in one record. Field by field in the reference.
Council and ward
Local authority, ward, parish and county, with GSS codes
Constituency
Westminster constituency on the 2024 boundaries
Coordinates
Latitude, longitude, easting, northing and how precise they are
Live or terminated
When it started, when it ended, and the nearest live postcode
Deprivation
The area's deprivation rank and decile in its nation's index
Rural or urban
The 2021 rural-urban class of the area
Census areas
Output area, LSOA and MSOA for joining any census table
Police and NHS
Police force area, NHS region and integrated care board
Also: nearest postcodes, reverse geocoding, autocomplete, distance, bulk lookup of 100 at a time and place search.
Honest billing
Keystrokes are free. You pay for answers.
Every rival charges differently; we charge one way. One lookup is one postcode found and returned. Autocomplete, not-found, errors and cached answers cost nothing.
When your allowance runs out the API answers 402 with a link to more, so nothing is ever charged by surprise. You get an email at 80%.
Free
£0 for good
10,000 lookups a month
Starter
£9 a month
150,000 lookups a month
Pro
£29 a month
1,000,000 lookups a month
Business
£99 a month
5,000,000 lookups a month
Prices ex VAT. See every plan and pack.
For AI assistants
Postcode answers inside ChatGPT, Claude and Copilot
Our MCP server gives any assistant eight read-only tools: look up, validate, nearest, distance, areas, places, search and fetch. Connect it with one URL. No key needed to start.
Free postcode tools
Check a postcode in seconds
The same data, in tools anyone can use. No sign-up.
Postcode checker
Is it real, is it live, and where is it?
Postcode to council
Which council, ward and constituency.
Postcode finder
The postcode district for any town or village.
Distance calculator
Miles and kilometres between two postcodes.
Postcode map
See a postcode and its neighbours on a map.
Bulk postcode checker
Paste or upload a list and check it in the browser.
Browse every postcode: postcode areas A to Z, from AB10 to ZE3.
Full address lookup · early access
Every UK address, from Royal Mail's PAF
Address autocomplete and validation for checkouts and forms, on the Postcode Address File. Suggestions as your customer types are always free; you pay from 2.2p an address. Join the list and we'll switch it on for your key.
Questions
Postcode lookup API: what people ask
Is the postcode lookup API free?
Yes. Every account gets 10,000 postcode lookups a month free, for good, with every endpoint and every field. You get a key by email in under a minute and never enter a card. Paid plans start at £9 a month for 150,000 lookups.
What does one lookup cost me?
One lookup is one postcode we find and return. Autocomplete keystrokes, postcodes we can't find, errors and cached answers are free, so you only ever pay for answers.
Where does the data come from?
The ONS Postcode Directory (August 2026 edition), the official list of every UK postcode with its areas and coordinates, and OS Open Names for places. Both are open data under the Open Government Licence. We refresh every quarter; the next edition is due November 2026.
Do you cover Northern Ireland?
Northern Ireland (BT) postcodes are checked for format today and come back marked as outside our open-data coverage. Full Northern Ireland data arrives with full address lookup.
Can I look up full addresses?
Full UK address lookup on Royal Mail's Postcode Address File is in early access, from 2.2p an address, with suggestions as you type always free. Join the list and we'll switch it on for your key.
Can I move from postcodes.io?
Yes, by changing the base URL. Our compatibility endpoints answer in the postcodes.io response shape, with keys, usage tracking and extra fields such as deprivation decile and rural-urban class.
Does it work with ChatGPT, Claude and other AI assistants?
Yes. Our MCP server at https://api.clearpostcode.co.uk/mcp gives assistants eight read-only postcode tools. It works with no key, and a free key raises the allowance.