Skip to content

Postcodes.io

UK postcode locations and nearby postcodes

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 run

Example results

Ward
Not provided
County
Not provided
In Use
No
Parish
Not provided
Region
Not provided
Country
Not provided
Eastings
533,779
Latitude
51.508009
Postcode
E1W 1UU
Longitude
-0.073706
Northings
180,545
Page Link
postcodes.io
Year Retired
2,015
Local Council
Not provided
Parliamentary Constituency
Not provided
Health Board or Integrated Care Board
Not provided
Area Codes
Ward
Not provided
County
Not provided
Parish
Not provided
Local Council
Not provided
Integrated Care Board
Not provided
Parliamentary Constituency
Not provided
Example data · Run in Studio for fresh results.

Choose an action

About Postcodes.io

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 by Fous from postcodes.io and checked automatically; it last passed a check on Sep 29, 2026. Fous is not affiliated with Postcodes.io.

Actions

Get postcode

1 credit per run

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 per run

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

Run this workflow from your own code. In Studio, turn on Developer mode and create an API key.

cURL
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_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

Is Fous affiliated with Postcodes.io?

No. Fous is not affiliated with Postcodes.io. This workflow reads the public postcodes.io website and returns its data.

How much does it cost?

Each run costs 1 credit. 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; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check 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 workflowsBrowse all workflows