Skip to content

Postcodes.io

UK postcode locations and nearby postcodes

Back to tools

Postcodes.io provides UK postcode, location and administrative information; nearby postcode results include distance and coordinates, while retired postcodes lack administrative details.

Get postcode

Get the location and administrative details of a UK postcode, including whether it is still in use. Retired postcodes have limited records: administrative details are unavailable and returned as null.

Your information

UK postcode, with or without a space and in any letter case, for example SW1A 1AA.

1 credit per completed run

The same inputs also work from your code or an AI assistant. See For developers.

Example results

E1W 1UU

Currently in useNo
Year retired2,015

Administrative details

Location

Latitude
51.51
Longitude
-0.07371
Easting
533,779
Northing
180,545
View postcode record

Choose an action

About the Postcodes.io tool

Postcodes.io returns location, administrative, and in-use details for a UK postcode; enter the postcode.

List nearby postcodes returns nearby postcode locations and distances; enter a UK postcode or place name, with optional distance and result settings.

Built from postcodes.io. Last checked Sep 29, 2026.

Actions

Get postcode

1 credit

Get the location and administrative details of a UK postcode, including whether it is still in use. Retired postcodes have limited records: administrative details are unavailable and returned as null.

What you provide

FieldTypeRequiredDescription
PostcodepostcodeTextRequiredUK postcode, with or without a space and in any letter case, for example SW1A 1AA.Example: e1w1uu

What you get

FieldTypeDescription
WardwardTextAdministrative ward.Example: St James's
CountycountyTextAdministrative county, if applicable.
In Usein_useYes or noWhether the postcode is currently active.Example: No
ParishparishTextCivil parish or equivalent, if recorded.Example: Westminster, unparished area
RegionregionTextRegion, if available.Example: London
CountrycountryTextUK country.Example: England
EastingseastingsNumberBritish National Grid easting when provided.Example: 533779
LatitudelatitudeNumberLatitude in decimal degrees.Example: 51.508009
PostcodepostcodeTextPostcode with standard spacing and uppercase letters.Example: E1W 1UU
LongitudelongitudeNumberLongitude in decimal degrees.Example: -0.073706
NorthingsnorthingsNumberBritish National Grid northing when provided.Example: 180545
Page Linkpage_linkTextLink to the postcode record on Postcodes.io.Example: https://postcodes.io/terminated_postcodes/E1W1UU
Area Codesarea_codesDetailsOfficial area identifiers supplied for the postcode; null where unavailable.
Wardarea_codes.wardTextExample: E05013806
Countyarea_codes.countyText
Parisharea_codes.parishTextExample: E43000236
Local Councilarea_codes.local_councilTextExample: E09000033
Integrated Care Boardarea_codes.integrated_care_boardTextExample: E54000071
Parliamentary Constituencyarea_codes.parliamentary_constituencyTextExample: E14001172
Year Retiredyear_retiredNumberYear the postcode was retired, if known.Example: 2015
Local Councillocal_councilTextLocal authority or council area.Example: Westminster
Parliamentary Constituencyparliamentary_constituencyTextUK parliamentary constituency.Example: Cities of London and Westminster
Health Board or Integrated Care Boardhealth_board_or_integrated_care_boardTextIntegrated care board in England or the available health authority or board elsewhere.Example: NHS West and North London Integrated Care Board

Example result

For Postcode: e1w1uu

JSON
{
  "ward": null,
  "county": null,
  "in_use": false,
  "parish": null,
  "region": null,
  "country": null,
  "eastings": 533779,
  "latitude": 51.508009,
  "postcode": "E1W 1UU",
  "longitude": -0.073706,
  "northings": 180545,
  "page_link": "https://postcodes.io/terminated_postcodes/E1W1UU",
  "area_codes": {
    "ward": null,
    "county": null,
    "parish": null,
    "local_council": null,
    "integrated_care_board": null,
    "parliamentary_constituency": null
  },
  "year_retired": 2015,
  "local_council": null,
  "parliamentary_constituency": null,
  "health_board_or_integrated_care_board": null
}

List nearby postcodes

1 credit

List UK postcodes nearest to a postcode or named place, with distance, ward, council and coordinates. For places with the same name, a city or town is preferred.

What you provide

FieldTypeRequiredDescription
NearnearTextRequiredA UK postcode or place name, for example SW1A 1AA or Oxford.Example: SW1A 1AA
Max Resultsmax_resultsNumberOptionalMaximum number of nearest postcodes, for example 10.Example: 4
Radius (metres)radius_metresNumberOptionalMaximum distance in metres from the postcode or place, for example 1000.Example: 1000

What you get

FieldTypeDescription
PostcodespostcodesListPostcodes ordered nearest first.
Wardpostcodes[].wardTextExample: St James's
Latitudepostcodes[].latitudeNumberExample: 51.50101
Page URLpostcodes[].page_urlTextExample: https://postcodes.io/postcodes/SW1A%201AA
Postcodepostcodes[].postcodeTextExample: SW1A 1AA
Longitudepostcodes[].longitudeNumberExample: -0.141563
Local Councilpostcodes[].local_councilTextExample: Westminster
Distance (metres)postcodes[].distance_metresNumberExample: 0

Example result

For Near: SW1A 1AA

JSON
{
  "postcodes": [
    {
      "ward": "St James's",
      "latitude": 51.50101,
      "page_url": "https://postcodes.io/postcodes/SW1A%201AA",
      "postcode": "SW1A 1AA",
      "longitude": -0.141563,
      "local_council": "Westminster",
      "distance_metres": 0
    },
    {
      "ward": "St James's",
      "latitude": 51.499933,
      "page_url": "https://postcodes.io/postcodes/SW1E%206LA",
      "postcode": "SW1E 6LA",
      "longitude": -0.141117,
      "local_council": "Westminster",
      "distance_metres": 123.67233656624896
    },
    {
      "ward": "St James's",
      "latitude": 51.499738,
      "page_url": "https://postcodes.io/postcodes/SW1E%206AY",
      "postcode": "SW1E 6AY",
      "longitude": -0.140736,
      "local_council": "Westminster",
      "distance_metres": 152.5853742672548
    }
  ]
}

For developers

Call it from your code with one request. Change the values in input to run it on new data. To get an API key, open Developers at the bottom of Studio, turn on Developer mode and go to API keys.

cURL
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@postcodes-io",
  "visibility": "public",
  "operation": "get_postcode",
  "version": 1,
  "input": {
    "postcode": "e1w1uu"
  },
  "response": {
    "format": "json"
  }
}'

What you can do with it

  • Find a postcode’s coordinates and administrative areas
  • Check whether a postcode is still in use
  • Find postcodes near a place or postcode
  • Compare distances between nearby postcodes

Questions about Postcodes.io

Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

Can I call this Postcodes.io tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

Do I need a Postcodes.io account?

No. You only need a Fous account.

How current is the data?

Fous gets the data from postcodes.io when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

Where is a UK postcode located?

Get postcode returns latitude, longitude, and other location details for a supplied UK postcode.

Is a postcode currently in use?

Get postcode returns whether the supplied postcode is currently in use.

Which postcodes are nearest to a place?

List nearby postcodes returns postcodes ordered nearest first, with distance and location details.

All Maps toolsBrowse all tools